- •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
Typographical Conventions
All COMSOL user guides use a set of consistent typographical conventions that make it easier to follow the discussion, understand what you can expect to see on the Graphical User Interface (GUI), and know which data must be entered into various data-entry fields.
In particular, these conventions are used throughout the documentation:
•Click text highlighted in blue to go to other information in the PDF. When you are using the online help desk in COMSOL Multiphysics, these links also work to other Modules, model examples, and documentation sets.
•A boldface font indicates that the given word(s) appear exactly that way on the COMSOL Desktop (or, for toolbar buttons, in the corresponding tip). For
example, the Model Builder window () is often referred to and this is the window that contains the model tree. As another example, the instructions might say to click
the Zoom Extents button (), and this means that when you hover over the button with your mouse, the same label displays on the COMSOL Desktop.
•The names of other items on the COMSOL Desktop that do not have direct labels contain a leading uppercase letter. For instance, the Main toolbar is often referred to— the horizontal bar containing several icons that are displayed on top of the user interface. However, nowhere on the COMSOL Desktop, nor the toolbar itself, includes the word “main.”
•The forward arrow symbol > are instructions to select a series of menu items in a specific order. For example, Options>Results is equivalent to: From the Options menu, select Results.
•A Code (monospace) font indicates you are to make a keyboard entry in the user interface. You might see an instruction such as “Enter (or type) 1.25 in the Current density field.” The monospace font also is an indication of programming code. or a variable name. An italic Code (monospace) font indicates user inputs and parts of names that can vary or be defined by the user.
•An italic font indicates the introduction of important terminology. Expect to find an explanation in the same paragraph or in the Glossary. The names of other user guides in the COMSOL documentation set also have an italic font.
T H E D I F F E R E N C E B E T W E E N N O D E S , B U T T O N S , A N D I C O N S
Node: A node is located in the Model Builder and has an icon image to the left of it.
Right-click a node to open a context menu and to perform actions.
24 | C H A P T E R 1 : I N T R O D U C T I O N
Button: Click a button to perform an action. Usually located on a toolbar (the main toolbar or the Graphics toolbar, for example), or in the upper-right corner of a Settings window.
Icon: An icon is an image that displays on a window (for example, the Model Wizard or Model Library) or displays in a context menu when a node is right-clicked. Sometimes selecting an item with an icon from a node’s context menu adds a node with the same image and name, sometimes it simply performs the action indicated (for example, Delete, Enable, or Disable).
K E Y T O T H E G R A P H I C S
Throughout the documentation, additional icons are used to help navigate the information. These categories are used to draw your attention to the information based on the level of importance, although it is always recommended that you read these text boxes.
Caution
A Caution icon is used to indicate that the user should proceed carefully and consider the next steps. It might mean that an action is required, or if the instructions are not followed, that there will be problems with the model solution, for example:
This may limit the type of boundary conditions that you can set on the
eliminated species. The species selection must be carefully done.
Caution
Important
An Important icon is used to indicate that the information provided is key to the model building, design, or solution. The information is of higher importance than a note or tip, and the user should endeavor to follow the instructions, for example:
Do not select any domains that do not conduct current, for example, the
gas channels in a fuel cell.
Important
A B O U T T H E C F D M O D U L E | 25
Note
A Note icon is used to indicate that the information may be of use to the user. It is recommended that the user read the text, for example:,
Undo is not possible for nodes that are built directly, such as geometry
objects, solutions, meshes, and plots.
Note
Tip
A Tip icon is used to provide information, reminders, short cuts, suggestions of how to improve model design, and other information that may or may not be useful to the user, for example:
It can be more accurate and efficient to use several simple models instead
of a single, complex one.
Tip
See Also
The See Also icon indicates that other useful information is located in the named section. If you are working on line, click the hyperlink to go to the information directly. When the link is outside of the current document, the text indicates this, for example:
|
• |
Theory for the Single-Phase Flow Interfaces |
|
• |
The Laminar Flow Interface in the COMSOL Multiphysics User’s |
See Also |
|
Guide |
|
|
|
Model
The Model icon is used in the documentation as well as in COMSOL Multiphysics from the View>Model Library menu. If you are working online, click the link to go to the PDF version of the step-by-step instructions. In some cases, a model is only available if you have a license for a specific Module. These examples occur in the
26 | C H A P T E R 1 : I N T R O D U C T I O N
COMSOL Multiphysics User’s Guide. The Model Library path describes how to find the actual model in COMSOL Multiphysics.
|
• Acoustics of a Muffler: Model Library path |
|
|
COMSOL_Multiphysics>Acoustics>automotive_muffler |
|
Model |
• If you have the RF Module, see Radar Cross Section: Model Library |
|
path RF_Module>Tutorial_Models>radar_cross_section. |
||
|
Space Dimension Icons
Another set of icons are also used in the Model Builder—the model space dimension is indicated by 0D , 1D , 1D axial symmetry , 2D , 2D axial symmetry , and 3D icons. These icons are also used in the documentation to clearly list
the differences to an interface, feature node, or theory section, which are based on space dimension.
The following tables are examples of these space dimension icons.
3D models often require more computer power, memory, and time to solve. The extra time spent on simplifying a model is time well spent when
3D solving it.
Remember that modeling in 2D usually represents some 3D geometry
under the assumption that nothing changes in the third dimension.
2D
A B O U T T H E C F D M O D U L E | 27