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

.

Related Research Articles

<span class="mw-page-title-main">Fluid dynamics</span> Aspects of fluid mechanics involving flow

In physics, physical chemistry and engineering, fluid dynamics is a subdiscipline of fluid mechanics that describes the flow of fluids—liquids and gases. It has several subdisciplines, including aerodynamics and hydrodynamics. Fluid dynamics has a wide range of applications, including calculating forces and moments on aircraft, determining the mass flow rate of petroleum through pipelines, predicting weather patterns, understanding nebulae in interstellar space and modelling fission weapon detonation.

In fluid dynamics, turbulence or turbulent flow is fluid motion characterized by chaotic changes in pressure and flow velocity. It is in contrast to a laminar flow, which occurs when a fluid flows in parallel layers, with no disruption between those layers.

<span class="mw-page-title-main">Boundary layer</span> Layer of fluid in the immediate vicinity of a bounding surface

In physics and fluid mechanics, a boundary layer is the thin layer of fluid in the immediate vicinity of a bounding surface formed by the fluid flowing along the surface. The fluid's interaction with the wall induces a no-slip boundary condition. The flow velocity then monotonically increases above the surface until it returns to the bulk flow velocity. The thin layer consisting of fluid whose velocity has not yet returned to the bulk flow velocity is called the velocity boundary layer.

In fluid dynamics, an adverse pressure gradient is a pressure gradient in which the static pressure increases in the direction of the flow. Mathematically this is expressed as dP/dx > 0 for a flow in the positive x-direction.

<span class="mw-page-title-main">Computational fluid dynamics</span> Analysis and solving of problems that involve fluid flows

Computational fluid dynamics (CFD) is a branch of fluid mechanics that uses numerical analysis and data structures to analyze and solve problems that involve fluid flows. Computers are used to perform the calculations required to simulate the free-stream flow of the fluid, and the interaction of the fluid with surfaces defined by boundary conditions. With high-speed supercomputers, better solutions can be achieved, and are often required to solve the largest and most complex problems. Ongoing research yields software that improves the accuracy and speed of complex simulation scenarios such as transonic or turbulent flows. Initial validation of such software is typically performed using experimental apparatus such as wind tunnels. In addition, previously performed analytical or empirical analysis of a particular problem can be used for comparison. A final validation is often performed using full-scale testing, such as flight tests.

Darcy's law is an equation that describes the flow of a fluid through a porous medium. The law was formulated by Henry Darcy based on results of experiments on the flow of water through beds of sand, forming the basis of hydrogeology, a branch of earth sciences. It is analogous to Ohm's law in electrostatics, linearly relating the volume flow rate of the fluid to the hydraulic head difference via the hydraulic conductivity.

Fluid mechanics is the branch of physics concerned with the mechanics of fluids and the forces on them. It has applications in a wide range of disciplines, including mechanical, aerospace, civil, chemical, and biomedical engineering, as well as geophysics, oceanography, meteorology, astrophysics, and biology.

<span class="mw-page-title-main">Flow separation</span> Detachment of a boundary layer from a surface into a wake

In fluid dynamics, flow separation or boundary layer separation is the detachment of a boundary layer from a surface into a wake.

<span class="mw-page-title-main">Law of the wall</span> Relation of flow speed to wall distance

In fluid dynamics, the law of the wall states that the average velocity of a turbulent flow at a certain point is proportional to the logarithm of the distance from that point to the "wall", or the boundary of the fluid region. This law of the wall was first published in 1930 by Hungarian-American mathematician, aerospace engineer, and physicist Theodore von Kármán. It is only technically applicable to parts of the flow that are close to the wall, though it is a good approximation for the entire velocity profile of natural streams.

This page describes some of the parameters used to characterize the thickness and shape of boundary layers formed by fluid flowing along a solid surface. The defining characteristic of boundary layer flow is that at the solid walls, the fluid's velocity is reduced to zero. The boundary layer refers to the thin transition layer between the wall and the bulk fluid flow. The boundary layer concept was originally developed by Ludwig Prandtl and is broadly classified into two types, bounded and unbounded. The differentiating property between bounded and unbounded boundary layers is whether the boundary layer is being substantially influenced by more than one wall. Each of the main types has a laminar, transitional, and turbulent sub-type. The two types of boundary layers use similar methods to describe the thickness and shape of the transition region with a couple of exceptions detailed in the Unbounded Boundary Layer Section. The characterizations detailed below consider steady flow but is easily extended to unsteady flow.

The Dean number (De) is a dimensionless group in fluid mechanics, which occurs in the study of flow in curved pipes and channels. It is named after the British scientist W. R. Dean, who was the first to provide a theoretical solution of the fluid motion through curved pipes for laminar flow by using a perturbation procedure from a Poiseuille flow in a straight pipe to a flow in a pipe with very small curvature.

In nonideal fluid dynamics, the Hagen–Poiseuille equation, also known as the Hagen–Poiseuille law, Poiseuille law or Poiseuille equation, is a physical law that gives the pressure drop in an incompressible and Newtonian fluid in laminar flow flowing through a long cylindrical pipe of constant cross section. It can be successfully applied to air flow in lung alveoli, or the flow through a drinking straw or through a hypodermic needle. It was experimentally derived independently by Jean Léonard Marie Poiseuille in 1838 and Gotthilf Heinrich Ludwig Hagen, and published by Poiseuille in 1840–41 and 1846. The theoretical justification of the Poiseuille law was given by George Stokes in 1845.

In computational fluid dynamics (CFD), the SIMPLE algorithm is a widely used numerical procedure to solve the Navier–Stokes equations. SIMPLE is an acronym for Semi-Implicit Method for Pressure Linked Equations.

<span class="mw-page-title-main">Reynolds number</span> Ratio of inertial to viscous forces acting on a liquid

In fluid mechanics, the Reynolds number is a dimensionless quantity that helps predict fluid flow patterns in different situations by measuring the ratio between inertial and viscous forces. At low Reynolds numbers, flows tend to be dominated by laminar (sheet-like) flow, while at high Reynolds numbers, flows tend to be turbulent. The turbulence results from differences in the fluid's speed and direction, which may sometimes intersect or even move counter to the overall direction of the flow. These eddy currents begin to churn the flow, using up energy in the process, which for liquids increases the chances of cavitation.

In engineering, physics, and chemistry, the study of transport phenomena concerns the exchange of mass, energy, charge, momentum and angular momentum between observed and studied systems. While it draws from fields as diverse as continuum mechanics and thermodynamics, it places a heavy emphasis on the commonalities between the topics covered. Mass, momentum, and heat transport all share a very similar mathematical framework, and the parallels between them are exploited in the study of transport phenomena to draw deep mathematical connections that often provide very useful tools in the analysis of one field that are directly derived from the others.

Flow conditioning ensures that the "real world" environment closely resembles the "laboratory" environment for proper performance of inferential flowmeters like orifice, turbine, coriolis, ultrasonic etc.

Boundary conditions in fluid dynamics are the set of constraints to boundary value problems in computational fluid dynamics. These boundary conditions include inlet boundary conditions, outlet boundary conditions, wall boundary conditions, constant pressure boundary conditions, axisymmetric boundary conditions, symmetric boundary conditions, and periodic or cyclic boundary conditions.

PISO algorithm was proposed by Issa in 1986 without iterations and with large time steps and a lesser computing effort. It is an extension of the SIMPLE algorithm used in computational fluid dynamics to solve the Navier-Stokes equations. PISO is a pressure-velocity calculation procedure for the Navier-Stokes equations developed originally for non-iterative computation of unsteady compressible flow, but it has been adapted successfully to steady-state problems.

In fluid dynamics, the entrance length is the distance a flow travels after entering a pipe before the flow becomes fully developed. Entrance length refers to the length of the entry region, the area following the pipe entrance where effects originating from the interior wall of the pipe propagate into the flow as an expanding boundary layer. When the boundary layer expands to fill the entire pipe, the developing flow becomes a fully developed flow, where flow characteristics no longer change with increased distance along the pipe. Many different entrance lengths exist to describe a variety of flow conditions. Hydrodynamic entrance length describes the formation of a velocity profile caused by viscous forces propagating from the pipe wall. Thermal entrance length describes the formation of a temperature profile. Awareness of entrance length may be necessary for the effective placement of instrumentation, such as fluid flow meters.

In physics, a free surface flow is the surface of a fluid flowing that is subjected to both zero perpendicular normal stress and parallel shear stress. This can be the boundary between two homogeneous fluids, like water in an open container and the air in the Earth's atmosphere that form a boundary at the open face of the container.

References