154 lines
4.6 KiB
YAML
154 lines
4.6 KiB
YAML
|
mesh: '/home/yeye/Desktop/kalman/meshes/channel2d.h5'
|
||
|
# Physical parameters of the fluid
|
||
|
fluid:
|
||
|
density: 1.2
|
||
|
dynamic_viscosity: 0.035
|
||
|
|
||
|
io:
|
||
|
write_path: 'results/channel2d/'
|
||
|
restart:
|
||
|
path: '' # './projects/nse_coa3d/results/test_restart2/'
|
||
|
time: 0
|
||
|
write_xdmf: True
|
||
|
write_checkpoints: True
|
||
|
write_hdf5_timeseries: False
|
||
|
write_velocity: 'update' # update or tentative
|
||
|
|
||
|
boundary_conditions:
|
||
|
-
|
||
|
id: 1
|
||
|
type: 'dirichlet'
|
||
|
value: ['0','0']
|
||
|
-
|
||
|
id: 2
|
||
|
type: 'dirichlet'
|
||
|
value: ['U*(1- (x[1]-1)*(x[1]-1) )*sin(DOLFIN_PI*t/T)','0']
|
||
|
parameters:
|
||
|
U: 30
|
||
|
T: 0.9
|
||
|
t: 0
|
||
|
-
|
||
|
id: 3
|
||
|
type: 'neumann'
|
||
|
value: '0'
|
||
|
|
||
|
|
||
|
ale:
|
||
|
type: 'manual'
|
||
|
io:
|
||
|
# read XDMF files from external solver
|
||
|
read_checkpoints: False # True, False
|
||
|
# path where displacement files are stored
|
||
|
#
|
||
|
read_path:
|
||
|
# origin mesh path
|
||
|
mesh_path:
|
||
|
# fem space of solution files
|
||
|
fem_type: p1
|
||
|
|
||
|
# Settings of the time integration method
|
||
|
timemarching:
|
||
|
# Time step for reading the input file
|
||
|
read_dt: # 0.05
|
||
|
fem:
|
||
|
# function spaces for the displacement
|
||
|
# options available: p1 p2
|
||
|
displacement_space: p1
|
||
|
lifting:
|
||
|
type: 'elastic_element' # 'harmonic', 'elastic', 'elastic_element'
|
||
|
# when chosing 'harmonic', no parameters required (ignored)
|
||
|
# otherwise, they must be specified below.
|
||
|
parameters:
|
||
|
mu: 0.0 # float value e.g. 1., 0.1, 0.01
|
||
|
# deformations will be read whenever chosen 'manual'
|
||
|
# if chosen 'external' then deformations list will be OMITTED!.
|
||
|
deformations:
|
||
|
# The dashes separate the list entries
|
||
|
-
|
||
|
id : 1
|
||
|
type: 'dirichlet'
|
||
|
value: ['0.', '0.']
|
||
|
|
||
|
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
|
||
|
dt: 0.01
|
||
|
write_dt: 0.04
|
||
|
checkpoint_dt: 0.04 # <= 0: only last; else value + last
|
||
|
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:
|
||
|
enabled: False
|
||
|
boundaries: [6]
|
||
|
gamma: 10
|
||
|
backflow_boundaries: []
|
||
|
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.]
|
||
|
|
||
|
linear_solver:
|
||
|
method: 'lu'
|
||
|
|
||
|
estimation:
|
||
|
boundary_conditions:
|
||
|
-
|
||
|
id: 2
|
||
|
type: 'dirichlet'
|
||
|
parameters: 'U'
|
||
|
initial_stddev: 1
|
||
|
|
||
|
measurements:
|
||
|
-
|
||
|
mesh: '/home/yeye/Desktop/kalman/meshes/channel2d.h5'
|
||
|
fe_degree: 0
|
||
|
xdmf_file: 'results/channel2d/measurements/u_all.xdmf'
|
||
|
file_root: 'results/channel2d/measurements/u{i}.h5'
|
||
|
indices: 0 # indices of checkpoints to be processed. 0 == all
|
||
|
velocity_direction: ~
|
||
|
noise_stddev: 1.0 # standard deviation of Gaussian noise
|
||
|
|
||
|
roukf:
|
||
|
particles: 'simplex' # unique or simplex
|
||
|
observation_operator: 'postprocessing' #state or postprocessing
|
||
|
reparameterize: True
|