-
Notifications
You must be signed in to change notification settings - Fork 20
/
example.config
175 lines (125 loc) · 4.91 KB
/
example.config
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
# Configuration file for turtleFSI
[Parameter for turtleFSI] # Section is required by configargparse but is not used anywhere in turtleFSI
################################################################################
# Define solver, numerics, and problem file
################################################################################
# Name of problem file to solve. Could either be located in the turtleFSI
# repository (TF_cfd, TF_csm, TF_fsi, turtle_demo) or it could be a problem
# file you have created locally.
problem="turtle_demo"
# Setting temporal integration.
# (theta=0 : first order explicit forward Euler scheme)
# (theta=1 : first order implicit backward Euler scheme)
# (theta=0.5 : second-order Crank-Nicolson scheme)
# (theta=0.5+dt : gives a better long-term numerical stability while keeping
# the second order accuracy of the Crank-Nicolson scheme)
theta=0.501
################################################################################
# Set fluid, solid, and extrapolation
################################################################################
# Turn on/off solving of the fluid problem ('fluid', 'no_fluid')
fluid=fluid
# Turn on/off solving of the solid problem ('solid', 'no_solid')
solid=solid
# Use Robin boundary conditions for solid
robin_bc=False
# Set approach for extrapolating the deformation into the fluid domain
# ('laplace', 'elastic', 'biharmonic', 'no_extrapolation')
extrapolation=laplace
# Set the sub type of the extrapolation method ('constant'," 'small_constant',
# 'volume', 'volume_change', 'constrained_disp', 'constrained_disp_vel')
extrapolation-sub-type=constant
# List of boundary ids for the weak formulation of the biharmonic mesh lifting
# operator with 'constrained_disp_vel'
#bc_ids=[]
################################################################################
# Material settings / physical constants
################################################################################
# Maximum velocity at inlet
Um=0.8
# Density of the fluid
rho-f=1.0E3
# Fluid dynamic viscosity
mu-f=1.0
# Density of the solid
rho-s=1.0E3
# Shear modulus or 2nd Lame Coef. for the solid
mu-s=5.0E4
# Poisson ratio in the solid
nu-s=0.45
# 1st Lame Coef. for the solid
lambda-s=4.5E5
# Elastic response necessary for RobinBC
k_s=0.0
# Viscoelastic response necessary for RobinBC
c_s=0.0
# Gravitational force on the solid
#gravity=None
################################################################################
# Domain settings
################################################################################
# Domain id of the fluid domain
dx-f-id=1
# Domain id of the solid domain
dx-s-id=2
# Domain id of the solid boundary necessary for RobinBC
#ds_s_id=None
################################################################################
# Solver settings
################################################################################
# Selected linear solver for each Newton iteration, to see a complete list
# run list_linear_solvers()
linear-solver=mumps
# Absolute error tolerance for the Newton iterations
atol=1e-7
# Relative error tolerance for the Newton iterations
rtol=1e-7
# Maximum number of iterations in the Newton solver
max-it=50
# Relaxation factor in the Netwon solver
lmbda=1.0
# How often to recompute the Jacobian over Newton iterations
recompute=5
# How often to recompute the Jacobian over time steps.
recompute-tstep=1
# Update the default values of the compiler arguments by providing a key=value,
# e.g. optimize=False. You can provide multiple key=value pairs seperated by a
# whitespace
#compiler-parameters=None
################################################################################
# Output settings
################################################################################
# Turn on/off verbose printing
verbose=True
# Set FEniCS loglevel
loglevel=20
# Saving frequency of the files defined in the problem file
save-step=10
# Degree of the functions saved for visualisation. '1':P1, '2':P2, etc...
save-deg=1
# How often to store a checkpoint (use to later restart a simulation)
checkpoint-step=500
# Path to store the results. You can store multiple simulations in one folder
folder=results
# Over write the standard 1, 2, 3 name of the sub folders
#sub-folder=None
# Path to subfolder to restart from
#restart-folder=None
################################################################################
# Set spatial and temporal resolution
################################################################################
# Set timestep, dt
time-step=0.001
# Set end time
end-time=1
# Set degree of pressure
p-deg=1
# Set degree of velocity
v-deg=2
# Set degree of deformation
d-deg=2
################################################################################
# Misc settings
################################################################################
# Stop simulations cleanly after the given number of seconds
#killtime=None