Skip to content

Add no hyper reduction mode to Mixed Nonlinear Diffusion#321

Merged
axla-io merged 2 commits into
masterfrom
al/no-hyp-cli
May 14, 2026
Merged

Add no hyper reduction mode to Mixed Nonlinear Diffusion#321
axla-io merged 2 commits into
masterfrom
al/no-hyp-cli

Conversation

@axla-io
Copy link
Copy Markdown
Collaborator

@axla-io axla-io commented May 13, 2026

This PR adds a no hyper reduction mode for Mixed Nonlinear Diffusion with a command line argument, similar to the nonlinear elasticity example. It also adds some small performance improvements and guardrails for no hyper reduction mode in nonlinear elasticity.

Reproductive example for mixed nonlinear diffusion (has been tested for predictive example too)

# Offline phase:
./mixed_nonlinear_diffusion -p 1 -offline -id 0 -sh 0.2

# Merge phase:
./mixed_nonlinear_diffusion -p 1 -merge -ns 1

# Comparison data:
./mixed_nonlinear_diffusion -p 1 -offline -id 1 -sh 0.2

# Online phase:
./mixed_nonlinear_diffusion -online -rrdim 16 -rwdim 16 -p 1 -sh 0.2 -no-hyp

./mixed_nonlinear_diffusion -online -rrdim 16 -rwdim 16 -p 1 -sh 0.2 -nldim 2 -hrtype deim

Reproductive example for nonlinear elasticity (has been tested for predictive example too)

# Offline phase:
./nonlinear_elasticity_global_rom -offline -dt 0.01 -tf 5.0 -s 14 -vs 100 -sc 1.0 -id 0

# Merge phase:
./nonlinear_elasticity_global_rom -merge -ns 1 -dt 0.01 -tf 5.0

# Comparison data:
./nonlinear_elasticity_global_rom -offline -dt 0.01 -tf 5.0 -s 14 -vs 100 -sc 1.0 -id 1

# Online phase:
./nonlinear_elasticity_global_rom -online -dt 0.01 -tf 5.0 -s 14 -vs 100 -no-hyp -rvdim 40 -rxdim 10 -sc 1.0
./nonlinear_elasticity_global_rom -online -dt 0.01 -tf 5.0 -s 14 -vs 100 -hyp -hrtype qdeim -rvdim 40 -rxdim 10 -hdim 71 -nsr 100 -sc 1.0

@axla-io axla-io merged commit 4de3620 into master May 14, 2026
4 checks passed
@axla-io axla-io deleted the al/no-hyp-cli branch May 14, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants