- •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
- •Modeling Strategy
- •Geometrical Complexities
- •Material Properties
- •Defining the Physics
- •Meshing
- •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
- •Inlet
- •Boundary Condition
- •Velocity
- •Pressure, No Viscous Stress
- •Normal 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 H i g h M a c h N u m b e r I n t e r f a c e s
In some industrial applications involving fluid flow, the flow velocity is large enough to introduce significant changes in the density and temperature of the fluid. This occurs because the thermodynamic properties of the fluid are coupled. Appreciable changes in the fluid properties are encountered as the flow velocity approaches, or exceeds, the speed of sound. As a rule of thumb, velocities greater than 0.3 times the speed of sound are considered to be high Mach number flows.
The High Mach Number Flow Interfaces theory is described in this section:
•Consistent Inlet and Outlet Conditions
•Pseudo Time Stepping for High Mach Number Flow Models
•References for the High Mach Number Flow Interfaces
Consistent Inlet and Outlet Conditions
In order to provide consistent inlet and outlet conditions for high Mach number flow the flow situation need to be monitored at the boundary. Because all flow properties are coupled, the number and combinations of boundary conditions needed for well posedness depend on the flow state—that is, with which speeds the different flow quantities are propagated at the boundary. For a detailed specification on the number of physical boundary conditions needed for well posedness, see Ref. 1.
P L A N E W A V E A N A L Y S I S O F I N V I S C I D F L O W
On inlets a plane wave analysis of the inviscid part of the flow is used in order to apply a consistent amount of boundary conditions. The method used here is described in Ref. 2.
Inviscid flow is governed by Euler’s equations, which provided that the solution is smooth and neglecting the gravity terms, can be written as
Q Fj Q
+ -------- ------- = 0
t Q xj
Considering a small region close to a boundary, the Jacobian matrices can be regarded as constant leading to a system of linear equations
362 | C H A P T E R 1 1 : H I G H M A C H N U M B E R F L O W B R A N C H
Q Fj Q
+ -------- ------- = 0
t Q 0 xj
where the subscript 0 denotes a reference state at the boundary. Assuming that the state at the boundary, described by a surface normal vector i (pointing out from the domain), is perturbed by a plane wave, the linear system of equations can be transformed to
Q |
+ A |
|
Q |
0 |
|
t |
|
0 |
------- = |
||
|
|
|
|
||
where |
|
|
|
|
|
A |
|
|
|
Fj |
|
|
= -------- |
|
|||
|
0 |
|
|
j Q 0 |
|
and corresponds to the direction normal to the boundary. In the unsteady case, Euler’s equations are known to be hyperbolic in all flow regimes; subsonic, sonic and supersonic (Ref. 3). This implies that A0 has real-valued eigenvalues and corresponding eigenvectors, and can therefore be diagonalized according to
TA0T–1 = ii = 1 2 3 4 5
The matrix T contains the (left) containing the eigenvalues. The
eigenvectors, and the matrix is a diagonal matrix eigenvalues are given exactly by
1 = iui2 = 13 = 1
4 = 1 + cs5 = 1 – cs
where cs is the speed of sound.
Using the primitive variables
T H E O R Y F O R T H E H I G H M A C H N U M B E R I N T E R F A C E S | 363
u Q = v
w p
The characteristic variables on the boundary are
|
|
|
|
|
|
|
|
|
|
|
w1 = |
– |
|
p |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
|
|
|
|
|
|
|
|
|
|
--- |
-- |
A------ |
2- |
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
w2 |
|
= |
|
|
1v – 2u |
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
-- |
-------1-------1----+---- |
-----2-------2- |
|
|
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||
w |
|
= |
1 |
|
|
|
w |
|
|
|
|
|
|
|
+ |
|
|
|
|
– |
|
|
|
1u + 2v |
|
|
|
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||
3 |
------ |
---- |
|
|
|
1 |
1 |
2 |
2 |
3 |
----- |
---- |
--- |
---- |
---- |
+--------- |
--- |
----- |
|
|
(11-3) |
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||
|
|
|
i |
|
i |
|
|
|
|
|
|
|
|
A |
iui |
|
|
|
|
|
|
1 |
|
1 |
|
2 |
2 |
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||
|
|
|
|
|
|
|
w4 |
= |
|
1 |
|
|
+ |
|
p |
|
|
|
|
|
|
|
|
|
|||||||||||
|
|
|
|
|
|
|
|
2-- |
- |
- |
--- |
-- --- |
-- |
--- |
---- |
--- |
|
---- |
--- |
------- |
|
|
|
|
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
csA |
i i |
|
csA 2 |
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
w5 |
= |
|
1 |
|
|
A |
iui |
+ |
|
|
p |
|
|
|
|
|
|
|
|
|
|||||||||
|
|
|
|
|
|
|
2-- |
– |
c----s--A- - |
-- |
--- |
---- |
--- |
-- |
--- |
--- |
------- |
-- |
|
|
|
|
|
|
|
|
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
i i |
csA 2 |
|
|
|
|
|
|
|
|
|||||||||||||
Each characteristic can be interpreted to describe a wave transporting some quantity. The first one is an entropy wave while the two next correspond to vorticity waves. The fourth and fifth, in turn, are sound waves.
Evaluating the primitive variables in Equation 11-3, the values are taken either from the outside (specified values) or from the inside (domain values), depending on the sign of the eigenvalue corresponding to that characteristic variable. At inlets a negative eigenvalue implies that the characteristic is pointing into the domain, and to ensure upwinding the outside values are used. Correspondingly, for a positive eigenvalue the inside values are used.
Variables in Equation 11-3 with a superscript A are computed as averages of the inside and outside values.
The characteristic variables are then transformed to consistent face values of the primitive variables on the boundary in the manner of
364 | C H A P T E R 1 1 : H I G H M A C H N U M B E R F L O W B R A N C H
|
|
|
|
|
|
|
|
|
b = w1 + w2 + w3 |
|
|
|
|
|
|
|
|
|
|
|
|||||||||
u |
|
= – |
|
2w2 |
|
|
|
– |
1 |
|
|
|
3w3 |
|
– |
aA |
w |
|
+ w |
|
|
|
|||||||
1 b |
------- |
------------ |
------ |
------ |
--- |
- |
- - - - - - - - - |
--- |
--- |
|
- - - - - - - - - - - - |
--------- |
---------- |
------ |
------ |
|
4 |
5 |
|
||||||||||
|
|
|
1 1 + 2 2 |
|
i i |
1 1 + 2 |
2 pA |
|
|
|
|
||||||||||||||||||
u2 b |
= |
|
2w2 |
|
|
– |
1 |
|
|
|
3w3 |
– |
aA |
|
|
|
|
|
|
(11-4) |
|||||||||
-----1--- |
----1-------+------2-------2- |
i --i |
- |
--------------- |
|
------- |
----------- |
--- |
--- |
w4 + w5 |
|||||||||||||||||||
|
|
|
|
|
|
|
|
1 1 + 2 2 pA |
|
|
|
|
|
|
|
||||||||||||||
|
|
|
u |
|
= |
1 |
|
|
|
|
w3 |
|
|
|
+ |
aA |
w |
|
+ w |
|
|
|
|
|
|||||
|
|
|
3 b |
------ |
---- |
- |
---- |
-------------- |
|
-- |
-- |
---- |
---------- |
|
3p----A-- |
|
|
|
|
|
|
||||||||
|
|
|
|
|
i |
i |
|
|
1 1 + |
2 2 |
|
|
4 |
|
|
|
5 |
|
|
|
|
||||||||
|
|
|
|
|
|
|
|
pb = a |
A |
|
2 |
w4 + w5 |
|
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||
Characteristics Based Inlets
Applying this condition implies using the plane wave analysis described in Consistent Inlet and Outlet Conditions. Using this condition a varying flow situation at the inlet can be handled. This means that changes due to prescribed variations at the boundary, due to upstream propagating sound waves, or spurious conditions encountered during the nonlinear solution procedure, can be handled in a consistent manner. The full flow condition at the inlet is specified by the following properties
Min pin Tin |
(11-5) |
from which the density is computed using the ideal gas law. The dependent variables defined by Equation 11-5 are applied as the outside values used in Equation 11-3, and the boundary values of the dependent variables are defined from Equation 11-4.
Supersonic Inlets
Applying a Supersonic inlet, the full flow at the inlet is specified using the inlet properties in Equation 11-5. Because the flow is supersonic, all characteristic at the inlet are known to be directed into the domain, and the boundary values of the dependent variables are computed directly from the inlet properties.
Hybrid Outlet
When building a model, it is recommended that it is constructed so that as little as possible happens at the outlet. In the high Mach number flow case this implies keeping the conditions either subsonic or supersonic at the outlet. This is, however, usually not possible. For example, often one boundary adjacent to the outlet consists of a no-slip wall, in which case a boundary layer is present containing a subsonic region. The Hybrid outlet feature adds the following weak expression:
T H E O R Y F O R T H E H I G H M A C H N U M B E R I N T E R F A C E S | 365
