Open inducer opened 2 years ago
Discussed possible unit mismatch in https://github.com/illinois-ceesd/mirgecom/blob/9b19b749de2c7d099f4cd5aee67727eda8349225/mirgecom/viscous.py#L370-L373
(7.32) in JSH/TW
JSH/TW make assumptions about the kinematic viscosity and thermal conductivity that make their NS not like ours. They assume kinematic viscosity is independent of density, and neglect thermal diffusion. That make their formula OK for their use - but in our case we need to use the actual kinematic viscosity. Corrected in #615.
Now to cover it with some tests.
Edit: Previous verification test fixed up for change set in #615. Per in-person discussions, we'll add and document some offline integrated tests to show that the stability limits are reasonably estimated.
Re: Validation for our timestep estimation.....
Using the /examples/poiseuille-mpi.py
, a good example of a single gas CNS problem, we can see that the solution diverges within a few hundred steps for CFL > ~.3. Two inviscid examples, vortex-mpi.py
and pulse-mpi.py
run stably up to CFL = ~.6.
We'll add a blurb to the documentation about guidelines for selecting time-step size, citing these examples. We should add some mixture examples, and some verbiage about some of the pertinent dimensionless flow characterization numbers that one can use to estimate the limits for given problems.
Possibly connected to/root cause of #613.
cc @MTCam @lukeolson @jbfreund