Boundary conditions in computational fluid dynamics: Difference between revisions

Content deleted Content added
m Clean-up, added orphan, uncategorised tags using AWB
Link suggestions feature: 3 links added.
 
(19 intermediate revisions by 14 users not shown)
Line 1:
{{Main|Boundary conditions in fluid dynamics}}
{{Orphan|date=December 2012}}
[[File:Fig 1 Formation of grid in cfd.JPG|thumb|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.
 
'''MostThe most common boundary conditions used in [[computational fluid dynamics]] are'''
[[File:Fig 1 Formation of grid in cfd.JPG|thumb|Fig 1 Formation of grid in cfd]]Almost every [[computational fluid dynamics]] problem is defined under the limits of initial and boundary conditions. For implementation of boundary conditions when we construct a staggered grid we add an extra node across the physical boundary in order to get,
 
*The nodes just outside the inlet of the system are used to assign the inlet conditions
*The physical boundaries can coincide with the scalar control volume boundaries.
 
This allow us to introduce the boundary conditions and achieve discretion equations for nodes near boundary with small modifications.
 
'''Most common boundary conditions used in [[computational fluid dynamics]] are'''
 
*Intake conditions
Line 14 ⟶ 8:
*Physical boundary conditions
*Cyclic conditions
*pressurePressure conditions
*exitExit conditions
 
==Intake boundary conditions==
 
We are consideringConsider the case of an inlet perpendicular to the x- direction -[[File:Fig.2 u-velocity cell at intake boundary.JPG|left|thumb|Fig.2 u-velocity cell at intake boundary]]
[[File:Fig.4 pressure correction cell at intake boundary.JPG|thumb|Fig.4 pressure correction cell at intake boundary]]
[[File:Fig.3 v-velocity cell at intake boundary.JPG|center|thumb|Fig.3 v-velocity cell at intake boundary]]
[[File:Fig. 5 scalar cell at intake boundary.JPG|left|thumb|Fig. 5 scalar cell at intake boundary]]
 
*For the first u, v, φ-cell all links to neighboring nodes are active, so there is no need of any modifications to discretion equations.
 
*For the first u, v, φ-cell all links to neighboring nodes are active, so there is no need of any modifications to discretion equations.
*At one of the inlet node absolute pressure is fixed and made pressure correction to zero at that node.
 
*Generally [[computational fluid dynamics]] codes estimate k and ε with approximate formulate based on turbulent intensity between 1 and 6% and length scale
 
{|
|+
|-
| [[File:Fig.2 u-velocity cell at intake boundary.JPG|thumb|Fig.2 u-velocity cell at intake boundary|alt=|none]] || [[File:Fig.3 v-velocity cell at intake boundary.JPG|thumb|Fig.3 v-velocity cell at intake boundary|alt=|none]] || [[File:Fig.4 pressure correction cell at intake boundary.JPG|thumb|Fig.4 pressure correction cell at intake boundary|alt=|none]] || [[File:Fig. 5 scalar cell at intake boundary.JPG|thumb|Fig. 5 scalar cell at intake boundary|alt=|none]]
|}
 
 
==Symmetry boundary condition==
Line 40 ⟶ 36:
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.
 
==physicalPhysical boundary conditions==
 
Consider situation solid wall parallel to the x-direction:
[[File:Fig.6 u-velocity cell at a physical boundary.JPG|left|thumb|Fig.6 u-velocity cell at a physical boundary]]
[[File:Fig.8 v-cell at physical boundary j=NJ.JPG|thumb|Fig.8 v-cell at physical boundary j=NJ]]
 
[[File:Fig.7 v-cell at physical boundary j=3.JPG|center|thumb|Fig.7 v-cell at physical boundary j=3]]
[[File:Fig.9 scalar cell at a physical boundary.JPG|left|thumb|Fig.9 scalar cell at a physical boundary]]
'''Assumptions made and relations considered'''-
 
*The near wall flow is considered as [[laminar flow|laminar]] and the velocity varies linearly with distance from the wall
*No slip condition: u = v = 0.
*In this we are applying the “wall functions” instead of the mesh points.
 
{|
'''Turbulent flow''':
|+
|-
| [[File:Fig.6 u-velocity cell at a physical boundary.JPG|left|thumb|Fig.6 u-velocity cell at a physical boundary]] || [[File:Fig.7 v-cell at physical boundary j=3.JPG|center|thumb|Fig.7 v-cell at physical boundary j=3]] || [[File:Fig.8 v-cell at physical boundary j=NJ.JPG|thumb|Fig.8 v-cell at physical boundary j=NJ]] ||
[[File:Fig.49 pressure correctionscalar cell at intakea physical boundary.JPG|left|thumb|Fig.49 pressure correctionscalar cell at intakea physical boundary]]
|}
 
'''[[Turbulent flow]]''':
 
<math> y^+ > 11.63\,</math>.
 
in the log-law region of a turbulent [[boundary layer]].
 
'''[[Laminar flow]]''' :
 
<math>y^+ < 11.63\,</math>.
Line 68 ⟶ 67:
*The velocity is constant along parallel to the wall and varies only in the direction normal to the wall.
*No pressure gradients in the flow direction.
*High [[Reynolds number]]
*No chemical reactions at the wall
 
==cyclicCyclic boundary condition==
 
*We take flux of flow leaving the outlet cycle boundary equal to the flux entering the inlet cycle boundary
*Values of each variable at the nodes at upstream and downstream of the inlet of the inlet plane are equal to values at the nodes at upstream and downstream of the outlet plane.
 
*Values of each variable at the nodes at upstream and downstream of the inlet of the inlet plane are equal to values at the nodes at upstream and downstream of the outlet plane.
 
==Pressure boundary condition==
[[File:Fig.10 p’-cell at an intake boundary.JPG|left|thumb|Fig.10 p’-cell at an intake boundary]]
[[File:Fig. 11 p’-cell at an exit boundary.JPG|thumb|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 know
|+
|-
| [[File:Fig.10 p’-cell at an intake boundary.JPG|left|thumb|Fig.10 p’-cell at an intake boundary]] || [[File:Fig. 11 p’-cell at an exit boundary.JPG|thumb|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 knowknown
For example: external flows around objects, internal flows with multiple outlets, buoyancy-driven flows, free surface flows, etc.
 
For example: external flows around objects, internal flows with multiple outlets, [[buoyancy]]-driven flows, [[free surface]] flows, etc.
 
*The pressure corrections are taken zero at the nodes.
 
==exitExit boundary conditions==
Considering the case of an outlet perpendicular to the x-direction -
[[File:Fig.12 A control volume at an exit boundary.JPG|left|thumb|Fig.12 A control volume at an exit boundary]]
[[File:Fig. 14 pressure correction cell at an exit boundary.JPG|thumb|Fig. 14 pressure correction cell at an exit boundary]]
[[File:Fig. 13 v-control volume at an exit boundary.JPG|center|thumb|Fig. 13 v-control volume at an exit boundary]]
[[File:Fig.15 scalar cell at an exit boundary.JPG|left|thumb|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
|+
|-
| [[File:Fig.12 A control volume at an exit boundary.JPG|left|thumb|Fig.12 A control volume at an exit boundary]] || [[File:Fig. 13 v-control volume at an exit boundary.JPG|center|thumb|Fig. 13 v-control volume at an exit boundary]] || [[File:Fig. 14 pressure correction cell at an exit boundary.JPG|thumb|Fig. 14 pressure correction cell at an exit boundary]] || [[File:Fig.15 scalar cell at an exit boundary.JPG|left|thumb|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 (mathematics)|continuity]] correction
 
<math>U_{NI,J} = U_{NI-1,J}\frac{M_{in}}{M_{out}}\,</math>.
Line 104 ⟶ 108:
==References==
<references/>
*An introduction to computational fluid dynamics by Versteeg, PEARSON.
 
[[Category:Computational fluid dynamics]]
{{Uncategorized|date=December 2012}}
[[Category:Boundary conditions|computational fluid dynamics in]]