2020-11-25 20:55:41 +01:00
|
|
|
mesh: './meshes/channel3d.h5'
|
2020-11-23 13:41:11 +01:00
|
|
|
# Physical parameters of the fluid
|
|
|
|
fluid:
|
|
|
|
density: 1.2
|
|
|
|
dynamic_viscosity: 0.035
|
|
|
|
|
|
|
|
io:
|
2021-02-09 23:59:12 +01:00
|
|
|
write_path: 'results/channel3d/'
|
2020-11-23 13:41:11 +01:00
|
|
|
restart:
|
|
|
|
path: '' # './projects/nse_coa3d/results/test_restart2/'
|
|
|
|
time: 0
|
|
|
|
write_xdmf: True
|
2021-02-09 23:59:12 +01:00
|
|
|
write_checkpoints: True
|
2020-11-23 13:41:11 +01:00
|
|
|
write_hdf5_timeseries: False
|
|
|
|
write_velocity: 'update' # update or tentative
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
boundary_conditions:
|
|
|
|
-
|
|
|
|
id: 1
|
|
|
|
type: 'dirichlet'
|
|
|
|
value: ['0','0','0']
|
|
|
|
-
|
|
|
|
id: 2
|
|
|
|
type: 'dirichlet'
|
|
|
|
value: ['0','0','U*(1-x[0]*x[0] - x[1]*x[1])*sin(DOLFIN_PI*t/T)']
|
|
|
|
parameters:
|
2021-02-09 23:59:12 +01:00
|
|
|
U: 30
|
2020-11-23 13:41:11 +01:00
|
|
|
T: 0.9
|
|
|
|
t: 0
|
|
|
|
-
|
|
|
|
id: 3
|
|
|
|
type: 'neumann'
|
|
|
|
value: '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. , 0.]
|
|
|
|
|
|
|
|
linear_solver:
|
|
|
|
method: 'lu'
|
|
|
|
|
|
|
|
estimation:
|
|
|
|
boundary_conditions:
|
|
|
|
-
|
|
|
|
id: 2
|
|
|
|
type: 'dirichlet'
|
|
|
|
parameters: 'U'
|
|
|
|
initial_stddev: 1
|
|
|
|
|
|
|
|
measurements:
|
|
|
|
-
|
2020-11-25 20:55:41 +01:00
|
|
|
mesh: './meshes/channel3d.h5'
|
2021-02-09 23:59:12 +01:00
|
|
|
fe_degree: 1
|
|
|
|
xdmf_file: 'results/channel3d/measurements/Perturbation/SNRinfV50/u_all.xdmf'
|
|
|
|
file_root: 'results/channel3d/measurements/Perturbation/SNRinfV50/u{i}.h5'
|
2020-11-23 13:41:11 +01:00
|
|
|
indices: 0 # indices of checkpoints to be processed. 0 == all
|
|
|
|
velocity_direction: ~
|
2021-02-09 23:59:12 +01:00
|
|
|
noise_stddev: 2.0 # 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 23:59:12 +01:00
|
|
|
ODV_functional:
|
2021-02-10 20:46:37 +01:00
|
|
|
enable: False
|
2021-02-09 23:59:12 +01:00
|
|
|
VENC: 18 # cm/s ref: 25 for 70% and 18 for 50%
|