NuMRI/kalman/input_files/aorta.yaml

206 lines
6.2 KiB
YAML
Raw Normal View History

2020-11-23 13:41:11 +01:00
2020-11-25 20:55:41 +01:00
mesh: './meshes/coaortaH1.h5'
2021-06-09 12:35:12 +02:00
# Physical parameters of the fluid
2020-11-23 13:41:11 +01:00
fluid:
density: 1.2
dynamic_viscosity: 0.035
2021-05-28 10:01:29 +02:00
stokes: False
2021-07-09 15:22:23 +02:00
implicit_windkessel: True
state_velocity: 'update'
2020-11-23 13:41:11 +01:00
io:
2021-07-09 15:22:23 +02:00
write_path: 'results/updRz_Pb_wp0.5wm16.84'
2020-11-23 13:41:11 +01:00
restart:
path: '' # './projects/nse_coa3d/results/test_restart2/'
time: 0
write_xdmf: True
write_checkpoints: True
write_hdf5_timeseries: False
2020-12-16 18:41:44 +01:00
write_velocity: 'update' # update or tentative
2020-11-23 13:41:11 +01:00
boundary_conditions:
-
id: 2
type: 'dirichlet'
2021-05-28 10:01:29 +02:00
#value: ['0','0','-U*sin(DOLFIN_PI*t/Th)*(t<=Th) + (t<0.8)*(Th<t)*(U*DOLFIN_PI/Th*(t-Th)*exp(-(t-Th)*beta)) +
# -U*sin(DOLFIN_PI*(t-0.8)/Th)*(t<= 0.8+Th )*(t>0.8) + (t<1.6)*(0.8+Th<t)*(U*DOLFIN_PI/Th*(t-0.8-Th)*exp(-(t-0.8-Th)*beta)) +
# -U*sin(DOLFIN_PI*(t-1.6)/Th)*(t<= 1.6+Th )*(t>1.6) + (t<2.4)*(1.6+Th<t)*(U*DOLFIN_PI/Th*(t-1.6-Th)*exp(-(t-1.6-Th)*beta))' ]
value: ['0','0','-U*sin(DOLFIN_PI*t/Th)*(t<=Th) + (Th<t)*(U*DOLFIN_PI/Th*(t-Th)*exp(-(t-Th)*beta))']
2020-11-23 13:41:11 +01:00
parameters:
2021-06-15 12:11:18 +02:00
#U: 75 #REFERENCE
2021-07-09 15:22:23 +02:00
#U: 120
U: 150 #Pa/Pb
2021-06-16 20:41:15 +02:00
#U: 40 #Pc
2021-05-28 10:01:29 +02:00
Th: 0.36
beta: 70
t: 0
-
id: 1
type: 'dirichlet'
value: ['0','0','0']
2020-11-23 13:41:11 +01:00
-
id: 3
type: 'windkessel'
2021-04-02 13:11:34 +02:00
parameters:
2021-05-28 10:01:29 +02:00
R_p: 200
2021-06-09 12:35:12 +02:00
C: 0.0004
R_d: 4800
2021-05-28 10:01:29 +02:00
p0: 85
2021-04-02 13:11:34 +02:00
conv: 1333.223874
2020-11-23 13:41:11 +01:00
-
id: 4
type: 'windkessel'
2021-04-02 13:11:34 +02:00
parameters:
2021-05-28 10:01:29 +02:00
R_p: 480
2021-06-15 12:11:18 +02:00
C: 0.0004 # REFERENCE
#C: 0.0005 # Pa
2021-06-09 12:35:12 +02:00
#C: 0.0010 # Pb
#C: 0.0001 # Pc
#C: 0.0008 # Pg
2021-07-09 15:22:23 +02:00
#R_d: 7200 # REFERENCE
2021-06-15 12:11:18 +02:00
#R_d: 8760 #Pa
2021-07-09 15:22:23 +02:00
R_d: 17520 #Pb x2
2021-06-16 20:41:15 +02:00
#R_d: 4000 #Pc
2021-05-28 10:01:29 +02:00
p0: 85
2021-04-02 13:11:34 +02:00
conv: 1333.223874
2020-11-23 13:41:11 +01:00
-
id: 5
type: 'windkessel'
2021-04-02 13:11:34 +02:00
parameters:
2021-05-28 10:01:29 +02:00
R_p: 520
2021-06-15 12:11:18 +02:00
C: 0.0003 # REFERENCE
#C: 0.0005 # Pa
2021-06-09 12:35:12 +02:00
#C: 0.0010 # Pb
#C: 0.0001 # Pc
#C: 0.0008 # Pg
2021-07-09 15:22:23 +02:00
#R_d: 11520 # REFERENCE
2021-06-15 12:11:18 +02:00
#R_d: 8760 #Pa
2021-07-09 15:22:23 +02:00
R_d: 17520 #Pb x2
2021-06-16 20:41:15 +02:00
#R_d: 4000 #Pc
2021-05-28 10:01:29 +02:00
p0: 85
2021-04-02 13:11:34 +02:00
conv: 1333.223874
2020-11-23 13:41:11 +01:00
-
id: 6
type: 'windkessel'
2021-04-02 13:11:34 +02:00
parameters:
2021-05-28 10:01:29 +02:00
R_p: 520
2021-06-15 12:11:18 +02:00
C: 0.0003 # REFERENCE
#C: 0.0005 #Pa
2021-06-09 12:35:12 +02:00
#C: 0.0010 #Pb
#C: 0.0001 #Pc
2021-07-09 15:22:23 +02:00
#R_d: 11520 # REFERENCE
2021-06-15 12:11:18 +02:00
#R_d: 8760 #Pa
2021-07-09 15:22:23 +02:00
R_d: 17520 #Pb x2
2021-06-16 20:41:15 +02:00
#R_d: 4000 #Pc
2021-05-28 10:01:29 +02:00
p0: 85
2021-04-02 13:11:34 +02:00
conv: 1333.223874
2020-11-23 13:41:11 +01:00
timemarching:
velocity_pressure_coupling: 'fractionalstep' # monolithic, fractionalstep
monolithic:
timescheme: 'gmp' # generalized midpoint, steady FIXME TODO
theta: 1 # 1: Euler, 0.5: implicit midpoint rule (one-legged)
nonlinear:
method: 'constant_extrapolation' # constant_extrapolation, linear_extrapolation, newton, picard, snes
maxit: 20
init_steps: 30
use_aitken: 1 # 0: False, 1: Picard only, 2: all
report: 1 # 0: None, 1: residuals, 2: residuals and energy (inflow/driving/forcing via ESSENTIAL Dbcs!)
atol: 1.e-6 # note: dot required!!
rtol: 1.e-16
stol: 0.0
fractionalstep:
scheme: 'CT' # CT, IPCS
coupled_velocity: False # False faster, True needed if robin_bc implicit
robin_bc_velocity_scheme: 'implicit' # explicit, semi-implicit, implicit
transpiration_bc_projection: 'robin' # robin, dirichlet
flux_report_normalize_boundary: 1
T: 0.8 # end time
2021-07-09 15:22:23 +02:00
dt: 0.001
2021-05-28 10:01:29 +02:00
write_dt: 0.03
checkpoint_dt: 0.03 # <= 0: only last; else value + last
2020-11-23 13:41:11 +01:00
report: 1 # 0: print nothing, 1: print time step and writeout, 2: 1 + flux
# solver setup
fem:
velocity_space: p1 # p1 p1b/p1+ p2
pressure_space: p1 # p1 p0/dg0 dg1
strain_symmetric: False
convection_skew_symmetric: True # aka Temam term
stabilization:
forced_normal:
2021-07-09 15:22:23 +02:00
enabled: True
2021-05-28 10:01:29 +02:00
boundaries: [3,4,5,6]
gamma: 20
2020-11-23 13:41:11 +01:00
backflow_boundaries: [3,4,5,6]
streamline_diffusion:
enabled: False
parameter: 'standard' # standard, shakib, codina, klr
length_scale: 'metric' # average, max, metric
parameter_element_constant: True
Cinv: ~
monolithic:
infsup: 'pspg' # pspg, pressure-stabilization
graddiv: False
consistent: False
pressure_stab_constant: 1.
fix_pressure: False
fix_pressure_point: [0., 0. , 0.]
linear_solver:
method: 'lu'
estimation:
boundary_conditions:
2021-06-09 12:35:12 +02:00
#-
# id: 3
# type: 'windkessel'
2021-07-09 15:22:23 +02:00
# mode: 'Rd'
2021-06-09 12:35:12 +02:00
# initial_stddev: 1
2021-05-28 10:01:29 +02:00
-
2021-06-09 12:35:12 +02:00
id: 4
2021-05-28 10:01:29 +02:00
type: 'windkessel'
2021-07-09 15:22:23 +02:00
mode: 'Rd'
initial_stddev: 0.5
2021-03-17 19:47:23 +01:00
-
2021-06-09 12:35:12 +02:00
id: 5
2021-03-17 19:47:23 +01:00
type: 'windkessel'
2021-07-09 15:22:23 +02:00
mode: 'Rd'
initial_stddev: 0.5
2021-05-28 10:01:29 +02:00
-
2021-06-09 12:35:12 +02:00
id: 6
2021-05-28 10:01:29 +02:00
type: 'windkessel'
2021-07-09 15:22:23 +02:00
mode: 'Rd'
initial_stddev: 0.5
2021-05-28 10:01:29 +02:00
-
id: 2
type: 'dirichlet'
parameters: 'U'
2021-07-09 15:22:23 +02:00
initial_stddev: 0.5
2020-11-23 13:41:11 +01:00
2020-12-16 18:41:44 +01:00
2020-11-23 13:41:11 +01:00
measurements:
-
2021-05-28 10:01:29 +02:00
mesh: '/home/yeye/NuMRI/kalman/meshes/coaortaH3_leo2.0.h5'
#mesh: './meshes/coaortaH1.h5'
2020-11-23 13:41:11 +01:00
fe_degree: 1
2021-07-09 15:22:23 +02:00
xdmf_file: 'measurements/aorta_zdir/Perturbation/Mg15V120/u_all.xdmf'
file_root: 'measurements/aorta_zdir/Perturbation/Mg15V120/u{i}.h5'
#xdmf_file: 'measurements/aorta_exp_dt1ms/u_all.xdmf'
#file_root: 'measurements/aorta_exp_dt1ms/u{i}.h5'
2020-11-23 13:41:11 +01:00
indices: 0 # indices of checkpoints to be processed. 0 == all
2021-06-25 11:07:12 +02:00
velocity_direction: [0,0,1]
2021-07-09 15:22:23 +02:00
noise_stddev: 16.84 # standard deviation of Gaussian noise
2020-11-23 13:41:11 +01:00
roukf:
particles: 'simplex' # unique or simplex
observation_operator: 'postprocessing' #state or postprocessing
reparameterize: True
2021-02-09 14:35:48 +01:00
ODV_functional:
2021-06-25 11:07:12 +02:00
enable: False
VENC: 138