Parse for adv_redist_type and diff_redist_type#417
Parse for adv_redist_type and diff_redist_type#417baperry2 merged 1 commit intoAMReX-Combustion:developmentfrom
Conversation
baperry2
left a comment
There was a problem hiding this comment.
Thanks for adding this!
|
For posterity sake to remember the purpose of this: with isothermal EB, or potentially other EB cases, the chi_correction in the SDC iterations was not converging. This was because the redistribution process is arbitrary and does not enforce that RhoRT is maintained in the redistribution. We do a lot of work to ensure that the MAC velocity field divergence will result in constant RhoRT, then throw that away by applying redistribution to scalar advection. @dmontgomeryNREL found that turning off advection redistribution resolved our problems and did not lead to instability. |
|
Case setup: These plots demonstrate the effect of turning off flux redistribution for advection. The first plot is from a divergent simulation that resulted in NaN's with advective fluxes treated with state redistribution. The second is from a simulation where the redistribution is turned off for the advective fluxes. |



Added the ability to change the redistribution type for advection and diffusion by parsing input files.