Skip to content

Conversation

@ckendrick
Copy link
Collaborator

@ckendrick ckendrick commented Dec 28, 2023

This adds a global pROM example for the grad-div problem based on MFEM example 4.

Simple example:

./grad_div_global_rom -offline -f 1.0 -id 0
./grad_div_global_rom -offline -f 1.1 -id 1
./grad_div_global_rom -offline -f 1.2 -id 2
./grad_div_global_rom -merge -ns 3
./grad_div_global_rom -fom -f 1.15
./grad_div_global_rom -online -f 1.15

Larger example:

./grad_div_global_rom -offline -f 1.0 -id 0
./grad_div_global_rom -offline -f 1.05 -id 1
./grad_div_global_rom -offline -f 1.1 -id 2
./grad_div_global_rom -offline -f 1.2 -id 3
./grad_div_global_rom -offline -f 1.25 -id 4
./grad_div_global_rom -offline -f 1.30 -id 5
./grad_div_global_rom -merge -ns 6
./grad_div_global_rom -fom -f 1.15 -visit
./grad_div_global_rom -online -f 1.15 -visit

Sample output of larger example (ROM):

#   || F_h - F ||_{L^2} = 0.0384618
#   Relative error of ROM solution = 1.72027e-07
#   Elapsed time for assembling ROM: 6.465071e-02 second
#   Elapsed time for solving ROM: 9.590000e-07 second

Copy link
Collaborator

@chldkdtn chldkdtn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@ckendrick ckendrick added the RFR Ready for review label Jan 2, 2024
@ckendrick ckendrick force-pushed the grad_div_global_prom branch from 998ad0b to 1d4e40e Compare January 10, 2024 15:50
@ckendrick ckendrick merged commit b3d9c5b into master Jan 10, 2024
@ckendrick ckendrick deleted the grad_div_global_prom branch January 10, 2024 17:40
andersonw1 pushed a commit that referenced this pull request Apr 2, 2024
* Add initial global pROM for grad-div problem

* Updates to grad-div example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants