-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigs.py
71 lines (59 loc) · 1.08 KB
/
configs.py
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
incompressibleDamBreakConfig = """
[xsph]
fluidViscosity = 0.01
boundaryViscosity = 0.01
[pressure]
kappa = 1.5
gamma = 7.0
[timestep]
fixed = false
max = 0.005
[dfsph]
minDensitySolverIterations = 2
minDivergenceSolverIterations = 2
maxDensitySolverIterations = 256
maxDivergenceSolverIterations = 8
densityThreshold = 1e-3
divergenceThreshold = 1e-2
divergenceSolver = false
backgroundPressure = false
relaxedJacobiOmega = 0.5
[domain]
min = [-2, -2]
max = [2, 2]
adjustParticle = true
adjustDomain = true
[periodicBCs]
periodicX = true
[velocitySources]
[velocitySources.one]
min = [1,-2]
max = [2,2]
velocity = [0,1]
[emitter.fluidBulk]
fillDomain = false
min = [-0.5,-2]
max = [0.5,1.0]
velocity = [ 0.0, 0.0]
adjust = true
[emitter2.fluidBulk]
fillDomain = false
min = [-2,-2]
max = [-1.5, -1.5]
velocity = [ 0.0, 0.0]
adjust = true
[compute]
device='cpu'
[particle]
radius = 0.01
[simulation]
boundaryScheme = 'solid'
pressureTerm1 = 'PBSPH'
pressureTerm = 'ghostMLS'
pressureTerm2 = 'deltaMLS'
pressureTerm3 = 'MLSPressure'
verbose = false
[akinciBoundary]
beta = 0.125
gamma = 0.7
"""