Skip to content

Commit 8f24d8d

Browse files
committed
Add new iNS NACA test
1 parent b1bc65b commit 8f24d8d

6 files changed

Lines changed: 688 additions & 1 deletion

File tree

.github/workflows/CI_sequential 3.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,3 +499,19 @@ jobs:
499499
./horses3d.ins Actuator.control
500500
if: '!cancelled()'
501501

502+
# 8) INS NACA0012
503+
# -------------------------------
504+
505+
- name: Build iNS-NACA0012
506+
working-directory: ./Solver/test/IncompressibleNS/NACA0012/SETUP
507+
run: |
508+
source /opt/intel/oneapi/setvars.sh || true
509+
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}}
510+
if: '!cancelled()'
511+
512+
- name: Run iNS-NACA0012
513+
working-directory: ./Solver/test/IncompressibleNS/NACA0012
514+
run: |
515+
source /opt/intel/oneapi/setvars.sh || true
516+
./horses3d.ins NACA0012.control
517+
if: '!cancelled()'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ bin/HORSES3D
99
make.inc
1010
*.hmesh
1111
*.bmesh
12+
*.pmesh
1213
*.hsol
1314
RESULTS
1415

Solver/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ GNU_HPC_FLAGS= -cpp -fallow-argument-mismatch -std=legacy -ffree-line-length-0 -
4141
-ftree-vectorizer-verbose=0 -fbackslash -D_has_Quad -march=znver3 -funroll-loops
4242
GNU_RELEASE_FLAGS= -cpp -ffree-line-length-0 -O3 -ftree-vectorize -ftree-vectorizer-verbose=0 \
4343
-fbackslash -D_has_Quad
44-
GNU_DEBUG_FLAGS= -ffree-line-length-0 -cpp -O0 -g -fcheck=all -Wno-unused-variable \
44+
GNU_DEBUG_FLAGS= -ffree-line-length-0 -cpp -O0 -frecursive -g -fcheck=all -Wno-unused-variable \
4545
-fbacktrace -fbounds-check -finit-real=snan -Wall \
4646
-ffpe-trap=invalid,zero,overflow -fcheck-array-temporaries \
4747
-fbackslash -fcheck=pointer -D_has_Quad

Solver/configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ TEST_CASES="./Euler/BoxAroundCircle \
9292
./IncompressibleNS/Cylinder \
9393
./IncompressibleNS/CylinderVreman \
9494
./IncompressibleNS/ActuatorLineInterpolation \
95+
./IncompressibleNS/NACA0012 \
9596
./CahnHilliard/TJokisaari \
9697
./Multiphase/Convergence \
9798
./Multiphase/Convergence_cs \
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/* Control file for the implicit Navier-Stokes solver */
2+
Flow equations = "iNS"
3+
mesh file name = "../../TestMeshes/naca0012_p3.msh"
4+
Polynomial order = 2 ! T
5+
Number of time steps = 100
6+
Output Interval = 10
7+
autosave mode = "iteration"
8+
autosave interval = 1000
9+
10+
Convergence tolerance = 1.d-10
11+
cfl = 0.1d0
12+
dcfl = 0.1d0
13+
Density (kg/m^3) = 1.0
14+
Viscosity (Pa.s) = 1.0
15+
reference velocity (m/s) = 100.0
16+
Artificial compressibility factor = 1000.0
17+
18+
discretization nodes = Gauss-Lobatto
19+
20+
solution file name = "RESULTS/naca.hsol"
21+
save gradients with solution = .true.
22+
restart = .false.
23+
restart file name = "RESULTS/restart.hsol"
24+
riemann solver = "central"
25+
viscous discretization = "BR1"
26+
27+
Riemann solver = central
28+
Lambda stabilization = 1.0
29+
!Inviscid discretization = Split-form
30+
Averaging = Skew-symmetric 2 ! Pirozzoli/Morinishi/Kennedy-Gruber/Entropy conserving/Entropy and
31+
LES Model = Vreman
32+
33+
simulation type = time-accurate
34+
final time = 40.d0
35+
!simulation type = steady-state
36+
time integration = explicit
37+
partitioning = SFC
38+
!-------------------------------------------------------------
39+
! Inflow
40+
!-------------------------------------------------------------
41+
#define boundary BACK
42+
type = FreeSlipWall
43+
#end
44+
45+
#define boundary FRONT
46+
type = FreeSlipWall
47+
#end
48+
49+
#define boundary AIRFOILT
50+
type = NoSlipWall
51+
#end
52+
53+
#define boundary AIRFOILB
54+
type = NoSlipWall
55+
#end
56+
57+
#define boundary INFLOW
58+
type = Inflow
59+
#end
60+
61+
#define boundary OUTFLOW
62+
type = Outflow
63+
#end
64+
!-------------------------------------------------------------
65+
66+

0 commit comments

Comments
 (0)