31.8 Session configuration

The session syntax is that of the IncNavierStokesSolver. Each selected region must pair velocity Neumann conditions and a pressure Dirichlet condition, all tagged with USERDEFINEDTYPE="HOutflow".


Listing 31.1: Minimal two-dimensional HOutflow region.
1<REGION REF="1"> 
2  <N VAR="u" USERDEFINEDTYPE="HOutflow" VALUE="fb_u(x,y,t)" /> 
3  <N VAR="v" USERDEFINEDTYPE="HOutflow" VALUE="fb_v(x,y,t)" /> 
4  <D VAR="p" USERDEFINEDTYPE="HOutflow" VALUE="0" /> 
5</REGION>

The pressure VALUE is a placeholder evaluated by the ordinary Dirichlet adapter and then replaced by equation (P). The velocity values are meaningful: they define the components of fb.


Table 31.1 Optional session parameters and preserved defaults.

Parameter Symbol Default

Role

OutflowBC_theta θ 1

weights the normal kinetic-energy term

OutflowBC_alpha1 α1 0

weights the (n⋅u)u term

OutflowBC_alpha2 α2 0

augments the normal kinetic-energy term

U0_HighOrderBC U0 1

reference velocity in the switch

Delta_HighOrderBC δ 1∕20

non-dimensional switch transition width


U0 and δ must be positive. In three dimensions, all three velocity components must carry paired HOutflow Neumann conditions.