Pressio / pressio4py

Python bindings to pressio
Other
10 stars 0 forks source link

miniapp with multiple fields #16

Open fnrizzi opened 3 years ago

fnrizzi commented 3 years ago

We need a miniapp, similar to the adv-diffusion, that has multiple fields. For example we use the adv-diffusion to evolve multiple concentrations. This is needed to test/show the tensor galerkin formulation.

jtencer commented 3 years ago

Would a 2nd order wave equation where we track both the displacement and velocity as separate fields work for this?

fnrizzi commented 3 years ago

I think so! Basically anything where we evolve multiple quantities. Also, it only works for explicit Galerkin

fnrizzi commented 3 years ago

@jtencer see this test: https://github.com/Pressio/pressio4py/blob/master/regression_tests/unsteady_galerkin_multifield_correctness/test_unsteady_galerkin_multifield_correctness.py

jtencer commented 3 years ago

I have a little python app that does this using explicit timestepping.