Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to do 2D Burgers hyperreduction? #48

Open
gokhalen opened this issue Feb 7, 2023 · 2 comments
Open

how to do 2D Burgers hyperreduction? #48

gokhalen opened this issue Feb 7, 2023 · 2 comments

Comments

@gokhalen
Copy link

gokhalen commented Feb 7, 2023

I've been able to install pressio-tutorials and I'm able to run 2D SWE: hyper-reduced LSPG

https://pressio.github.io/pressio-tutorials/endtoend/swe_lspg_hypred_1.html

I've been able to install pressio-demoapps and I've been able to run the 2d Burgers' code

https://pressio.github.io/pressio-demoapps/burgers_2d_periodic.html

How would I go about doing hyper-reduction for 2D Burgers? Do I just need a new workflow file? Or, do I need to modify the driver files (wf_foms.py etc) residing in the following directory?

https://github.com/Pressio/pressio-tutorials/tree/develop/end-to-end-roms

Or, is there something else I need to do?

Thanks,

Nachiket

@fnrizzi
Copy link
Member

fnrizzi commented Feb 10, 2023

yes, you have to add a custmozation for that inside https://github.com/Pressio/pressio-tutorials/tree/develop/end-to-end-roms
look at the one existing for the SWE: https://github.com/Pressio/pressio-tutorials/blob/develop/end-to-end-roms/2d_swe_customizations/__init__.py

If you add: 2d_burgers_periodic_customizations and put an init.py inside and edit it properly, then all you need is that I think.
You want to give it a try and if successful post a pull request for it?

@gokhalen
Copy link
Author

I will try. I'm not sure about the pull request because I am not sure about my organization's policies towards open source contributions. I will try to check.

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

No branches or pull requests

2 participants