-
Notifications
You must be signed in to change notification settings - Fork 127
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
Use a uniform convention for boundary condition input parameters #534
Comments
ix1_rad_bc is not used anymore. Radiation shares the same boundary flag as hydro. If we want to use different boundary for hydro and radiation, then just use user defined boundary flag |
(1) To take a step back, it is clear that we definitely want the functionality of setting different BCs on different physics. (2) As @yanfeij mentions, this can of course be handled via a user-defined boundary condition. (3) Future extensions could consider enabling boundary condition specification for individual physics inside the input file (thereby eliminating the need to write a user-defined boundary condition for some problem configurations). (4) Despite (1) -- (3), I would argue that it is still a bit confusing to set BCs for
Correct. However, one could imagine extensions to FFT gravity (i.e., James' algorithm) that enable open BCs. Would those then be set in My initial reaction to this was triggered by the existence of a |
These are all great questions that deserve a longer discussion from more stakeholders. We can change things after merging #492 without breaking too much. I agree we should at least decide on a consistent input file organization. I would lean to keeping @yanfeij, just to be clear, |
Yes, ix1_rad_bc etc. are not used anywhere.
…On Sat, Jul 8, 2023 at 7:05 AM Kyle Gerard Felker ***@***.***> wrote:
These are all great questions that deserve a longer discussion from more
stakeholders. We can change things after merging #492
<#492> without breaking
too much.
I agree we should at least decide on a consistent input file organization.
I would lean to keeping mesh/ix1_bc be the fluid boundary condition, and
any other BC-related input flags stuck in <grav>, <radiation>, <particles>
...
@yanfeij <https://github.com/yanfeij>, just to be clear, ix1_rad_bc etc.
are no longer anywhere in the pull request, right?
—
Reply to this email directly, view it on GitHub
<#534 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCWEJ55BOPB7FDCCS4MQCLXPCI3HANCNFSM6AAAAAA2BKX3DY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Best,
Yan-Fei Jiang
Associate Research Scientist,
Flatiron Institute,
160 Fifth Avenue
New York, NY 10010
|
Following up on #492, specifically #492 (comment)
@pdmullen are you suggesting that we add even more BC flags, too? And change
mesh/ix1_rad_bc
toradiation/ix1_bc
? FFT gravity boundary conditions are always periodic, right?The text was updated successfully, but these errors were encountered: