-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yaml
77 lines (73 loc) · 1.32 KB
/
config.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
# 510x298 (151980)
mesh:
- direction: x
start: -15.0
subDomains:
- cells: 111
end: -0.75
stretchRatio: 0.9708737864
- cells: 90
end: 0.75
stretchRatio: 1.0
- cells: 309
end: 35.0
stretchRatio: 1.01
- direction: y
start: -25.0
subDomains:
- cells: 104
end: -0.75
stretchRatio: 0.9615384615
- cells: 90
end: 0.75
stretchRatio: 1.0
- cells: 104
end: 25.0
stretchRatio: 1.04
flow:
nu: 0.01
initialVelocity: [1.0, 0.0, 0.0]
boundaryConditions:
- location: xMinus
u: [DIRICHLET, 1.0]
v: [DIRICHLET, 0.0]
- location: xPlus
u: [CONVECTIVE, 1.0]
v: [CONVECTIVE, 1.0]
- location: yMinus
u: [DIRICHLET, 1.0]
v: [DIRICHLET, 0.0]
- location: yPlus
u: [DIRICHLET, 1.0]
v: [DIRICHLET, 0.0]
parameters:
dt: 0.01
startStep: 0
nt: 20000
nsave: 1000
nrestart: 5000
convection: ADAMS_BASHFORTH_2
diffusion: CRANK_NICOLSON
velocitySolver:
type: CPU
config: config/velocity_solver.info
poissonSolver:
type: GPU
config: config/poisson_solver.info
forcesSolver:
type: CPU
config: config/forces_solver.info
bodies:
- type: points
name: cylinder
file: cylinder.body
probes:
- name: probe-p
type: VOLUME
field: p
viewer: hdf5
path: probe-p.h5
n_sum: 1000
box:
x: [-0.75, 0.75]
y: [-0.75, 0.75]