Skip to content

Fix issues #221, #223, #225, #228, #231, #232, #234, #235, #237, #238… - #257

Merged
asalmgren merged 1 commit into
AMReX-Fluids:developmentfrom
asalmgren:fix_issues_221_248
Oct 8, 2026
Merged

asalmgren merged 1 commit into
AMReX-Fluids:developmentfrom
asalmgren:fix_issues_221_248

Conversation

@asalmgren

@asalmgren asalmgren commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Closes #221
Closes #223
Closes #225
Closes #228
Closes #231
Closes #232
Closes #234
Closes #235
Closes #237
Closes #238
Closes #242
Closes #247
Closes #248

Correctness

BC / AMR sync

EB

Inputs / diagnostics

Testing

Builds clean: 2D, 3D, 2D+EB, 3D+EB, 2D+particles, Util/ConvertCheckpoint, Tutorials/TaylorGreen/benchmarks.

🤖 Generated with Claude Code

…X-Fluids#228, AMReX-Fluids#231, AMReX-Fluids#232, AMReX-Fluids#234, AMReX-Fluids#235, AMReX-Fluids#237, AMReX-Fluids#238, AMReX-Fluids#242, AMReX-Fluids#247, AMReX-Fluids#248

AMReX-Fluids#248 ViscBench: fill plotfile components by name rather than by position,
     so a plotfile written with a different amr.plot_vars ordering still
     gives the right error norms.

AMReX-Fluids#247 ConvertCheckpointGrids: extrapolate into the ghost cells that the
     periodic FillBoundary does not reach (coarse-fine and non-periodic
     physical boundaries), which otherwise still held the setVal(10.)
     sentinel when the interpolation slopes were computed. Also build the
     target MultiFabs on the source DistributionMapping, since the loops
     index source and target through a single MFIter.

AMReX-Fluids#234 prob_initData: read prob.velocity_factor only for probtype 11, and
     reset IC.v_x first so prob.velocity_ic can neither be overwritten by
     it nor stand in for it.

AMReX-Fluids#235 Projection::set_outflow_bcs: abort unconditionally on a level that
     only partially covers an outflow face, instead of only asserting in
     a debug build.

AMReX-Fluids#232 Initialize_bcs: range-check the integer ns.lo_bc/ns.hi_bc path; the
     values index the six-entry tables in NS_BC.H.

AMReX-Fluids#231 Drop the stale derive name diveru from the tutorial inputs files.

AMReX-Fluids#228 NavierStokes::Initialize: read ns.set_plot_coveredCell_val, which was
     documented but never queried.

AMReX-Fluids#223 post_timestep_particle: validate particles.timestamp_indices against
     NUM_STATE at first use.

AMReX-Fluids#221 Remove the unused umacFill functor and its stale comment.

AMReX-Fluids#237 mlmg_mac_solve: register the coarse/fine ratio on every level above 0,
     not only when a coarse phi is supplied; the sync solve passes null and
     MLMG was falling back to a ratio of 2.

AMReX-Fluids#238 Remove MacProj::set_outflow_bcs, which only rewrote zeros that
     mac_project had just set but could still abort with "Cannot yet handle
     partially refined outflow", together with grids_on_side_of_domain, the
     then-unused have_divu argument and the mac_proj.do_outflow_bcs key.

AMReX-Fluids#242 calc_mut_LES: zero the velocity-gradient FluxBoxes before
     compVelGrad, which skips covered FABs.

AMReX-Fluids#225 set_state_in_checkpoint: correct the abort text -- the flags must mark
     exactly the missing state types.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@asalmgren
asalmgren requested review from WeiqunZhang and jbbel October 8, 2026 00:49
@asalmgren
asalmgren merged commit b0e096c into AMReX-Fluids:development Oct 8, 2026
12 checks passed
@asalmgren
asalmgren deleted the fix_issues_221_248 branch October 8, 2026 02:21
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.

variableSetUp: five shipped decks request the derived variable diveru, which no longer exists and is silently dropped from the plotfiles set_plot_coveredCell_val: documented as an ns. input but never read from ParmParse set_state_in_checkpoint: the abort text tells the user to "try setting both to 0", which corrupts the restart when only one state type is missing post_timestep_particle: particles.timestamp_indices is never range-checked, so an entry >= NUM_STATE reads past the state FAB umacFill: unused fill functor in NavierStokesBase.cpp with a stale comment about u_mac BCs

1 participant