xref: /honee/examples/vortexshedding.yaml (revision fc37ad8c2d8e5885e86197268f3a21c51d020b21)
1*fc37ad8cSJames Wrightproblem: newtonian
2*fc37ad8cSJames Wright
3*fc37ad8cSJames Wright# Time Stepping Settings
4*fc37ad8cSJames Wrightimplicit: true
5*fc37ad8cSJames Wrightstab: supg
6*fc37ad8cSJames Wright
7*fc37ad8cSJames Wrightcheckpoint_interval: 10
8*fc37ad8cSJames Wright
9*fc37ad8cSJames Wrightts:
10*fc37ad8cSJames Wright  adapt_type: 'none'
11*fc37ad8cSJames Wright  type: alpha
12*fc37ad8cSJames Wright  dt: .05
13*fc37ad8cSJames Wright  max_time: 100
14*fc37ad8cSJames Wright  alpha_radius: 0.5
15*fc37ad8cSJames Wright  monitor_solution: cgns:vortexshedding-q3-g1-n08.cgns
16*fc37ad8cSJames Wright  monitor_solution_interval: 5
17*fc37ad8cSJames Wright  monitor_wall_force: ascii:force.csv:ascii_csv
18*fc37ad8cSJames Wright
19*fc37ad8cSJames Wright# Reference state is used for the initial condition, zero velocity by default.
20*fc37ad8cSJames Wright
21*fc37ad8cSJames Wright# This choice of pressure and temperature have a density of 1 and acoustic speed
22*fc37ad8cSJames Wright# of 100. With velocity 1, this flow is Mach 0.01.
23*fc37ad8cSJames Wrightreference:
24*fc37ad8cSJames Wright  pressure: 7143
25*fc37ad8cSJames Wright  temperature: 24.92
26*fc37ad8cSJames Wright
27*fc37ad8cSJames Wright# If the the outflow is placed close to the cylinder, this will recirculate cold
28*fc37ad8cSJames Wright# fluid, demonstrating how the outflow BC is stable despite recirculation.
29*fc37ad8cSJames Wrightoutflow:
30*fc37ad8cSJames Wright  temperature: 20
31*fc37ad8cSJames Wright
32*fc37ad8cSJames Wright# Freestream inherits reference state as default
33*fc37ad8cSJames Wrightfreestream:
34*fc37ad8cSJames Wright  velocity: 1,0,0
35*fc37ad8cSJames Wright# Small gravity vector to break symmetry so shedding can start
36*fc37ad8cSJames Wrightgravity: 0,-.01,0
37*fc37ad8cSJames Wright
38*fc37ad8cSJames Wright# viscosity corresponds to Reynolds number 100
39*fc37ad8cSJames Wrightmu: 0.01
40*fc37ad8cSJames Wrightk: 14.34 # thermal conductivity, Pr = 0.71 typical of air
41*fc37ad8cSJames Wright
42*fc37ad8cSJames Wright## DM Settings:
43*fc37ad8cSJames Wrightdegree: 3
44*fc37ad8cSJames Wrightdm_plex_filename: examples/fluids/meshes/cylinder-q1-n08.msh
45*fc37ad8cSJames Wright
46*fc37ad8cSJames Wright# Boundary Settings
47*fc37ad8cSJames Wrightbc_symmetry_z: 6
48*fc37ad8cSJames Wrightbc_wall: 5
49*fc37ad8cSJames Wrightbc_freestream: 1
50*fc37ad8cSJames Wrightbc_outflow: 2
51*fc37ad8cSJames Wrightbc_symmetry_y: 3,4
52*fc37ad8cSJames Wrightwall_comps: 1,2,3
53*fc37ad8cSJames Wright
54*fc37ad8cSJames Wright# Primitive variables are preferred at low Mach number
55*fc37ad8cSJames Wrightstate_var: primitive
56*fc37ad8cSJames Wright
57*fc37ad8cSJames Wrightdm_view:
58*fc37ad8cSJames Wrightts_monitor:
59*fc37ad8cSJames Wrightsnes_lag_jacobian: 20
60*fc37ad8cSJames Wrightsnes_lag_jacobian_persists:
61*fc37ad8cSJames Wright
62*fc37ad8cSJames Wright#pmat_pbdiagonal:
63*fc37ad8cSJames Wright#ksp_type: bcgsl
64*fc37ad8cSJames Wright#pc_type: vpbjacobi
65*fc37ad8cSJames Wrightamat_type: shell
66