Skip to content
Open
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
35 changes: 23 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,36 +52,47 @@ jobs:
make fdeps && git diff --exit-code
make -j
make install
- name: Test
- name: Primary Test (C2001 case 0; Chebyshev)
run: |

#Primary test (Chebyshev Mode)
cd "$GITHUB_WORKSPACE"/tests/c2001_case0
mpirun -np 4 ../../bin/rayleigh.dbg

# Finite-difference test (uniform grid)
- name: Finite-difference Test (C2001 case 0; FD, uniform grid)
run: |
#Finite-difference test (uniform grid)
cd "$GITHUB_WORKSPACE"/tests/c2001_case0_FD_uniform
mpirun -np 4 ../../bin/rayleigh.dbg

# J2011 steady hydro test
# cd "$GITHUB_WORKSPACE"/tests/j2011_steady_hydro_minimal
# mpirun -np 4 ../../bin/rayleigh.dbg

# J2011 steady mhd test
# cd "$GITHUB_WORKSPACE"/tests/j2011_steady_mhd_minimal
# mpirun -np 4 ../../bin/rayleigh.dbg

# Generic input test
- name: Anelastic Test (C2001 case 0; Chebyshev)
run: |
#J2011 steady hydro test
cd "$GITHUB_WORKSPACE"/tests/j2011_steady_hydro_minimal
mpirun -np 4 ../../bin/rayleigh.dbg

- name: Generic Input Test
run: |
#Generic input test
cd "$GITHUB_WORKSPACE"
sh ./tests/generic_input/run_test.sh

- name: Scalar Field Test
run: |
# chi scalar test
cd "$GITHUB_WORKSPACE"
sh ./tests/chi_scalar/run_test.sh

- name: Custom Reference State Test
run: |

# custom reference state test
cd "$GITHUB_WORKSPACE"
sh ./tests/custom_reference/run_test.sh

- name: Coupled Boundary-Condition Test
run: |

# coupled bc test
cd "$GITHUB_WORKSPACE"
sh ./tests/coupled_bcs/run_test.sh
Expand Down
16 changes: 8 additions & 8 deletions tests/j2011_steady_hydro_minimal/Benchmark_Reports/00000020
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

Benchmark: Jones et al. 2001 (Hydrodynamic Case)

Radial Resolution N_R = 128
Angular Resolution N_theta = 192
Radial Resolution N_R = 64
Angular Resolution N_theta = 96

Averaging Interval (seconds) : 0.000000

Expand All @@ -14,9 +14,9 @@
----------------------------------------------------------------------------
Observable | Measured | Suggested | % Difference | Std. Dev.
----------------------------------------------------------------------------
Kinetic Energy : 5.384025E+24 5.570280E+35 -1.000000E+02 0.000000E+00
Zonal KE : 5.518963E+04 6.380990E+34 -1.000000E+02 0.000000E+00
Meridional KE : 4.598309E+07 1.498250E+32 -1.000000E+02 0.000000E+00
Entropy : 8.006096E+05 7.945200E+05 7.664490E-01 0.000000E+00
Vphi : -7.725785E-03 6.902700E+02 -1.000011E+02 0.000000E+00
Drift Frequency : 2.510466+273 3.105120E-06 8.084924+280 0.000000E+00
Kinetic Energy : 5.384019E+24 5.570280E+35 -1.000000E+02 0.000000E+00
Zonal KE : 5.518889E+04 6.380990E+34 -1.000000E+02 0.000000E+00
Meridional KE : 4.597956E+07 1.498250E+32 -1.000000E+02 0.000000E+00
Entropy : 8.005438E+05 7.945200E+05 7.581723E-01 0.000000E+00
Vphi : -7.513829E-03 6.902700E+02 -1.000011E+02 0.000000E+00
Drift Frequency : 5.425470E-03 3.105120E-06 1.746266E+05 0.000000E+00
4 changes: 2 additions & 2 deletions tests/j2011_steady_hydro_minimal/main_input
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
&problemsize_namelist
n_r = 128
n_theta = 192
n_r = 64
n_theta = 96
nprow = 2
npcol = 2
/
Expand Down
Loading