- •Why CFD is Important for Modeling
- •How the CFD Module Helps Improve Your Modeling
- •Model Builder Options for Physics Feature Node Settings Windows
- •Where Do I Access the Documentation and Model Library?
- •Typographical Conventions
- •Quick Start Guide
- •Defining the Physics
- •Meshing
- •Modeling Strategy
- •Geometrical Complexities
- •Material Properties
- •The Choice of Solver and Solver Settings
- •Coupling to Other Physics Interfaces
- •Adding a Chemical Species Transport Interface
- •Equation
- •Discretization
- •Transport Feature
- •Migration in Electric Field
- •Reactions
- •Reactions
- •Initial Values
- •Initial Values
- •Boundary Conditions for the Transport of Concentrated Species Interface
- •Mass Fraction
- •Mass Fraction
- •Flux
- •Inflow
- •Inflow
- •No Flux
- •Outflow
- •Flux Discontinuity
- •Flux Discontinuity
- •Symmetry
- •Open Boundary
- •Physical Model
- •Transport Properties
- •Model Inputs
- •Fluid Properties
- •Diffusion
- •Migration in Electric Field
- •Diffusion
- •Model Inputs
- •Density
- •Diffusion
- •Porous Matrix Properties
- •Porous Matrix Properties
- •Initial Values
- •Initial Values
- •Domain Features for the Reacting Flow, Concentrated Species Interface
- •Boundary Conditions for the Reacting Flow, Concentrated Species Interface
- •Reacting Boundary
- •Inward Flux
- •Physical Model
- •Transport Properties
- •Fluid Properties
- •Migration in Electric Field
- •Porous Matrix Properties
- •Initial Values
- •Domain Features for the Reacting Flow, Diluted Species Interface
- •Boundary Conditions for the Reacting Flow, Diluted Species Interface
- •Pair and Point Conditions for the Reacting Flow, Diluted Species Interface
- •Multicomponent Mass Transport
- •Multicomponent Diffusion: Mixture-Average Approximation
- •Multispecies Diffusion: Fick’s Law Approximation
- •Multicomponent Thermal Diffusion
- •References for the Transport of Concentrated Species Interface
- •Domain Equations
- •Combined Boundary Conditions
- •Effective Mass Transport Parameters in Porous Media
- •Selecting the Right Interface
- •The Single-Phase Flow Interface Options
- •Laminar Flow
- •Coupling to Other Physics Interfaces
- •The Laminar Flow Interface
- •Discretization
- •The Creeping Flow Interface
- •Discretization
- •Fluid Properties
- •Fluid Properties
- •Mixing Length Limit
- •Volume Force
- •Volume Force
- •Initial Values
- •Initial Values
- •The Turbulent Flow, Spalart-Allmaras Interface
- •The Rotating Machinery, Laminar Flow Interface
- •Rotating Domain
- •Rotating Domain
- •Initial Values
- •Initial Values
- •Rotating Wall
- •Wall
- •Boundary Condition
- •Interior Wall
- •Boundary Condition
- •Normal Stress
- •Inlet
- •Boundary Condition
- •Velocity
- •Pressure, No Viscous Stress
- •Outlet
- •Boundary Condition
- •Pressure
- •Laminar Outflow
- •No Viscous Stress
- •Vacuum Pump
- •Symmetry
- •Open Boundary
- •Boundary Stress
- •Boundary Condition
- •Periodic Flow Condition
- •Flow Continuity
- •Pressure Point Constraint
- •Non-Newtonian Flow—The Power Law and the Carreau Model
- •Theory for the Pressure, No Viscous Stress Boundary Condition
- •Theory for the Laminar Inflow Condition
- •Theory for the Laminar Outflow Condition
- •Theory for the Slip Velocity Wall Boundary Condition
- •Theory for the Vacuum Pump Outlet Condition
- •Theory for the No Viscous Stress Condition
- •Theory for the Mass Flow Inlet Condition
- •Turbulence Modeling
- •Eddy Viscosity
- •Wall Functions
- •Initial Values
- •Wall Distance
- •Inlet Values for the Turbulence Length Scale and Intensity
- •Initial Values
- •The Spalart-Allmaras Turbulence Model
- •Inlet Values for the Turbulence Length Scale and Intensity
- •Pseudo Time Stepping for Turbulent Flow Models
- •References for the Single-Phase Flow, Turbulent Flow Interfaces
- •Selecting the Right Interface
- •Coupling to Other Physics Interfaces
- •Discretization
- •Fluid-Film Properties
- •Initial Values
- •Initial Values
- •Inlet
- •Outlet
- •Wall
- •Symmetry
- •Discretization
- •Initial Values
- •Initial Values
- •Fluid-Film Properties
- •Border
- •Inlet
- •Outlet
- •Conditions for Film Damping
- •The Reynolds Equation
- •Structural Loads
- •Gas Outflow Conditions
- •Rarefaction and Slip Effects
- •Geometry Orientations
- •References for the Thin-Film Flow Interfaces
- •Selecting the Right Interface
- •The Multiphase Flow Interface Options
- •The Relationship Between the Interfaces
- •Bubbly Flow
- •Coupling to Other Physics Interfaces
- •The Laminar Two-Phase Flow, Level Set Interface
- •Discretization
- •The Laminar Two-Phase Flow, Phase Field Interface
- •Domain Level Settings for the Level Set and Phase Field Interfaces
- •Fluid Properties
- •Mixing Length Limit
- •Initial Values
- •Initial Values
- •Volume Force
- •Volume Force
- •Gravity
- •Boundary Conditions for the Level Set and Phase Field Interfaces
- •Wall
- •Boundary Condition
- •Initial Interface
- •The Turbulent Flow, Two-Phase Flow, Level Set Interface
- •The Turbulent Two-Phase Flow, Phase Field Interface
- •Wall Distance Interface and the Distance Equation
- •Level Set and Phase Field Equations
- •Conservative and Non-Conservative Formulations
- •Phase Initialization
- •Numerical Stabilization
- •References for the Level Set and Phase Field Interfaces
- •Stabilization
- •Discretization
- •Level Set Model
- •Initial Values
- •Initial Values
- •Boundary Conditions for the Level Set Function
- •Inlet
- •Initial Interface
- •No Flow
- •Outlet
- •Symmetry
- •Discretization
- •Initial Values
- •Initial Values
- •Phase Field Model
- •Boundary Conditions for the Phase Field Function
- •Initial Interface
- •Inlet
- •Wetted Wall
- •Wetted Wall
- •Outlet
- •The Level Set Method
- •Conservative and Non-Conservative Form
- •Initializing the Level Set Function
- •Variables For Geometric Properties of the Interface
- •Reference for the Level Set Interface
- •About the Phase Field Method
- •The Equations for the Phase Field Method
- •Conservative and Non-Conservative Forms
- •Additional Sources of Free Energy
- •Variables and Expressions
- •Reference For the Phase Field Interface
- •The Laminar Bubbly Flow Interface
- •Reference Pressure
- •Discretization
- •The Turbulent Bubbly Flow Interface
- •Reference Pressure
- •Discretization
- •Fluid Properties
- •Slip Model
- •Initial Values
- •Initial Values
- •Volume Force
- •Volume Force
- •Gravity
- •Gravity
- •Mass Transfer
- •Mass Transfer
- •Boundary Conditions for the Bubbly Flow Interfaces
- •Wall
- •Liquid Boundary Condition
- •Gas Boundary Condition
- •Inlet
- •Liquid Boundary Condition
- •Gas Boundary Condition
- •Outlet
- •Liquid Boundary Condition
- •Gas Boundary Condition
- •Symmetry
- •Gas Boundary Conditions Equations
- •The Mixture Model, Laminar Flow Interface
- •Stabilization
- •Discretization
- •The Mixture Model, Turbulent Flow Interface
- •Stabilization
- •Mixture Properties
- •Mass Transfer
- •Mass Transfer
- •Initial Values
- •Initial Values
- •Volume Force
- •Volume Force
- •Gravity
- •Gravity
- •Boundary Conditions for the Mixture Model Interfaces
- •Wall
- •Mixture Boundary Condition
- •Dispersed Phase Boundary Condition
- •Inlet
- •Mixture Boundary Condition
- •Dispersed Phase Boundary Condition
- •Outlet
- •Mixture Boundary Condition
- •Symmetry
- •The Bubbly Flow Equations
- •Turbulence Modeling in Bubbly Flow Applications
- •References for the Bubbly Flow Interfaces
- •The Mixture Model Equations
- •Dispersed Phase Boundary Conditions Equations
- •Turbulence Modeling in Mixture Models
- •Slip Velocity Models
- •References for the Mixture Model Interfaces
- •Dispersed Phase
- •Discretization
- •Domain Conditions for the Euler-Euler Model, Laminar Flow Interface
- •Phase Properties
- •Solid Viscosity Model
- •Drag Model
- •Solid Pressure Model
- •Initial Values
- •Boundary, Point, and Pair Conditions for the Euler-Euler Model, Laminar Flow Interface
- •Wall
- •Dispersed Phase Boundary Condition
- •Inlet
- •Two-Phase Inlet Type
- •Continuous Phase
- •Dispersed Phase
- •Outlet
- •Mixture Boundary Condition
- •The Euler-Euler Model Equations
- •References for the Euler-Euler Model, Laminar Flow Interface
- •Selecting the Right Interface
- •The Porous Media Flow Interface Options
- •Coupling to Other Physics Interfaces
- •Discretization
- •Fluid and Matrix Properties
- •Mass Source
- •Mass Source
- •Initial Values
- •Initial Values
- •Boundary Conditions for the Darcy’s Law Interface
- •Pressure
- •Pressure
- •Mass Flux
- •Mass Flux
- •Inflow Boundary
- •Inflow Boundary
- •Symmetry
- •No Flow
- •Discretization
- •Fluid and Matrix Properties
- •Volume Force
- •Volume Force
- •Forchheimer Drag
- •Forchheimer Drag
- •Initial Values
- •Initial Values
- •Mass Source
- •Boundary Conditions for the Brinkman Equations Interface
- •Discretization
- •Fluid Properties
- •Porous Matrix Properties
- •Porous Matrix Properties
- •Forchheimer Drag
- •Forchheimer Drag
- •Volume Force
- •Volume Force
- •Initial Values
- •Initial Values
- •Boundary Conditions for the Free and Porous Media Flow Interface
- •Microfluidic Wall Conditions
- •Boundary Condition
- •Discretization
- •Domain, Boundary, and Pair Conditions for the Two-Phase Darcy’s Law Interface
- •Fluid and Matrix Properties
- •Initial Values
- •Initial Values
- •No Flux
- •Pressure and Saturation
- •Pressure and Saturation
- •Mass Flux
- •Inflow Boundary
- •Inflow Boundary
- •Outflow
- •Pressure
- •Darcy’s Law—Equation Formulation
- •About the Brinkman Equations
- •Brinkman Equations Theory
- •References for the Brinkman Equations Interface
- •Reference for the Free and Porous Media Flow Interface
- •Darcy’s Law—Equation Formulation
- •The High Mach Number Flow, Laminar Flow Interface
- •Surface-to-Surface Radiation
- •Discretization
- •Initial Values
- •Initial Values
- •Shared Interface Features
- •Fluid
- •Dynamic Viscosity
- •Inlet
- •Outlet
- •Consistent Inlet and Outlet Conditions
- •Pseudo Time Stepping for High Mach Number Flow Models
- •References for the High Mach Number Flow Interfaces
- •Selecting the Right Interface
- •The Non-Isothermal Flow Interface Options
- •Coupling to Other Physics Interfaces
- •The Non-Isothermal Flow, Laminar Flow Interface
- •Discretization
- •The Conjugate Heat Transfer, Laminar Flow Interface
- •The Turbulent Flow, Spalart-Allmaras Interface
- •Fluid
- •Dynamic Viscosity
- •Wall
- •Boundary Condition
- •Initial Values
- •Pressure Work
- •Viscous Heating
- •Dynamic Viscosity
- •Turbulent Non-Isothermal Flow Theory
- •References for the Non-Isothermal Flow and Conjugate Heat Transfer Interfaces
- •Selecting the Right Interface
- •The Heat Transfer Interface Options
- •Conjugate Heat Transfer, Laminar Flow
- •Conjugate Heat Transfer, Turbulent Flow
- •Coupling to Other Physics Interfaces
- •Accessing the Heat Transfer Interfaces via the Model Wizard
- •Discretization
- •Heat Transfer in Solids
- •Translational Motion
- •Translational Motion
- •Pressure Work
- •Heat Transfer in Fluids
- •Viscous Heating
- •Dynamic Viscosity
- •Heat Source
- •Heat Source
- •Initial Values
- •Initial Values
- •Boundary Conditions for the Heat Transfer Interfaces
- •Temperature
- •Temperature
- •Thermal Insulation
- •Outflow
- •Symmetry
- •Heat Flux
- •Heat Flux
- •Inflow Heat Flux
- •Inflow Heat Flux
- •Open Boundary
- •Periodic Heat Condition
- •Surface-to-Ambient Radiation
- •Boundary Heat Source
- •Boundary Heat Source
- •Heat Continuity
- •Pair Thin Thermally Resistive Layer
- •Pair Thin Thermally Resistive Layer
- •Thin Thermally Resistive Layer
- •Thin Thermally Resistive Layer
- •Line Heat Source
- •Line Heat Source
- •Point Heat Source
- •Convective Cooling
- •Out-of-Plane Convective Cooling
- •Upside Heat Flux
- •Out-of-Plane Radiation
- •Upside Parameters
- •Out-of-Plane Heat Flux
- •Domain Selection
- •Upside Inward Heat Flux
- •Change Thickness
- •Change Thickness
- •Porous Matrix
- •Heat Transfer in Fluids
- •Thermal Dispersion
- •Dispersivities
- •Heat Source
- •Equation Formulation
- •Activating Out-of-Plane Heat Transfer and Thickness
T h e o r y f o r t h e T u r b u l e n t F l o w I n t e r f a c e s
The Single-Phase Flow, Turbulent Flow Interfaces theory is described in this section:
•Turbulence Modeling
•The k- Turbulence Model
•The k- Turbulence Model
•The Low Reynolds Number k- Turbulence Model
•The Spalart-Allmaras Turbulence Model
•Inlet Values for the Turbulence Length Scale and Intensity
•Pseudo Time Stepping for Turbulent Flow Models
•References for the Single-Phase Flow, Turbulent Flow Interfaces
Turbulence Modeling
Turbulence is a property of the flow field and it is mainly characterized by a wide range of flow scales: the largest occurring scales, which depend on the geometry, the smallest, quickly fluctuating scales and all the scales there in between. The tendency for an isothermal flow to become turbulent is measured by the Reynolds number
Re = |
----UL-------- |
(4-10) |
|
|
|
where is the dynamic viscosity, the density, and U and L are velocity and length scales of the flow, respectively. Flows with high Reynolds numbers tend to become turbulent and this is the case for most engineering applications.
The Navier-Stokes equations can be used for turbulent flow simulations, although this would require a large number of elements, to capture the wide range of scales in the flow. An alternative approach is to divide the flow in large, resolved scales and small, unresolved scales. The small scales are then modeled using a turbulence model with the intension that the model is numerically less expensive than resolving all present scales. Different turbulence models invoke different assumptions on the unresolved scales resulting in different degree of accuracy for different flow cases.
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S | 143
This module includes Reynolds-averaged Navier-Stokes (RANS) models which is the model type most commonly used for industrial flow applications
R E Y N O L D S - A V E R A G E D N A V I E R - S T O K E S ( R A N S ) E Q U A T I O N S
The information below assumes that the flow fluid is incompressible and Newtonian in which case the Navier-Stokes equations take the form:
|
u |
+ u u = – pI + u + u T + F |
(4-11) |
|
t |
|
u = 0
Once the flow has become turbulent, all quantities fluctuate in time and space. It is seldom worth the extreme computational cost to obtain detailed information about the fluctuations. An averaged representation often provides sufficient information about the flow.
The Reynolds-averaged representation of turbulent flows divides the flow quantities into an averaged value and a fluctuating part,
= +
where can represent any scalar quantity of the flow. In general, the mean value can vary in space and time. This is exemplified in Figure 4-5, which shows time averaging of one component of the velocity vector for nonstationary turbulence. The unfiltered flow has a time scale t1. After a time filter with width t2 t1 has been applied, there is a fluctuating part, u i, and an average part, Ui. Because the flow field also varies on a time scale longer than t2, Ui is still time dependent but is much smoother than the unfiltered velocity ui.
144 | C H A P T E R 4 : S I N G L E - P H A S E F L O W B R A N C H
Figure 4-5: The unfiltered velocity component ui, with a time scale t1, and the averaged velocity component, Ui, with time scale t2.
Decomposition of flow fields into an averaged part and a fluctuating part, followed by insertion into the Navier-Stokes equation, then averaging, gives the Reynolds-averaged Navier-Stokes (RANS) equations:
|
U |
+ U U + |
|
= – P + U + U T + F |
|
u' u' |
(4-12) |
||||
|
t |
|
|
|
U = 0
where U is the averaged velocity field and is the outer vector product. A comparison with Equation 4-11 indicates that the only difference is the appearance of the last term on the left-hand side of Equation 4-12. This term represents interaction between the fluctuating velocities and is called the Reynolds stress tensor. This means that to obtain the mean flow characteristics, information about the small-scale structure of the flow is needed. In this case, that information is the correlation between fluctuations in different directions.
E D D Y V I S C O S I T Y
The most common by far way to model turbulence is by assuming the turbulence to be of a purely diffusive nature. The deviating part of the Reynolds stress is then expressed by
u' u' – -- trace u' u' I = – T U + U T
3
where T is the eddy viscosity, also known as the turbulent viscosity. The spherical part can be written
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S | 145
|
|
|
2 |
k |
|
||||
-- trace u' u' I = |
-- |
|||
3 |
|
|
3 |
|
where k is the turbulent kinetic energy. In simulations of incompressible flows, this term is included in the pressure, but when the absolute pressure level is of importance (in compressible flows, for example) this term must be explicitly included
T U R B U L E N T C O M P R E S S I B L E F L O W
If the Reynolds average is applied to the compressible form of the Navier-Stokes, terms of the form u appear and need to be modeled. To avoid this, a density based average, known as the Favre average, is introduced:
|
|
|
|
|
|
t + T |
|
|
|
|
˜ |
|
1 |
1 |
|
|
|
|
|||
ui |
= |
-- |
lim |
--- |
(x, )ui(x, ) d |
|||||
|
|
|
|
|
||||||
T T |
||||||||||
|
|
|
|
|
|
|
t |
|
|
|
It follows from Equation 4-13 that |
|
|
|
|
|
|
||||
|
|
|
|
|
|
˜ |
|
|
|
|
|
|
|
|
|
|
= ui |
||||
|
|
|
|
|
ui |
|||||
and a variable ui is decomposed in a mass-averaged component, component, ui according to
˜ |
|
ui = ui + ui |
(4-13)
(4-14)
˜ i , and a fluctuating u
(4-15)
Using Equation 4-14 and Equation 4-15 along with some modeling assumption for compressible flows (Ref. 7), Equation 4-13 can be written in the form
|
˜ |
|
|
|
˜ |
|
|
ui |
|
|
˜ |
ui |
|
|
|
|||||
-------- |
+ uj------- |
|||||
|
t |
|
|
|
x |
j |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
˜ |
|
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||
|
|
|
----- |
+ ------- ui = |
|
|
|
|
|
|
|
|
|
|
|||||||
|
|
|
t |
xi |
|
|
|
|
|
|
|
|
|
|
|
|
|
(4-16) |
|||
|
|
|
|
|
|
˜ |
|
|
˜ |
|
|
˜ |
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
p |
|
ui |
|
|
uj |
|
2 |
uk |
|
|
|
|
|
|
|
|
|||||
+ |
– |
|
– u |
|
|
|
|||||||||||||||
= – ------- |
+ ------ |
------- |
------- |
-- |
-------- |
|
u + Fi |
|
|||||||||||||
xi |
xj |
xj |
|
|
xi |
|
3 |
xk |
ij |
|
j |
i |
|
|
|||||||
The Favre-averaged Reynolds stress tensor is modeled using the same argument as for incompressible flows:
|
|
|
|
|
|
˜ |
|
|
|
|
|
|
|
ui |
|
– u |
u |
|
= |
||||
------- |
|||||||
|
j |
i |
|
|
|
T xj |
|
˜ |
|
|
|
˜ |
|
|
|
|
|
uj |
2 |
|
uk |
|
|
|
|
||
|
|
|
|||||||
+ ------- |
– -- |
|
-------- |
+ k |
|
||||
xi |
3 |
|
|
T xk |
|
|
|
|
ij |
146 | C H A P T E R 4 : S I N G L E - P H A S E F L O W B R A N C H
where k is the turbulent kinetic energy. Comparing Equation 4-16 to its incompressible counterpart (Equation 4-12), it can be seen that apart from the term
– 2 3 k ij , the compressible and incompressible formulations are exactly the same,
except that the free variables are ˜ instead of = . More information on ui Ui ui
modeling of turbulent compressible flows can be found in Ref. 1 and Ref. 7.
The turbulent transport equations are used in their fully compressible formulations (Ref. 8).
The k- Turbulence Model
The k- model is one of the most used turbulence models for industrial applications. This module includes the standard k- model (Ref. 1). This model introduces two additional transport equations and two dependent variables: the turbulent kinetic energy, k, and the dissipation rate of turbulence energy, . Turbulent viscosity is modeled by
k2
T = C -----
where C is a model constant.
The transport equation for k reads:
k |
|
|
T |
|
|
----- |
+ u k = |
|
– |
||
|
+ ------ |
k + Pk |
|||
t |
|
k |
|
|
where the production term is
P |
|
= |
|
2 |
u 2 |
2 |
k u |
k |
u: u + u T – -- |
– -- |
|||||
|
|
T |
3 |
|
3 |
|
The transport equation for reads:
|
|
|
T |
|
|
|
|
|
2 |
||
---- |
+ u = |
|
|
|
+ C |
-- P – C |
|
---- |
|||
|
+ ------ |
|
2 |
||||||||
t |
|
|
|
|
|
|
1k |
k |
k |
||
|
|
|
|
|
|
|
|
|
|
|
|
(4-17)
(4-18)
(4-19)
(4-20)
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S | 147
The model constants in Equation 4-17, Equation 4-18, and Equation 4-20 are determined from experimental data (Ref. 1); the values are listed in Table 4-8.
TABLE 4-8: MODEL CONSTANTS
CONSTANT |
VALUE |
C |
0.09 |
C 1 |
1.44 |
C 2 |
1.92 |
k |
1.0 |
|
1.3 |
|
|
M I X I N G L E N G T H L I M I T
Equation 4-18 and Equation 4-20 cannot be implemented directly as written. There is for example nothing that prevents division by zero. The equations are instead implemented as suggested in Ref. 9. The implementation includes an upper limit on the mixing length, lmixlim :
l |
|
= max C |
|
k3/ 2 |
|
(4-21) |
mix |
|
---------- llim |
||||
|
|
|
mix |
|
||
The mixing length is used to calculated the turbulent viscosity. lmixlim should not be active in a converged solution but is merely a tool to obtain convergence.
R E A L I Z A B I L I T Y C O N S T R A I N T S
The eddy-viscosity model of the Reynolds stress tensor can be written
2
uiuj = – 2 TSij + -3- k ij
where ij is the Kronecker delta and Sij is the strain rate tensor. The diagonal elements of the Reynolds stress tensor must be nonnegative, but calculating T from Equation 4-17 does not guarantee this. To assert that uiui 0 i , the turbulent viscosity is subjected to a realizability constraint. The constraint for 2D and 2D axisymmetry is:
T |
|
k 2 |
(4-22) |
|
---S-----ij---S-----ij- |
||||
|
3 |
|
and for 3D and 2D axisymmetry with swirl flow it reads:
148 | C H A P T E R 4 : S I N G L E - P H A S E F L O W B R A N C H
T |
|
k |
(4-23) |
|
--S----ij----S----ij-- |
||||
|
6 |
|
Combining equation Equation 4-22 with Equation 4-17 and the definition of the mixing length gives a limit on the mixing length scale:
lmix |
2-- ----- |
S---- |
--k------ |
-- (4-24) |
|
|
3 |
ij |
S |
ij |
|
|
|
|
|
||
Equivalently, combining Equation 4-23 with Equation 4-17 and Equation 4-21 gives:
lmix |
---1--- ----- |
------k-------- |
(4-25) |
|
6 |
SijSij |
|
Observe that this means that this means that there are two limitations on lmix: the realizability constraint and the imposed limit via Equation 4-21.
The effect of not applying a realizability constraint is typically excessive turbulence production. The effect is most clearly visible in stagnation points. To avoid such artifacts, the realizability constraint is always applied for the RANS models. More details can be found in Ref. 4, Ref. 5, and Ref. 6.
M O D E L L I M I T A T I O N S
The k- turbulence model relies on several assumptions, the most important of which are that the Reynolds number is high enough and that the turbulence is in equilibrium in boundary layers, which means that production equal dissipation. These assumptions limit the accuracy of the model because they are not always true. It does not, for example, respond correctly to flows with adverse pressure gradients which can result in under predicting the spatial extension of recirculation zones (Ref. 1). Furthermore, in the description of rotating flows, the model often shows poor agreement with experimental data (Ref. 2). In most cases, the limited accuracy is a fair trade-off for the amount of computational resources saved compared to more complicated turbulence models.
W A L L F U N C T I O N S
The flow close to a solid wall is for a turbulent flow is very different compared to the free stream. This means that the assumptions used to derive the k- model are not valid close to walls. While it is possible to modify the k- model so that it describes the flow in wall regions (see The Low Reynolds Number k- Turbulence Model), this is not always desirable because of the very high resolution requirements that follows. Instead,
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S | 149
analytical expressions are used to describe the flow at the walls. These expressions are known as wall functions.
The wall functions in COMSOL are such that the computational domain is assumed to start a distance w from the wall (see Figure 4-6).
Mesh cells
w
Solid wall
Figure 4-6: For wall functions, the computational domain starts a distance w from the wall.
The distance w is automatically computed so that w+ = u w , where
u C 1/4 k is the friction velocity, becomes 11.06. This corresponds to the distance from the wall where the logarithmic layer meets the viscous sublayer (or rather would meet if there was not a buffer layer in between). w is limited from below so that it never becomes smaller than half of the height of the boundary mesh cell. This means that w+ can become higher than 11.06 if the mesh is relatively coarse.
|
Always investigate the solution to check that w is small compared to the |
|
dimension of the geometry. Also check that + is 11.06 on most of the |
|
w |
|
walls. If + is much higher over a significant part of the walls, the accuracy |
|
w |
Tip |
might become compromised. Both the wall lift-off, w, and the wall |
|
lift-off in viscous units, + , are available as results and analysis variables. |
|
w |
The boundary conditions for the velocities are a no-penetration condition u n = 0 and a shear stress condition
|
u |
|
/ 4 |
|
|
n – n n n = – u |
------ max C1 |
k u |
|
||
|
u |
|
|
|
|
where = u + u T is the viscous stress tensor and
150 | C H A P T E R 4 : S I N G L E - P H A S E F L O W B R A N C H
u = |
|
|
u |
|
|
--1---------- |
- |
----- |
--- |
+-----B--- |
|
|
|
|
|||
|
----- ln w |
||||
|
v |
|
|||
where in turn v is the von Kárman constant (default value 0.41) and B is a constant that per default is set to 5.2.
The turbulent kinetic energy is subject to a homogeneous Neumann condition n k = 0 and the boundary condition for reads:
C3/ 4k3/ 2
= -----------------------
v w
See Ref. 9 and Ref. 10 for further details.
I N I T I A L V A L U E S
The default initial values for a stationary simulation are (Ref. 9),
|
|
|
u = 0 |
|
|
|
|
p = 0 |
|
|
k = |
|
10 |
2 |
|
|
-----------------------lim------- |
- |
|
|
|
|||
|
|
|
0.1 lmix |
|
|
|
|
C kinit3/ 2 |
|
|
|
= ---------------------- |
|
|
|
|
|
0.1 llim |
|
|
|
|
mix |
|
where llim |
is the mixing length limit.For time dependent simulations, the initial value |
|||
mix |
|
|
|
|
for k is instead |
|
|
|
|
|
k = |
|
------------------------------ |
- 2 |
|
|
|
lim |
|
|
|
|
0.1 lmix |
|
The k- Turbulence Model
The k- model solves for the turbulent kinetic energy, k, and for the dissipation per unit turbulent kinetic energy, . is also commonly know as the specific dissipation rate. The CFD Module has the Wilcox revised k- model (Ref. 1)
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S | 151
k |
+ u k = P |
|
– *k + + * |
|
|
k |
|
||||||||
----- |
k |
T |
|
||||||||||||
t |
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
– 2 + + |
|
|
|
|||||
------ |
+ u = --- P |
k |
T |
||||||||||||
t |
|
k |
|
|
|
|
|
|
|
|
|||||
where |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
k |
|
|
|
|
|
|
|
|
|
|
|
|
T |
= --- |
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
13 |
= |
|
f |
|
* = *f |
|
1 |
|
* = |
1 |
||||
|
= ------ |
0 |
|
|
= -- |
|
-- |
||||||||
|
25 |
|
|
|
|
0 |
2 |
|
|
|
|
2 |
|||
(4-26)
(4-27)
|
|
|
0 |
= |
13 |
|
f = |
1 + 70 |
= |
|
|
ij |
|
jk |
S |
ki |
|
|
|||
|
|
|
|
|
|
|
|||||||||||||||
|
|
|
125--------- |
1---- |
-+--------80--------- |
|
----- |
- |
---- |
---- |
|
|
|||||||||
|
|
|
|
|
|
|
|
* |
3 |
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
k 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
||||
* |
= |
|
|
|
1 + 680 |
k2 |
|
k |
= |
|
|
|
|
(4-28) |
|||||||
0 |
100--------- |
f * = |
k 0 |
----- |
3- k |
||||||||||||||||
|
|
|
|
|
1----- |
+-----400---------- |
---- |
2- |
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
k |
|
|
|
|
|
|
|
|
|
|
|
|
|
where in turn ij is the mean rotation-rate tensor
|
|
|
|
|
i |
|
|
|
j |
||
ij = |
1 |
u |
u |
||||||||
-- |
------- |
– ------- |
|||||||||
|
2 |
xj |
xi |
||||||||
and Sij is the mean strain-rate tensor |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
i |
|
|
j |
||||
Sij = |
1 |
u |
u |
||||||||
-- |
------- |
+ ------- |
|||||||||
|
2 |
xj |
xi |
||||||||
Pk is given by Equation 4-19. The following auxiliary relations for the dissipation, , and the turbulent mixing length, l , are also be used:
= * k l |
|
k |
(4-29) |
mix |
= ------ |
||
|
|
|
152 | C H A P T E R 4 : S I N G L E - P H A S E F L O W B R A N C H
