Skip to content
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

BCType::foextrap as default for (density, BC::slip_wall) combination when advection_type == "BDS" #113

Merged
merged 3 commits into from
Aug 2, 2024

Conversation

siddanib
Copy link
Contributor

@siddanib siddanib commented Jul 31, 2024

Making BCType::foextrap as the default type for density and tracer at BC::slip_wall boundary only when advection_type == "BDS". Also made a minor change in docs (src/boundary_conditions/README.org) for (scalar/density, sw) combination.

@ajnonaka
Copy link
Contributor

ajnonaka commented Aug 1, 2024

Hold off on merging - we should consider making all scalars operate the same way.

Comment on lines 7 to 9
| rho | foextrap | foextrap | ext_dir | foextrap | if (advection_type == "BDS") foextrap |
| | | | | | else hoextrap |
| scalar | foextrap | foextrap | ext_dir | foextrap | hoextrap |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| rho | foextrap | foextrap | ext_dir | foextrap | if (advection_type == "BDS") foextrap |
| | | | | | else hoextrap |
| scalar | foextrap | foextrap | ext_dir | foextrap | hoextrap |
| rho | foextrap | foextrap | ext_dir | foextrap | if (advection_type == "BDS") foextrap |
| | | | | | else hoextrap |
| scalar | foextrap | foextrap | ext_dir | foextrap | if (advection_type == "BDS") foextrap |
| | | | | | else hoextrap |

Copy link
Contributor

@ajnonaka ajnonaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks Bhargav! Let me try running the CI suite before merging.

@siddanib
Copy link
Contributor Author

siddanib commented Aug 1, 2024

Thank you for the suggestions, Andy (@ajnonaka)! I believe I might have to rebase based on #114 to pass all the checks.

@cgilet
Copy link
Collaborator

cgilet commented Aug 1, 2024

The velocity uses hoextrap for the tangential components for slip wall. Would that also be incorrect with BDS?

@ajnonaka
Copy link
Contributor

ajnonaka commented Aug 1, 2024

hoextrap for BDS + velocity is fine - we don't have local min/max constraints.

@ajnonaka ajnonaka merged commit 45a3521 into AMReX-Fluids:development Aug 2, 2024
16 checks passed
@siddanib siddanib deleted the bds_rho_sw_default branch August 2, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants