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

Add mixed bc and update docs #89

Merged
merged 57 commits into from
Mar 15, 2024
Merged

Conversation

cgilet
Copy link
Collaborator

@cgilet cgilet commented Mar 11, 2024

depends on Hydro pr 126

cgilet added 30 commits January 15, 2024 14:10
and half flows in one direction and the other half the opposite dir
	renamed:    incflo_set_velocity_bcs.cpp -> incflo_set_bcs.cpp
	renamed:    incflo_set_velocity_bcs.cpp -> incflo_set_bcs.cpp
PhysBCFunct, which we use to set the inflow bcs during FillPatch.
 Conflicts:
	src/boundary_conditions/incflo_set_bcs.cpp
	src/incflo.H
	src/prob/prob_bc.cpp
the appropriate setup in inputs.split).
advection not working (hacked to get umac to project)
not in any way elegantly coded
Also requires minor update in AMReX-Hydro to pass through robin BC
for MAC projector
necessary and can lead to false problems in the InitialProj when
running debug
add mixed BCs. Ultimately, the different pieces need the BC info
in slightly different ways, so just make it on the spot.
either 0 or 1 only. MLMG does use an overset mask as a boolean,
but internally it creates that mask from 1-(mask passed in).

Also includes minor clean up, comment improvement
is nodal type.

This shouldn't change any results, just fixes things for debug.
bcs as ext_dir.

This shouldn't change results; the error of filling all the mixed
boundry face as ext_dir doesn't matter because the overset mask
overrides the incorrect portion.
@cgilet cgilet requested a review from asalmgren March 11, 2024 18:43
@cgilet cgilet merged commit e78cd29 into AMReX-Fluids:development Mar 15, 2024
15 checks passed
siddanib pushed a commit to siddanib/incflo that referenced this pull request Apr 2, 2024
This allows inflow and outflow on the same domain face, where the Dirichlet and Neumann regions are separated by an EB.
Depends on Hydro pr 126 and AMReX PR 3788
@cgilet cgilet deleted the mixedBC branch June 19, 2024 10:40
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.

2 participants