
- •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

Wall
The Wall feature includes a set of boundary conditions describing the fluid flow condition at a wall.
•No Slip
•Slip
•Sliding Wall
•Moving Wall
•Leaking Wall
•Slip Velocity
•Velocity of Moving Wall
•Viscous Slip and Slip Length
•Thermal Creep
•Wall Functions
•Sliding Wall (Wall Functions)
•Moving Wall (Wall Functions)
B O U N D A R Y S E L E C T I O N
From the Selection list, choose the boundaries that represent solid walls.
P A I R S E L E C T I O N
If Wall is selected from the Pairs menu, choose the pair to define. An identity pair has to be created first. Ctrl-click to deselect.
B O U N D A R Y C O N D I T I O N
Select a Boundary condition for the wall. See Table 4-2 and Table 4-3 for available boundary conditions by interface.
TABLE 4-2: SINGLE-PHASE FLOW, LAMINAR WALL BOUNDARY CONDITIONS
|
BOUNDARY CONDITION |
|
|
|
|
|
|
|||
INTERFACE |
SLIP |
|
NO SLIP |
|
SLIDING |
|
MOVING |
|
LEAKING |
SLIP |
|
|
|
|
|||||||
|
|
|
|
|
WALL |
|
WALL |
|
WALL |
VELOCITY |
Laminar Flow |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Creeping Flow |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rotating Machinery, |
|
|
|
|
|
|
|
|
|
|
Laminar Flow |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 | 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

TABLE 4-3: SINGLE-PHASE FLOW, TURBULENT WALL BOUNDARY CONDITIONS
|
BOUNDARY CONDITION |
|
|
|
|
|
|
||
INTERFACE |
|
|
SLIDING WALL |
|
MOVING WALL |
|
SLIDING WALL (WALL FUNCTIONS) |
|
MOVING WALL (WALL FUNCTIONS) |
|
|
|
|
|
|||||
|
SLIP |
NO SLIP |
|
WALL FUNCTIONS |
|
||||
Turbulent Flow, |
|
|
|
|
|
|
|
|
|
k- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Turbulent Flow, |
|
|
|
|
|
|
|
|
|
k- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Turbulent Flow, |
|
|
|
|
|
|
|
|
|
Low k- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Turbulent Flow, |
|
|
|
|
|
|
|
|
|
Spalart-Allmaras |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rotating |
|
|
|
|
|
|
|
|
|
Machinery, |
|
|
|
|
|
|
|
|
|
Turbulent Flow |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
No Slip
No slip is the default boundary condition for a stationary solid wall. The condition prescribes u = 0, that is, that the fluid at the wall is not moving.
Slip
The Slip condition assumes that there are no viscous effects at the slip wall and hence, no boundary layer develops. From a modeling point of view, this may be a reasonable approximation if the important effect of the wall is to prevent fluid from leaving the domain.
• Theory for the Slip Wall Boundary Condition in the COMSOL
Multiphysics User’s Guide
See Also
B O U N D A R Y C O N D I T I O N S F O R T H E S I N G L E - P H A S E F L O W I N T E R F A C E S | 109

Sliding Wall
The Sliding wall boundary condition is appropriate if the wall behaves like a conveyor belt; that is, the surface is sliding in its tangential direction. The wall does not have to actually move in the coordinate system.
• Theory for the Sliding Wall Boundary Condition in the COMSOL
Multiphysics User’s Guide
See Also
In 2D, the tangential direction is unambiguously defined by the direction of the boundary, but the situation becomes more complicated in 3D. For this reason, this boundary condition has slightly different definitions in
the different space dimensions. Enter the components of the Velocity of
2D the tangentially moving wall Uw (SI unit: m/s). In axial symmetry, if Swirl flow is selected in the interface properties, also specify a velocity, vw, in thedirection.
Enter the components of the Velocity of the sliding wall uw (SI unit: m/s). If the velocity vector entered is not in the plane of the wall, COMSOL
projects it onto the tangential direction. Its magnitude is adjusted to be the
3D
same as the magnitude of the vector entered.
Moving Wall
If the wall moves, so must the fluid. Hence, this boundary condition prescribes u = uw. Enter the components of the Velocity of moving wall uw (SI unit: m/s).
Specifying this boundary condition does not automatically cause the associated wall to move. An additional Moving Mesh interface needs to
be added to physically track the wall movement in the spatial reference
Important
frame.
110 | 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

• The Moving Mesh Interface in the COMSOL Multiphysics User’s
Guide
See Also
Leaking Wall
Use this boundary condition to simulate a wall where fluid is leaking into or leaving through a perforated wall u = ul. Enter the components of the Fluid velocity ul
(SI unit: m/s).
Slip Velocity
In the microscale range, the flow at a boundary is seldom strictly no slip or slip. Instead, the boundary condition is something in between, and there is a Slip velocity at the boundary. Two phenomena account for this velocity: the noncontinuum effect in viscosity and flow induced by a thermal gradient along the boundary.
|
This boundary condition is not available if the Use memory-efficient form |
|
|
check box is selected (click the Show button ( |
) and select Advanced |
Note |
Physics Interface Options>Advanced Settings to display the section). |
|
|
|
|
• Theory for the Slip Velocity Wall Boundary Condition
See Also
Velocity of Moving Wall
Enter the components for the Velocity of moving wall uw (SI unit: m/s).
Viscous Slip and Slip Length
If the Use viscous slip check box is selected, the default Slip length Ls (SI unit: m) is User defined. Enter another value or expression if the default of 1·10 7 m is not applicable.
B O U N D A R Y C O N D I T I O N S F O R T H E S I N G L E - P H A S E F L O W I N T E R F A C E S | 111

If Maxwell’s Model is selected, enter values or expressions for the Tangential momentum accommodation coefficient av and the Mean free path (SI unit: m).
The tangential accommodation coefficients are typically in the range of 0.85 to 1.0 and can be found in G. Kariadakis, A. Beskok, and N. Aluru, Tip Microflows and Nanoflows, Springer Science and Business Media, 2005.
Thermal Creep
If the Use thermal creep check box is selected, it activates the thermal creep component of the boundary condition. Enter the fluid’s Temperature T (SI unit: K) and the Thermal slip coefficient T. The default temperature is 293.15 K and the default thermal slip coefficient is 0.75.
The thermal slip coefficients are typically between 0.3 and 1.0 and can be found in G. Kariadakis, A. Beskok, and N. Aluru, Microflows and
Tip Nanoflows, Springer Science and Business Media, 2005.
M O R E W A L L B O U N D A R Y C O N D I T I O N S 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
Wall Functions
The Wall Functions boundary condition applies wall functions to a solid walls in a turbulent flow. Wall functions are used to model the thin region near the wall with high gradients in the flow variables.
Sliding Wall (Wall Functions)
The Sliding Wall (Wall Functions) boundary condition applies wall functions to a wall in a turbulent flow where the velocity magnitude in the tangential direction of the wall is prescribed. The tangential direction is determined in the same manner as in the Sliding Wall feature. Enter the component values or expressions for the Velocity of sliding wall uw (SI unit: m/s).
Moving Wall (Wall Functions)
Specifying this boundary condition does not automatically cause the
associated wall to move.
Important
112 | 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