-
Notifications
You must be signed in to change notification settings - Fork 1
/
airFoil2D.yaml
209 lines (205 loc) · 5.49 KB
/
airFoil2D.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
--- # meta
openfoam: 7
version: 0.3
order:
- meta
- foam
- static
--- # foam
"0":
nut:
FoamFile: &FoamFile
version: 2.0
format: ascii
class: volScalarField
object: nut
dimensions: "[0 2 -1 0 0 0 0]"
internalField: uniform 0.14
boundaryField:
inlet:
type: freestream
freestreamValue: uniform 0.14
outlet:
type: freestream
freestreamValue: uniform 0.14
walls:
type: nutUSpaldingWallFunction
value: uniform 0
frontAndBack:
type: empty
nuTilda:
FoamFile:
class: volScalarField
object: nuTilda
<<: *FoamFile
dimensions: "[0 2 -1 0 0 0 0]"
internalField: uniform 0.14
boundaryField:
inlet:
type: freestream
freestreamValue: uniform 0.14
outlet:
type: freestream
freestreamValue: uniform 0.14
walls:
type: fixedValue
value: uniform 0
frontAndBack:
type: empty
p:
FoamFile:
class: volScalarField
object: p
<<: *FoamFile
dimensions: "[0 2 -2 0 0 0 0]"
internalField: uniform 0
boundaryField:
inlet:
type: freestreamPressure
freestreamValue: $internalField
outlet:
type: freestreamPressure
freestreamValue: $internalField
walls:
type: zeroGradient
frontAndBack:
type: empty
U:
FoamFile:
class: volVectorField
object: U
<<: *FoamFile
dimensions: "[0 1 -1 0 0 0 0]"
internalField: uniform (25.75 3.62 0)
boundaryField:
inlet:
type: freestreamVelocity
freestreamValue: $internalField
outlet:
type: freestreamVelocity
freestreamValue: $internalField
walls:
type: noSlip
frontAndBack:
type: empty
constant:
transportProperties:
FoamFile:
class: dictionary
object: transportProperties
<<: *FoamFile
transportModel: Newtonian
rho: "[1 -3 0 0 0 0 0] 1"
nu: "[0 2 -1 0 0 0 0] 1e-05"
turbulenceProperties:
FoamFile:
class: dictionary
object: turbulenceProperties
<<: *FoamFile
simulationType: RAS
RAS:
RASModel: SpalartAllmaras
turbulence: on
printCoeffs: on
system:
controlDict:
FoamFile:
class: dictionary
object: controlDict
<<: *FoamFile
application: simpleFoam
startFrom: startTime
startTime: 0
stopAt: endTime
endTime: 500
deltaT: 1
writeControl: timeStep
writeInterval: 50
purgeWrite: 0
writeFormat: ascii
writePrecision: 6
writeCompression: off
timeFormat: general
timePrecision: 6
runTimeModifiable: true
fvSchemes:
FoamFile:
class: dictionary
object: fvSchemes
<<: *FoamFile
ddtSchemes:
default: steadyState
gradSchemes:
default: Gauss linear
divSchemes:
default: none
div(phi, U): bounded Gauss linearUpwind grad(U)
div(phi, nuTilda): bounded Gauss linearUpwind grad(nuTilda)
div((nuEff*dev2(T(grad(U))))): Gauss linear
laplacianSchemes:
default: Gauss linear corrected
interpolationSchemes:
default: linear
snGradSchemes:
default: corrected
wallDist:
method: meshWave
fvSolution:
FoamFile:
class: dictionary
object: fvSolution
<<: *FoamFile
solvers:
p:
solver: GAMG
tolerance: 1e-06
relTol: 0.1
smoother: GaussSeidel
U:
solver: smoothSolver
smoother: GaussSeidel
nSweeps: 2
tolerance: 1e-08
relTol: 0.1
nuTilda:
solver: smoothSolver
smoother: GaussSeidel
nSweeps: 2
tolerance: 1e-08
relTol: 0.1
SIMPLE:
nNonOrthogonalCorrectors: 0
residualControl:
p: 1e-5
U: 1e-5
nuTilda: 1e-5
relaxationFactors:
fields:
p: 0.3
equations:
U: 0.7
nuTilda: 0.7
--- # static
-
name: Allrun
type: [embed, text]
data: |
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=$(getApplication)
runApplication $application
-
name: Allclean
type: [embed, text]
data: |
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Clean time directories only
rm -rf *[1-9]*
rm -f log.* 2>/dev/null
-
name: constant/polyMesh
type: [path, 7z]
data: static/airFoil2D-polyMesh.7z