Skip to content

Fix issue #267: abort when the c/f boundary crosses the EB; refine cu… - #269

Open
asalmgren wants to merge 2 commits into
AMReX-Fluids:developmentfrom
asalmgren:fix-issue-267
Open

asalmgren wants to merge 2 commits into
AMReX-Fluids:developmentfrom
asalmgren:fix-issue-267

Conversation

@asalmgren

Copy link
Copy Markdown
Contributor

…t cells in shock decks

AMReX's MLNodeLaplacian does not support a multilevel nodal solve whose coarse/fine boundary crosses an EB body (AMReX-Codes/amrex#6069); MLMG diverges. Add Projection::checkCoarseFineBoundaryEB, called from doMLMGNodalProjection for composite (nlevel > 1) solves, which aborts with a message pointing at the grids if any cut or covered fine cell touches the coarse/fine boundary.

Change regtest.2d.shock_past_cylinder and regtest.3d.shock_past_sphere to refine on cut cells (ns.refine_cutcells = 1) instead of a fixed box that bisected the body, so both decks run again.

Closes #267

…B; refine cut cells in shock decks

AMReX's MLNodeLaplacian does not support a multilevel nodal solve whose
coarse/fine boundary crosses an EB body (AMReX-Codes/amrex#6069); MLMG
diverges. Add Projection::checkCoarseFineBoundaryEB, called from
doMLMGNodalProjection for composite (nlevel > 1) solves, which aborts with
a message pointing at the grids if any cut or covered fine cell touches
the coarse/fine boundary.

Change regtest.2d.shock_past_cylinder and regtest.3d.shock_past_sphere to
refine on cut cells (ns.refine_cutcells = 1) instead of a fixed box that
bisected the body, so both decks run again.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants