Skip to content

Commit aa044a7

Browse files
committed
Add CylinderChandrasekarRoe test case. Residuals to be updated yet
1 parent 08413ce commit aa044a7

5 files changed

Lines changed: 727 additions & 0 deletions

File tree

.github/workflows/CI_parallel.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,25 @@ jobs:
136136
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_METIS=YES
137137
138138
139+
#
140+
# 0) CYLINDER ChandrasekarRoe
141+
# ------------------
142+
143+
- name: Build NSCylinderChandrasekarRoe
144+
working-directory: ./Solver/test/NavierStokes/CylinderChandrasekarRoe/SETUP
145+
run: |
146+
source /opt/intel/oneapi/setvars.sh || true
147+
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
148+
if: '!cancelled()'
149+
150+
- name: Run NSCylinderChandrasekarRoe
151+
working-directory: ./Solver/test/NavierStokes/CylinderChandrasekarRoe
152+
run: |
153+
source /opt/intel/oneapi/setvars.sh || true
154+
mpiexec -n 8 ./horses3d.ns CylinderChandrasekarRoe.control
155+
if: '!cancelled()'
156+
157+
139158
########################################################################
140159
####### EULER ########
141160
########################################################################

.github/workflows/CI_sequential 2.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,25 @@ jobs:
116116
####### NAVIER-STOKES ########
117117
########################################################################
118118

119+
#
120+
# 0) CYLINDER ChandrasekarRoe
121+
# ------------------
122+
123+
- name: Build NSCylinderChandrasekarRoe
124+
working-directory: ./Solver/test/NavierStokes/CylinderChandrasekarRoe/SETUP
125+
run: |
126+
source /opt/intel/oneapi/setvars.sh || true
127+
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
128+
if: '!cancelled()'
129+
130+
- name: Run NSCylinderChandrasekarRoe
131+
working-directory: ./Solver/test/NavierStokes/CylinderChandrasekarRoe
132+
run: |
133+
source /opt/intel/oneapi/setvars.sh || true
134+
./horses3d.ns CylinderChandrasekarRoe.control
135+
if: '!cancelled()'
136+
137+
119138
#
120139
# 0) Convergence
121140
# ------------------------------

Solver/configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ TEST_CASES="./Euler/BoxAroundCircle \
5555
./NavierStokes/CylinderSmagorinsky \
5656
./NavierStokes/CylinderWALE \
5757
./NavierStokes/CylinderVreman \
58+
./NavierStokes/CylinderChandrasekarRoe \
5859
./NavierStokes/IBM_Cylinder \
5960
./NavierStokes/DualTimeStepping \
6061
./NavierStokes/EntropyConservingTest \
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
Flow equations = "NS"
2+
mesh file name = "../../TestMeshes/CylinderNSpol3.mesh"
3+
Polynomial order = 3
4+
Number of time steps = 100
5+
Output Interval = 10
6+
Number of plot points = 5
7+
Convergence tolerance = 1.d-10
8+
cfl = 0.3
9+
dcfl = 0.3
10+
mach number = 0.3
11+
Reynolds number = 200.0
12+
AOA theta = 0.0
13+
AOA phi = 90.0
14+
solution file name = "RESULTS/Cylinder.hsol"
15+
save gradients with solution = .true.
16+
restart = .false.
17+
restart file name = "RESULTS/Cylinder.hsol"
18+
riemann solver = Roe
19+
Discretization nodes = Gauss-Lobatto
20+
inviscid discretization = Split-Form
21+
averaging = Chandrasekar
22+
Viscous discretization = BR1
23+
24+
#define boundary InnerCylinder
25+
type = NoSlipWall
26+
#end
27+
28+
#define boundary Front__Back__Left
29+
type = Inflow
30+
#end
31+
32+
#define boundary Bottom__Top
33+
type = FreeSlipWall
34+
#end
35+
36+
#define boundary Right
37+
type = Outflow
38+
#end
39+
40+
41+
#define surface monitor 1
42+
Name = cyl-drag
43+
Marker = innercylinder
44+
Variable = drag
45+
Direction = [0.0,0.0,1.0]
46+
Reference surface = 1.0
47+
#end
48+
49+
#define surface monitor 2
50+
Name = cyl-lift
51+
Marker = innercylinder
52+
Variable = lift
53+
Direction = [1.0,0.0,0.0]
54+
Reference surface = 1.0
55+
#end
56+
57+
#define probe 1
58+
Name = wake_u
59+
Position = [0.0,2.0,4.0]
60+
Variable = u
61+
#end
62+
63+
!#define statistics
64+
! Sampling interval = 10
65+
! Starting iteration = 15
66+
! Starting time = 0.0
67+
! @start*
68+
! @stop
69+
!#end

0 commit comments

Comments
 (0)