Skip to content

Self-Gravitating Slab Advection#115

Merged
adamdempsey90 merged 3 commits intodevelopfrom
pdmullen/grav_slab
Mar 16, 2026
Merged

Self-Gravitating Slab Advection#115
adamdempsey90 merged 3 commits intodevelopfrom
pdmullen/grav_slab

Conversation

@pdmullen
Copy link
Copy Markdown
Collaborator

Background

The self-gravity module needed more quantitative testing (e.g., convergence analysis). This PR attempts to address this via an additional test.

Description of Changes

Adds the Hanawa & Mullen (2025) self-gravitating slab advection test ProblemGenerator. Additionally enrolls it as a regression test in the CI framework.

Checklist

  • New features are documented
  • Tests added for bug fixes and new features
  • (@lanl.gov employees) Update copyright on changed files
  • Any contribution that was created or modified with the assistance of generative AI must have a comment disclosing this such as // This file was created in part or in whole by generative AI

@pdmullen pdmullen changed the title Pdmullen/grav slab Self-Gravitating Slab Advection Mar 10, 2026
Comment on lines +40 to +56
nx1 = 128 # Number of zones in X1-direction
x1min = 0.0 # minimum value of X1
x1max = 18.84955592153876 # maximum value of X1
ix1_bc = periodic # Inner-X1 boundary condition flag
ox1_bc = periodic # Outer-X1 boundary condition flag

nx2 = 64 # Number of zones in X2-direction
x2min = 0.0 # minimum value of X2
x2max = 9.424777960769380 # maximum value of X2
ix2_bc = periodic # Inner-X2 boundary condition flag
ox2_bc = periodic # Outer-X2 boundary condition flag

nx3 = 64 # Number of zones in X3-direction
x3min = 0.0 # minimum value of X3
x3max = 9.424777960769380 # maximum value of X3
ix3_bc = periodic # Inner-X3 boundary condition flag
ox3_bc = periodic # Outer-X3 boundary condition flag
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

formatting

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Addressed in 668dd1f.

Comment thread inputs/self-gravity/grav_slab.in Outdated
Comment thread inputs/self-gravity/grav_slab.in Outdated
@adamdempsey90 adamdempsey90 merged commit 79cb86c into develop Mar 16, 2026
6 checks passed
@adamdempsey90 adamdempsey90 deleted the pdmullen/grav_slab branch March 16, 2026 13:35
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