- •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
In case of a flow with variable density, Equation 10-4 and Equation 10-5 must be solved together with the equation of state that expresses the density as a function of the temperature and pressure (for instance the ideal gas law).
For incompressible flow, the density stays constant in any fluid particle, which can be expressed as
+ u = 0t p
Equation 10-4 together with the above condition simplifies into the following form of the continuity equation
u = Qbr
References for the Brinkman Equations Interface
1.D. Nield and A. Bejan, Convection in Porous Media, 3rd ed., Springer, 2006.
2.M. Le Bars and M.G. Worster, “Interfacial Conditions Between a Pure Fluid and a Porous Medium: Implications for Binary Alloy Solidification,” Journal of Fluid Mechanics, vol. 550, pp. 149–173, 2006.
T H E O R Y F O R T H E B R I N K M A N E Q U A T I O N S I N T E R F A C E | 343
T h e o r y f o r t h e F r e e a n d P o r o u s M e d i a F l o w I n t e r f a c e
The Free and Porous Media Flow Interface uses the Navier-Stokes equations for describing the flow in open regions, and the Brinkman equations for the flow in porous regions.
The same fields, u and p, are solved for in both the free flow domains and in the porous domain. This means that the pressure in the free fluid and the pressure in the pores is continuous over the interface between a free flow domain and a porous domain. It also means that continuity is enforced between the fluid velocity in the free flow and the Darcy velocity in the porous domain. This treatment is one of several possible approximations of the physics at the interface. Example of other approximations can be found in Ref. 1.
The continuity in u and p implies a stress discontinuity at the interface between a free flow domain and a porous domain. The difference corresponds to the stress absorbed by the rigid porous matrix which is implicitly treated as a consequence of the formulations of the Navier-Stokes and Brinkman equations.
Reference for the Free and Porous Media Flow Interface
1. M. L. Bars and M. G. Worster, “Interfacial Conditions Between a Pure Fluid and a Porous Medium: Implications for Binary Alloy Solidification”, Journal of Fluid Mechanics, vol. 550, pp. 149–173, 2006.
344 | C H A P T E R 1 0 : P O R O U S M E D I A A N D S U B S U R F A C E F L O W B R A N C H
T h e o r y f o r t h e T w o - P h a s e D a r c y ’ s L a w I n t e r f a c e
The The Two-Phase Darcy’s Law Interface theory describing the Darcy’s Law— Equation Formulation is described here.
Darcy’s Law—Equation Formulation
Darcy’s law states that the velocity field is determined by the pressure gradient, the fluid viscosity, and the structure of the porous medium. According to Darcy’s law, the net flux across a face of porous surface is
u = –-- |
p |
(10-6) |
|
|
|
In this equation, u is the Darcy velocity o (SI unit: m/s); is the permeability of the porous medium (SI unit: m2); is the fluid’s dynamic viscosity (SI unit: Pa·s); p is the fluid’s pressure (SI unit: Pa) and is its density (SI unit: kg/m3). Here the permeability, , represents the resistance to flow over a representative volume consisting of many solid grains and pores.
The average density and average viscosity are calculated from the fluids properties and the saturation of each fluid
|
1 = s1 |
+ s2 |
|
|
(10-7) |
||||
= s1 1 |
+ s2 2 |
(10-8) |
|||||||
1 |
= s |
|
r1 |
+ s |
|
r2 |
(10-9) |
||
-- |
1 |
------- |
2 |
------- |
|||||
|
|
|
1 |
|
|
2 |
|
||
|
|
|
|
|
|
|
|
||
The Two-Phase Darcy’s Law interface combines Darcy’s law with the continuity equation
|
p |
+ u = |
0 |
(10-10) |
t |
with the transport of the fluid content c1 = s1 1
T H E O R Y F O R T H E TW O - P H A S E D A R C Y ’ S L A W I N T E R F A C E | 345
|
c |
|
p |
+ c |
u = D |
c |
1 |
(10-11) |
t |
1 |
|
1 |
c |
|
|
here, p is the porosity, defined as the fraction of the control volume that is occupied by pores, and Dc is the capillary diffusion (SI unit: m2/s).
Inserting Darcy’s law (Equation 10-6) into the continuity equation (Equation 10-10) produces the generalized governing equation
|
|
|
|
|
–-- |
|
|
|
|
p |
+ |
|
p |
= 0 |
(10-12) |
||||
t |
|
|
|
|
|
|
|
|
|
346 | C H A P T E R 1 0 : P O R O U S M E D I A A N D S U B S U R F A C E F L O W B R A N C H
11
H i g h M a c h N u m b e r F l o w B r a n c h
There are several fluid-flow physics interfaces available with the CFD Module. The fluid-flow is grouped by type under the Fluid Flow main branch. This chapter discusses applications involving the High Mach Number Flow branch (
) in the
Model Wizard.
In this chapter:
•The High Mach Number Flow Interfaces
•Theory for the High Mach Number Interfaces
347
T h e H i g h M a c h N u m b e r F l o w I n t e r f a c e s
There are three variations of the same predefined multiphysics interface (all with the interface identifier hmnf) that combine the heat equation with either a laminar or a turbulent flow. The advantage of using the multiphysics interfaces—compared to adding the individual interfaces separately—is that predefined couplings are found in both directions. In particular, interfaces use the same definition of the density, which can therefore be a function of both pressure and temperature. Solving this coupled system of equations usually requires numerical stabilization, which the predefined multiphysics interface also sets up.
These interfaces vary only by one or two default settings (see Table 11-1), which are selected during Model Wizard selection, or from a check box or drop-down list in the
Physical Model section on the Settings window.
TABLE 11-1: THE HIGH MACH NUMBER FLOW PHYSICAL MODEL DEFAULT SETTINGS
INTERFACE |
ID |
TURBULENCE |
TURBULENCE |
HEAT |
|
|
MODEL TYPE |
MODEL |
TRANSPORT |
|
|
|
|
TURBULENCE |
|
|
|
|
MODEL |
Laminar Flow |
hmnf |
None |
N/A |
N/A |
|
|
|
|
|
Turbulent Flow, k- |
hmnf |
RANS |
k- |
Kays-Crawford |
|
|
|
|
|
Turbulent Flow, Spalart |
hmnf |
RANS |
Spalart-Allmaras |
Kays-Crawford |
Allmaras |
|
|
|
|
|
|
|
|
|
Most of the other features share the same setting options as described in this section and in Shared Interface Features. See also The Heat Transfer
Interfaces for Settings window details for the Heat Transfer in Solids
Note
feature.
348 | 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
