-
Notifications
You must be signed in to change notification settings - Fork 26
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
Missing diffusive fluxes in FOFC #392
Comments
In GitLab by @changgoo1 on Jan 20, 2023, 09:51 In Athena++, it was pretty straightforward as it keeps diffusive fluxes in separate arrays. It seems that this is not the case here. I feel that creating inline functions for single state diffusive fluxes may be one way to solve this. |
In GitLab by @pdmullen on Jan 20, 2023, 10:01 Nice catch! What if we moved
to after the FOFC call? If we elected for this option, then diffusive fluxes would not inform the FOFC prediction (only the standard non-diffusive fluxes would). As a point of comparison: in GRMHD, we do not include coordinate source terms in the prediction of whether a cell will be floored or not. |
In GitLab by @changgoo1 on Jan 20, 2023, 10:05 Yes, that can be an option. The current FOFC prediction is anyway not the perfect prediction as it misses a few source terms. |
In GitLab by @changgoo1 on Jan 20, 2023, 09:43
In
Hydro::FOFC
andMHD::FOFC
, the fluxes of a cell that hits floors are replaced. When diffusion processes are turned on, the original fluxes include the fluxes from the diffusion processes. So, this has to be added back for consistency.The text was updated successfully, but these errors were encountered: