dynamically adjust AMR subcycling to stay within CFL #2806
-
I'm having a problem with stability in very strong shocks/rarefactions when there are several (>4) AMR levels. It looks like the CFL constraint is violated at the finest AMR levels because the CFL-stable timestep has become smaller over a coarse step. Since the timestep for each level is only computed at the beginning of the coarse step, this leads to catastrophic instabilities on the finest levels later in a coarse step. Is there any way to adjust the subcycling factors dynamically as the coarse step progresses -- an example of what I mean is here: https://github.com/applied-numerical-algorithms-group-lbnl/Chombo_3.2/blob/master/lib/src/AMRTimeDependent/AMR.cpp#L1063. The equivalent function in AMReX's AMR class doesn't seem to do this, but I want to check if it's implemented somewhere else and I missed it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you subcyle in that funciton, will that work? |
Beta Was this translation helpful? Give feedback.
AmrLevel
has a virtual function