Boundary Conditions

In the modelling of a flow problem, each CV provides one algebraic equation. Volume integrals are calculated in the same way for every CV, but the CVs on the domain boundaries require special treatment. The fluxes on the boundaries must either be known, or be expressed as a combination of interior values and boundary data. Generally, either the value of the variable at the boundary (Dirichlet boundary conditions) or its gradient in a particular direction (Neumann boundary condition) or a combination of both is given. If the value of the variable is given, there is no need to solve for it and the known values are used in the equations. If the gradient at the boundary is given, a suitable approximation can be used to calculate the boundary value of the variable. The approximation must be based on one-sided differences or extrapolations since there are no nodes outside the boundary.

In FASTEST3D the following boundary condition types are implemented:

INL
Inlet boundary (iin, -1),
OUT
Outlet boundary (iou, -2),
MIR
Symmetric boundary (isy, -3),
SOL
Wall with temperature (iwa, iwt, -4),
SOQ
Wall with heat flux (iwq, -5),
???
Wall with radiation on outer surface (iwr, -6),
HTC
Wall with heat transfer coefficient and surrounding temperature (iwht, -9),
PER
Periodic boundary condition (-10)
CPx
Fluid-structure interaction coupling boundary (icp, -12).

The values in parentheses denote the value of the boundary condition used in the code of FASTEST3D.

FASTEST3D gets the information of boundary types for each domain from the boundary condition input data for the grid file. In the boundary conditions file, after the connecting faces of the blocks are defined, the boundary faces are introduced for each block. Here, ``SOL'', ``MIR'', ``OUT'', ``INL'' and ``PER'' stand for wall, symmetry, outlet, inlet and periodic boundary conditions respectively.

Inlets are generally Dirichlet boundary conditions. This means that the velocity components at the inlet are known and are assigned to the boundary nodes. The boundary fluxes are then calculated from their discretized expressions.

In case the boundary fluxes are known, they are simply used in flux balance equations and the boundary values are then evaluated from the discretized flux expressions.