Fluid boundary conditions¶
Inlet - Total¶
Setting Inlet - Total
imposes total conditions and flow normal vector at an inlet boundary.
Parameter | Description |
---|---|
Total Pressure |
Set Total Presure \(p_0\) at the inlet boundary |
Total Temperature |
Set Total Temperature \(T_0\) at the inlet boundary |
Normal-1 |
Set first component of flow normal vector \(\vec{n}\) |
Normal-2 |
Set second component of flow normal vector \(\vec{n}\) |
Normal-3 |
Set third component of flow normal vector \(\vec{n}\) |
Momentum is extrapolated from the interior and used to compute velocity, \(\vec{V}\). With the user-specified normal and Total quantities, static quantities to compute the boundary condition solution state \(Q_{bc}\) are computed as:
With these static quantities, the boundary condition state is computed as:
The gradient of the boundary state is extrapolated:
Outlet - Constant Pressure¶
Setting Outlet - Constant Pressure
imposes constant static pressure on an outlet boundary.
Parameter | Description |
---|---|
Static Pressure |
Set Static Presure \(p\) at the outlet boundary |
Density and Momentum are extrapolated from the interior state. The boundary condition state is computed as:
The gradient of the boundary state is extrapolated:
Wall¶
A Wall
state function sets the normal component of momentum to zero and
subtracts its kinetic energy contribution from the extrapolated energy from the interior.
For weakly imposed boundary conditions for the Euler
equations, this defines a Slip Wall.
For weakly imposed boundary conditions For the Navier-Stokes
equations,
this defines a No-Slip Wall. The normal flux for either case
Heat transfer is defined to be adiabatic, \(\nabla T = 0\).
Parameter | Description |
---|---|
no parameters |
The normal component of the advective flux is given by:
A slip wall is defined as \(\vec{V}_{bc} \cdot \vec{n} = 0\). A no-slip wall is defined as \(\vec{V}_{bc} = 0\).
Imposing either of these conditions on the normal flux yields the same result:
So, for the Euler equations imposing \(\vec{V}_{bc} = 0\) yields a slip wall. For the Navier-Stokes equations, imposing \(\vec{V}_{bc} = 0\) yields a no-slip wall.
The boundary solution state is computed by extrapolating density, setting momentum to zero, and subtracting the lost kinetic energy from the interior energy:
The gradient of the boundary state is computed using the no-slip condition and also the adiabatic condition \(\nabla T = 0\).
If the temperature is a function of the primary fields \(T = T(\rho,\vec{\rho V},\rho E)\), then the gradient of temperature can be computed using the Chain Rule as:
One can determine that the jacobian of temperature with respect to momentum goes to zero with velocity, \(\frac{\partial T}{\vec{\rho V}} \rightarrow 0\) as \(V \rightarrow 0\). The adiabatic condition can then be imposed by setting gradients of density and energy to zero:
Symmetry¶
A Symmetry
condition defines the velocity gradient normal to the boundary as zero.
However, in contrast to the Wall
boundary condition implementation where the
condition is imposed on the normal component of the flux, here the normal component
of momentum is mirrored about the boundary face such that the normal component
of momentum is effectively zero.
The consequence of this implementation is that is effectively a slip-wall condition
for both the Euler
and Navier-Stokes
equations.
Parameter | Description |
---|---|
no parameters |
First, the normal component of momentum is computed. It is then mirrored about the boundary face such that the normal momentum is zero. The boundary condition state is computed as:
The gradient of the boundary state is extrapolated:
Farfield¶
Specify static inflow/outflow conditions at a farfield boundary.
Parameter | Description |
---|---|
Density |
Set static Density \(\rho\) at the farfield boundary |
Pressure |
Set static Pressure \(p\) at the farfield boundary |
Velocity-1 |
Set first component of flow velocity \(\vec{V}\) |
Velocity-2 |
Set second component of flow velocity \(\vec{V}\) |
Velocity-3 |
Set third component of flow velocity \(\vec{V}\) |
To-be-continued...