Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .codespell-ignore-words
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ blocs
renewl
frop
fpr
ue
statics
Rin
anly
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,51 @@ jobs:
cat warnings.txt
export return=$(tail -n 1 warnings.txt | awk '{print $2}')
exit ${return}
NSCBC-Driver:
needs: Formatting
runs-on: ubuntu-24.04
steps:
- name: Clone
uses: actions/checkout@v6
with:
submodules: 'recursive'
- name: Build AMReX 1D
run: |
cmake -S Submodules/PelePhysics/Submodules/amrex -B ${{runner.temp}}/amrex1d-build \
-DCMAKE_INSTALL_PREFIX=${{runner.temp}}/amrex1d \
-DAMReX_SPACEDIM=1 -DAMReX_MPI=OFF -DAMReX_OMP=OFF -DAMReX_FORTRAN=OFF \
-DAMReX_PARTICLES=OFF -DAMReX_EB=OFF -DAMReX_PLOTFILE_TOOLS=OFF \
-DCMAKE_BUILD_TYPE=Release
cmake --build ${{runner.temp}}/amrex1d-build -j $(nproc) --target install
- name: Driver, air
working-directory: ./Verification/NSCBC1D
run: |
cmake -S . -B build_air -DAMReX_DIR=${{runner.temp}}/amrex1d/lib/cmake/AMReX \
-DCMAKE_BUILD_TYPE=Release
cmake --build build_air -j $(nproc)
./build_air/nscbc1d
- name: Driver, LiDryer (reacting)
working-directory: ./Verification/NSCBC1D
run: |
cmake -S . -B build_lidryer -DAMReX_DIR=${{runner.temp}}/amrex1d/lib/cmake/AMReX \
-DPELE_MECHANISM=LiDryer -DCMAKE_BUILD_TYPE=Release
cmake --build build_lidryer -j $(nproc)
./build_lidryer/nscbc1d
- name: Driver, passive scalars
working-directory: ./Verification/NSCBC1D
run: |
cmake -S . -B build_adv -DAMReX_DIR=${{runner.temp}}/amrex1d/lib/cmake/AMReX \
-DPELE_NUM_ADV=2 -DCMAKE_BUILD_TYPE=Release
cmake --build build_adv -j $(nproc)
./build_adv/nscbc1d
- name: Driver, SRK real gas (static checks)
working-directory: ./Verification/NSCBC1D
run: |
cmake -S . -B build_srk -DAMReX_DIR=${{runner.temp}}/amrex1d/lib/cmake/AMReX \
-DPELE_MECHANISM=LiDryer -DPELE_EOS=SRK -DCMAKE_BUILD_TYPE=Release
cmake --build build_srk -j $(nproc)
./build_srk/nscbc1d

CPU-CMake:
needs: Formatting
runs-on: ${{matrix.os}}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ Docs/sphinx/doctrees/
Docs/sphinx_doc/

__pycache__
build*/
9 changes: 6 additions & 3 deletions Exec/RegTests/MMS/mms-4.inp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ amr.n_cell = 16 16 16
pelec.lo_bc = "FOExtrap" "NoSlipWall" "Hard"
pelec.hi_bc = "Hard" "NoSlipWall" "FOExtrap"

# We should not have NSCBC turned on for this test case
pelec.nscbc_adv = 0
pelec.nscbc_diff = 0
# NOTE: this case must keep its "Hard" faces as exact Dirichlet faces -- the
# manufactured solution is imposed there and any characteristic relaxation of
# the boundary state would invalidate the convergence test. It therefore must
# NOT enable the characteristic (NSCBC) boundary treatment. (This used to be
# spelled pelec.nscbc_adv = 0 / pelec.nscbc_diff = 0, which had no effect; both
# keys have been removed.)

# WHICH PHYSICS
pelec.do_hydro = 1
Expand Down
Loading
Loading