Boundary conditions in computational fluid dynamics

Last updated
Fig 1 Formation of grid in cfd Fig 1 Formation of grid in cfd.JPG
Fig 1 Formation of grid in cfd

Almost every computational fluid dynamics problem is defined under the limits of initial and boundary conditions. When constructing a staggered grid, it is common to implement boundary conditions by adding an extra node across the physical boundary. The nodes just outside the inlet of the system are used to assign the inlet conditions and the physical boundaries can coincide with the scalar control volume boundaries. This makes it possible to introduce the boundary conditions and achieve discrete equations for nodes near the boundaries with small modifications.

Contents

The most common boundary conditions used in computational fluid dynamics are

Intake boundary conditions

Consider the case of an inlet perpendicular to the x direction.

Fig.2 u-velocity cell at intake boundary Fig.2 u-velocity cell at intake boundary.JPG
Fig.2 u-velocity cell at intake boundary
Fig.3 v-velocity cell at intake boundary Fig.3 v-velocity cell at intake boundary.JPG
Fig.3 v-velocity cell at intake boundary
Fig.4 pressure correction cell at intake boundary Fig.4 pressure correction cell at intake boundary.JPG
Fig.4 pressure correction cell at intake boundary
Fig. 5 scalar cell at intake boundary Fig. 5 scalar cell at intake boundary.JPG
Fig. 5 scalar cell at intake boundary


Symmetry boundary condition

If flow across the boundary is zero:

Normal velocities are set to zero

Scalar flux across the boundary is zero:

In this type of situations values of properties just adjacent to the solution domain are taken as values at the nearest node just inside the domain.

Physical boundary conditions

Consider situation solid wall parallel to the x-direction:

Assumptions made and relations considered-

Fig.6 u-velocity cell at a physical boundary Fig.6 u-velocity cell at a physical boundary.JPG
Fig.6 u-velocity cell at a physical boundary
Fig.7 v-cell at physical boundary j=3 Fig.7 v-cell at physical boundary j=3.JPG
Fig.7 v-cell at physical boundary j=3
Fig.8 v-cell at physical boundary j=NJ Fig.8 v-cell at physical boundary j=NJ.JPG
Fig.8 v-cell at physical boundary j=NJ
Fig.9 scalar cell at a physical boundary Fig.9 scalar cell at a physical boundary.JPG
Fig.9 scalar cell at a physical boundary

Turbulent flow :

.

in the log-law region of a turbulent boundary layer.

Laminar flow  :

.

Important points for applying wall functions:

Cyclic boundary condition

Pressure boundary condition

Fig.10 p'-cell at an intake boundary Fig.10 p'-cell at an intake boundary.JPG
Fig.10 p’-cell at an intake boundary
Fig. 11 p'-cell at an exit boundary Fig. 11 p'-cell at an exit boundary.JPG
Fig. 11 p’-cell at an exit boundary

These conditions are used when we don’t know the exact details of flow distribution but boundary values of pressure are known

For example: external flows around objects, internal flows with multiple outlets, buoyancy-driven flows, free surface flows, etc.

Exit boundary conditions

Considering the case of an outlet perpendicular to the x-direction -

Fig.12 A control volume at an exit boundary Fig.12 A control volume at an exit boundary.JPG
Fig.12 A control volume at an exit boundary
Fig. 13 v-control volume at an exit boundary Fig. 13 v-control volume at an exit boundary.JPG
Fig. 13 v-control volume at an exit boundary
Fig. 14 pressure correction cell at an exit boundary Fig. 14 pressure correction cell at an exit boundary.JPG
Fig. 14 pressure correction cell at an exit boundary
Fig.15 scalar cell at an exit boundary Fig.15 scalar cell at an exit boundary.JPG
Fig.15 scalar cell at an exit boundary

In fully developed flow no changes occurs in flow direction, gradient of all variables except pressure are zero in flow direction

The equations are solved for cells up to NI-1, outside the domain values of flow variables are determined by extrapolation from the interior by assuming zero gradients at the outlet plane

The outlet plane velocities with the continuity correction

.

References