Skip to content

Commit dea0ae4

Browse files
committed
Move certain Species testcase over to tutorials
1 parent 3b22e92 commit dea0ae4

4 files changed

Lines changed: 28 additions & 25 deletions

File tree

.github/workflows/regression.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
uses: docker://su2code/test-su2:20200303
9191
with:
9292
# -t <Tutorials-branch> -c <Testcases-branch>
93-
args: -b ${{github.ref}} -t develop -c feature_species -s ${{matrix.testscript}}
93+
args: -b ${{github.ref}} -t feature_species -c develop -s ${{matrix.testscript}}
9494
unit_tests:
9595
runs-on: ubuntu-latest
9696
name: Unit Tests

TestCases/parallel_regression.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,18 +1598,6 @@ def main():
15981598
species2_primitiveVenturi.tol = 0.00001
15991599
test_list.append(species2_primitiveVenturi)
16001600

1601-
# 3 species (2 eq) primitive venturi mixing
1602-
species3_primitiveVenturi = TestCase('species3_primitiveVenturi')
1603-
species3_primitiveVenturi.cfg_dir = "species_transport/venturi_primitive_3species"
1604-
species3_primitiveVenturi.cfg_file = "species3_primitiveVenturi.cfg"
1605-
species3_primitiveVenturi.test_iter = 50
1606-
species3_primitiveVenturi.test_vals = [-6.028145, -5.258104, -5.107927, -5.922051, -1.582604, -6.314220, -6.431771, 5, -0.808615, 5, -2.351160, 5, -0.288300, 1.645644, 0.499064, 0.601230, 0.545351]
1607-
species3_primitiveVenturi.su2_exec = "mpirun -n 2 SU2_CFD"
1608-
species3_primitiveVenturi.timeout = 1600
1609-
species3_primitiveVenturi.new_output = True
1610-
species3_primitiveVenturi.tol = 0.00001
1611-
test_list.append(species3_primitiveVenturi)
1612-
16131601
# 3 species (2 eq) primitive venturi mixing with inlet files.
16141602
# Note that the residuals are exactly the same as for the non-inlet case which should be the case for a fresh inlet file.
16151603
species3_primitiveVenturi_inletFile = TestCase('species3_primitiveVenturi_inletFile')

TestCases/parallel_regression_AD.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -168,18 +168,6 @@ def main():
168168
discadj_incomp_turb_NACA0012_sst.tol = 0.00001
169169
test_list.append(discadj_incomp_turb_NACA0012_sst)
170170

171-
# 3 species (2 eq) primitive venturi mixing
172-
DAspecies3_primitiveVenturi = TestCase('DAspecies3_primitiveVenturi')
173-
DAspecies3_primitiveVenturi.cfg_dir = "species_transport/venturi_primitive_3species"
174-
DAspecies3_primitiveVenturi.cfg_file = "DAspecies3_primitiveVenturi.cfg"
175-
DAspecies3_primitiveVenturi.test_iter = 50
176-
DAspecies3_primitiveVenturi.test_vals = [-8.519150, -7.786969, -7.774848, -7.474167, -12.127149, -12.262476, -11.456643]
177-
DAspecies3_primitiveVenturi.su2_exec = "mpirun -n 2 SU2_CFD_AD"
178-
DAspecies3_primitiveVenturi.timeout = 1600
179-
DAspecies3_primitiveVenturi.new_output = True
180-
DAspecies3_primitiveVenturi.tol = 0.00001
181-
test_list.append(DAspecies3_primitiveVenturi)
182-
183171
#######################################################
184172
### Unsteady Disc. adj. compressible RANS ###
185173
#######################################################

TestCases/tutorials.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,33 @@ def main():
9393
sp_pinArray_2d_dp_hf_tp.tol = 0.00001
9494
test_list.append(sp_pinArray_2d_dp_hf_tp)
9595

96+
### Species Transport
97+
98+
# 3 species (2 eq) primitive venturi mixing
99+
species3_primitiveVenturi = TestCase('species3_primitiveVenturi')
100+
species3_primitiveVenturi.cfg_dir = "species_transport/venturi_primitive_3species"
101+
species3_primitiveVenturi.cfg_file = "species3_primitiveVenturi.cfg"
102+
species3_primitiveVenturi.test_iter = 50
103+
species3_primitiveVenturi.test_vals = [-6.028145, -5.258104, -5.107927, -5.922051, -1.582604, -6.314220, -6.431771, 5, -0.808615, 5, -2.351160, 5, -0.288300, 1.645644, 0.499064, 0.601230, 0.545351]
104+
species3_primitiveVenturi.su2_exec = "mpirun -n 2 SU2_CFD"
105+
species3_primitiveVenturi.timeout = 1600
106+
species3_primitiveVenturi.new_output = True
107+
species3_primitiveVenturi.tol = 0.00001
108+
test_list.append(species3_primitiveVenturi)
109+
110+
111+
# 3 species (2 eq) primitive venturi mixing
112+
DAspecies3_primitiveVenturi = TestCase('DAspecies3_primitiveVenturi')
113+
DAspecies3_primitiveVenturi.cfg_dir = "species_transport/venturi_primitive_3species"
114+
DAspecies3_primitiveVenturi.cfg_file = "DAspecies3_primitiveVenturi.cfg"
115+
DAspecies3_primitiveVenturi.test_iter = 50
116+
DAspecies3_primitiveVenturi.test_vals = [-8.519150, -7.786969, -7.774848, -7.474167, -12.127149, -12.262476, -11.456643]
117+
DAspecies3_primitiveVenturi.su2_exec = "mpirun -n 2 SU2_CFD_AD"
118+
DAspecies3_primitiveVenturi.timeout = 1600
119+
DAspecies3_primitiveVenturi.new_output = True
120+
DAspecies3_primitiveVenturi.tol = 0.00001
121+
test_list.append(DAspecies3_primitiveVenturi)
122+
96123
### Compressible Flow
97124

98125
# Inviscid Bump

0 commit comments

Comments
 (0)