[soln-bcs-name]
Parameterises constant, or if available space (x, y, [z]) and time (t) dependent, boundary condition labelled name in the .pyfrm file with
type— type of boundary condition:ac-char-riem-inv|ac-in-fv|ac-out-fp|char-riem-inv|char-riem-inv-mass-flow|no-slp-adia-wall|no-slp-isot-wall|no-slp-wall|slp-adia-wall|slp-wall|sub-in-frv|sub-in-ftpttang|sub-out-fp|sup-in-fa|sup-out-fnwhere
ac-char-riem-invonly works withac-euler|ac-navier-stokesand requiresac-zeta— artificial compressibility factor for boundary (increasingac-zetamakes the boundary less reflective allowing larger deviation from the target state)float
niters— number of Newton iterationsint
p— pressurefloat | string
u— x-velocityfloat | string
v— y-velocityfloat | string
w— z-velocityfloat | string
ac-in-fvonly works withac-euler|ac-navier-stokesand requiresu— x-velocityfloat | string
v— y-velocityfloat | string
w— z-velocityfloat | string
ac-out-fponly works withac-euler|ac-navier-stokesand requiresp— pressurefloat | string
char-riem-invonly works witheuler|navier-stokesand requiresrho— densityfloat | string
u— x-velocityfloat | string
v— y-velocityfloat | string
w— z-velocityfloat | string
p— static pressurefloat | string
char-riem-inv-mass-flowonly works witheuler|navier-stokesand requiresrho— densityfloat | string
u— x-velocityfloat | string
v— y-velocityfloat | string
w— z-velocityfloat | string
p— initial static pressure, the controller will vary this to target a mass flow rate.float | string
mass-flow-rate— target mass flow rate across the boundary.float | string
alpha— parameter between 0 and 1 for the exponentially weighted moving average of the mass flow rate.float | string
eta— parameter greater than 0 setting the strength of the controller. The appropriate strength is problem specific, and varies depending on if the simulation has been non-dimensionalised.float | string
nsteps— number of Runge-Kutta steps between activations of the controller. Typically between 10 and 500.int
tstart— start time of the mass flow controller, before this time the Riemann invariant remains fixed.float
quad-deg-{etype}— degree of quadrature rule for mass flow integration (optional).int
quad-pts-{etype}— name of quadrature rule (optional).string
file— name of a CSV file to output statistics to (optional).string
flushsteps— frequency to flush output to the CSV file (optional).int
no-slp-adia-wallonly works withnavier-stokesno-slp-isot-wallonly works withnavier-stokesand requiresu— x-velocity of wallfloat
v— y-velocity of wallfloat
w— z-velocity of wallfloat
cpTw— product of specific heat capacity at constant pressure and temperature of wallfloat
no-slp-wallonly works withac-navier-stokesand requiresu— x-velocity of wallfloat
v— y-velocity of wallfloat
w— z-velocity of wallfloat
slp-adia-wallonly works witheuler|navier-stokesslp-wallonly works withac-euler|ac-navier-stokessub-in-frvonly works withnavier-stokesand requiresrho— densityfloat | string
u— x-velocityfloat | string
v— y-velocityfloat | string
w— z-velocityfloat | string
sub-in-ftpttangonly works withnavier-stokesand requirespt— total pressurefloat
cpTt— product of specific heat capacity at constant pressure and total temperaturefloat
theta— azimuth angle (in degrees) of inflow measured in the x-y plane relative to the positive x-axisfloat
phi— inclination angle (in degrees) of inflow measured relative to the positive z-axisfloat
sub-out-fponly works withnavier-stokesand requiresp— static pressurefloat | string
sup-in-faonly works witheuler|navier-stokesand requiresrho— densityfloat | string
u— x-velocityfloat | string
v— y-velocityfloat | string
w— z-velocityfloat | string
p— static pressurefloat | string
sup-out-fnonly works witheuler|navier-stokes
Example:
[soln-bcs-bcwallupper]
type = no-slp-isot-wall
cpTw = 10.0
u = 1.0
Simple periodic boundary conditions are supported; however, their
behaviour is not controlled through the .ini file, instead it is
handled at the mesh generation stage. Two faces may be tagged with
periodic_x_l and periodic_x_r, where x is a unique
identifier for the pair of boundaries. Currently, only periodicity in a
single cardinal direction is supported, for example, the planes
(x,y,0) and (x,y,10).