Pipe Flow Module Users Guide
Pipe Flow Module Users Guide
Pipe Flow Module Users Guide
User’s Guide
Pipe Flow Module User’s Guide
© 1998–2019 COMSOL
Protected by patents listed on www.comsol.com/patents, and U.S. Patents 7,519,518; 7,596,474;
7,623,991; 8,457,932; 8,954,302; 9,098,106; 9,146,652; 9,323,503; 9,372,673; 9,454,625; and
10,019,544. Patents pending.
This Documentation and the Programs described herein are furnished under the COMSOL Software License
Agreement (www.comsol.com/comsol-license-agreement) and may be used or copied only under the terms
of the license agreement.
COMSOL, the COMSOL logo, COMSOL Multiphysics, COMSOL Desktop, COMSOL Compiler,
COMSOL Server, and LiveLink are either registered trademarks or trademarks of COMSOL AB. All other
trademarks are the property of their respective owners, and COMSOL AB and its subsidiaries and products
are not affiliated with, endorsed by, sponsored by, or supported by those trademark owners. For a list of such
trademark owners, see www.comsol.com/trademarks.
Version: COMSOL 5.5
Contact Information
Visit the Contact COMSOL page at www.comsol.com/contact to submit general
inquiries, contact Technical Support, or search for an address and phone number. You can
also visit the Worldwide Sales Offices page at www.comsol.com/contact/offices for
address and contact information.
If you need to contact Support, an online request form is located at the COMSOL Access
page at www.comsol.com/support/case. Other useful links include:
Chapter 1: Introduction
CONTENTS |3
Pressure . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Bend . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Valve . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Contraction/Expansion . . . . . . . . . . . . . . . . . . . . 33
Pump . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
T-Junction . . . . . . . . . . . . . . . . . . . . . . . . . 35
Y-Junction . . . . . . . . . . . . . . . . . . . . . . . . . 37
n-Way Junction . . . . . . . . . . . . . . . . . . . . . . . 39
Internal Pressure Lock. . . . . . . . . . . . . . . . . . . . . 40
Pipe Flow Physics Feature Symbols . . . . . . . . . . . . . . . . 40
CONTENTS |4
Reference for the Water Hammer Interface . . . . . . . . . . . . 66
CONTENTS |5
The Reacting Pipe Flow Interface 92
Edge, Boundary, Point, and Pair Nodes for the Reacting Pipe Flow
Interface. . . . . . . . . . . . . . . . . . . . . . . . . 93
Pipe Properties . . . . . . . . . . . . . . . . . . . . . . . 94
Initial Values . . . . . . . . . . . . . . . . . . . . . . . . 95
Fluid . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Fluid Properties . . . . . . . . . . . . . . . . . . . . . . . 96
Convection and Diffusion . . . . . . . . . . . . . . . . . . . 96
6 | CONTENTS
Chapter 6: Pipe Mechanics
CONTENTS |7
8 | CONTENTS
1
Introduction
This guide describes the Pipe Flow Module, an optional add-on package for
COMSOL Multiphysics® designed to model and simulate incompressible and
weakly compressible flow, heat, and mass transfer in pipes and channels with the
Pipe Flow features. Compressible hydraulic transients and acoustics waves can also
be modeled using the Water Hammer features and Pipe Acoustics features,
respectively. To analyze the stresses and deformation in the pipes, the Pipe
Mechanics interface is available. The Pipe Flow Module can address problems
involving flow velocity, pressure, temperature, stresses, deformation and sound
waves in cooling systems, ventilation systems, pipe systems in the chemical
processing industry, and lines in the oil and gas industry.
This chapter introduces you to the capabilities of this module. A summary of the
physics interfaces and where you can find documentation and model examples is
also included. The last section is a brief overview with links to each chapter in this
guide.
9
About the Pipe Flow Module
What Can the Pipe Flow Module Do?
The Pipe Flow Module is intended for the modeling and simulation of flow of fluids
in the pipes and channel systems, as well as compressible hydraulic transients and
acoustics waves. Typical simulations yield the velocity, pressure variation, and
temperature in systems of pipes and channels. Hydraulic transients resulting from a
valve that is closed rapidly in a pipe network is referred to as water hammer, which can
be modeled too. This module has extra functionality for computing displacements,
rotations, stresses, and strains in the pipes. The module can be used to design and
optimize complex cooling systems in turbines, ventilation systems in buildings, pipe
systems in chemical processes, and lines in the oil and gas industry.
In common for pipes and channels that can be modeled using the Pipe Flow Module
is that the pipe length is large enough so that the flow inside can be considered fully
developed. Piping components such as bends, valves, T-junctions, contractions/
expansions, and pumps are also available in the module.
• The Pipe Flow interface computes the pressure and velocity field in isothermal pipe
systems.
• The Heat Transfer in Pipes interface computes the energy balance in pipe systems
but receives the flow field as a value or as a known solved field. Wall heat transfer to
the surroundings is included.
• The Transport of Diluted Species in Pipes interface solves a mass balance equation
for pipes in order to compute the concentration distribution of a solute in a dilute
solution, considering diffusion, dispersion, convection, and chemical reactions.
• The Nonisothermal Pipe Flow interface is a multiphysics interface that solves the
flow, pressure, and temperature simultaneously and fully coupled.
• The Reacting Pipe Flow interface is a multiphysics interface that solves the flow,
pressure, temperature, and reacting species transport simultaneously and fully
coupled.
• The Water Hammer interface solves rapid hydraulic transients in pipe systems,
taking the elastic properties of both the fluid and pipe wall into account.
10 | CHAPTER 1: INTRODUCTION
• The Pipe Acoustics, Frequency Domain interface models sound waves in flexible
pipe systems, with the assumption of harmonic vibrations.
• The Pipe Acoustics, Transient interface models sound waves in flexible pipe systems
with arbitrary transient variations in pressure.
• The Pipe Mechanics interface analyzes the stresses and deformations in pipes.
The physics interfaces in the module define the conservation of momentum, energy,
and mass of a fluid inside a pipe or channel system. The flow, pressure, temperature,
and concentration fields across the pipe cross sections are modeled as cross-section
averaged quantities, which only vary along the length of the pipes and channels. The
pressure losses along the length of a pipe or in a pipe component are described using
friction factor expressions. A broad range of built-in expressions for Darcy friction
factors cover the entire flow regime from laminar to turbulent flow, Newtonian and
non-Newtonian fluids, different cross-sectional geometries, and a wide range of
relative surface roughness values. In addition to the continuous frictional pressure
drop along pipe stretches, pressure drops due to momentum changes in components
such as bends, contractions, expansions, T-junctions and valves are computed through
an extensive library of industry standard loss coefficients. Pumps are also available as
components.
Acoustics
Pipe Acoustics
Single-Phase Flow
12 | CHAPTER 1: INTRODUCTION
PHYSICS INTERFACE ICON TAG SPACE AVAILABLE STUDY TYPE
DIMENSION
For detailed information about materials and the Liquids and Gases
Materials Database, see Materials in the COMSOL Multiphysics
Reference Manual.
14 | CHAPTER 1: INTRODUCTION
displays information about that feature (or click a node in the Model Builder followed
by the Help button ( ). This is called topic-based (or context) help.
• In the Model Builder or Physics Builder click a node or window and then
press F1.
• On the main toolbar, click the Help ( ) button.
• From the main menu, select Help>Help.
• Press Ctrl+F1.
• From the File menu select Help>Documentation ( ).
• Press Ctrl+F1.
• On the main toolbar, click the Documentation ( ) button.
• From the main menu, select Help>Documentation.
Once the Application Libraries window is opened, you can search by name or browse
under a module folder name. Click to view a summary of the model or application and
its properties, including options to open it or its associated PDF document.
To include the latest versions of model examples, from the Help menu
select ( ) Update COMSOL Application Library.
16 | CHAPTER 1: INTRODUCTION
[email protected]. An automatic notification and a case number are sent to you by
email. You can also access technical support, software updates, license information, and
other resources by registering for a COMSOL Access account.
18 | CHAPTER 1: INTRODUCTION
THE MULTIPHYSICS COUPLINGS
The Multiphysics Couplings chapter describes the multiphysics couplings available
with the Pipe Flow Module. These are the built-in conditions that couple physics
together.
This chapter has information about the physics interfaces in the Pipe Flow Module
found under the Fluid Flow branch ( ).
See The Single-Phase Flow, Laminar Flow Interface in the COMSOL Multiphysics
Reference Manual for other Fluid Flow interface and feature node settings.
21
Mechanisms for Modeling Fluid Flow
The Fluid Flow branch ( )has a number of subbranches to describe momentum
transport. The main focus of this physics area is to model fluids transported in pipe
networks in 2D and 3D space, calculating velocity, flow rate, and pressure drops. Pipe
flow including heat and mass transfer can also be modeled.
The Pipe Flow Interface ( ), found under the Single-Phase Flow branch ( ) when
adding a physics interface, is used to model incompressible and weakly compressible
fluid flow in piping systems. The equations that are solved are 1D equations that live
on 2D boundary segments or 3D edge segments.
The Nonisothermal Pipe Flow Interface ( ), found under the Nonisothermal Flow
branch ( ) when adding a physics interface, solves a temperature equation together
with the equations for compressible flow.
The Water Hammer Interface ( ), found under the Fluid Flow>Single-Phase Flow
branch ( ) when adding a physics interface, has the equations and boundary
conditions for modeling rapid pressure transients in a pipe systems.
More advanced descriptions 2D and 3D continuum fluid flow, such as turbulent and
multiphase flow, can be found in the CFD Module. More extensive descriptions of heat
transfer, such as in turbulent flow or involving radiation, can be found in the Heat
Transfer Module. Furthermore, some applications involving the flow of liquids and
gases in porous media are better handled by the Chemical Reaction Engineering
Module.
When this physics interface is added, these default nodes are also added to the Model
Builder — Fluid Properties, Pipe Properties, Pressure, Lossless Fitting and Initial Values.
Then, from the Physics toolbar, add other nodes that implement, for example,
boundary conditions and volume forces. You can also right-click Pipe Flow to select
physics features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is pfl.
FLUID MODEL
Select a Fluid model — Newtonian (the default), Power Law, or Bingham.
For Newtonian select Single phase (the default), Gas-Liquid, friction factor multiplier, or
Gas-Liquid, effective Reynolds number.
When Gas-Liquid, friction factor multiplier or Gas-Liquid, effective Reynolds number are
selected, the Phase Fractions node is automatically added as a default node. Selecting
these options also enables the choice of Liquid material and Gas material for the Fluid
Properties node.
For more information about the fluid models, see the section Theory for the Pipe Flow
Interface.
DISCRETIZATION
The default discretization for Pipe Flow interface is Linear — that is, piecewise linear
interpolation for tangential velocity and pressure.
FURTHER READING
• For an explanation of the tangential velocity, see Theory for the Pipe
Flow Interface.
• Edge, Boundary, Point, and Pair Nodes for the Pipe Flow Interface
• Theory for the Pipe Flow Interface
Edge, Boundary, Point, and Pair Nodes for the Pipe Flow Interface
The Pipe Flow Interface has these boundary, edge, point, and pair nodes, listed in
alphabetical order, available from the Physics ribbon toolbar (Windows users), Physics
context menu (Mac or Linux users), or right-click to access the context menu (all
users).
• Inlet • Pump
• No Flow • Valve
• Outlet • Y-Junction
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Fluid Properties
The Fluid Properties node is always present and adds the momentum and mass balance
equations solved by the physics interface. If volume forces are needed in the model,
they should be added by a Volume Force node. The node also provides settings for
defining the material properties of the fluid. If a Liquid-Gas option is selected in the
Pipe Flow node settings, properties for both liquid and gas can be entered here.
FLUID PROPERTIES
This subsection displays when Newtonian>Single phase is selected as the Fluid model for
the Pipe Flow interface.
The default Density ρ (SI unit: kg/m3) uses the value From material. For User defined
enter a different value or expression.
The default Dynamic viscosity μ (SI unit: Pa·s) uses the value From material and
describes the relationship between the shear rate and shear stresses in a fluid.
Intuitively, water and air have a low viscosity, and substances often described as thick
(such as oil) have a higher viscosity.
Select the Liquid material — Edge material (3D components) or Boundary material (2D
components). If you have more than one material added to the model, you can toggle
this setting between the different designated materials.
The default Density ρL (SI unit: kg/m3) uses the value From material. You can change
this to User defined to enter a different value or expression.
The default Dynamic viscosity μL (SI unit: Pa·s) uses the value From material and
describes the relationship between the shear rate and shear stresses in a fluid.
Intuitively, water and air have a low viscosity, and substances often described as thick
(such as oil) have a higher viscosity.
GAS PROPERTIES
This section displays when Newtonian is selected as the Fluid model for the Pipe Flow
interface and then Gas-Liquid, friction factor multiplier or Gas-Liquid, effective Reynolds
number are also chosen.
Select the Gas material — Edge material (3D components) or Boundary material (2D
components). If you have more than one material added to the model, you can toggle
this setting between the different designated materials.
The default Density ρG (SI unit: kg/m3) uses the value From material. For User defined
enter a different value or expression.
The default Dynamic viscosity μG (SI unit: Pa·s) uses the value From material and
describes the relationship between the shear rate and shear stresses in a fluid.
The default is the Extended Einstein which is considered the most accurate method for
a large range of gas fractions. The list of options include
Volume Force
The Volume Force node specifies the volume force F on the right-hand side of the flow
equation. Use it, for example, to incorporate the effects of gravity in a model.
If several volume force nodes are added to the same domain, then the sum of all
contributions are added to the momentum equations.
VOLUME FORCE
Enter the components of the Volume force F (SI unit: N/m3).
Pipe Properties
The Pipe Properties node is used to define the pipe shape, flow resistance, and surface
roughness.
PIPE SHAPE
Select a pipe shape from the list — Not set (the default), Circular, Square, Rectangular,
Concentric circular annular, or User defined.
• For Circular enter a value or expression for the Inner diameter di (SI unit: m). The
default is 10 cm.
• For Square enter a value or expression for the Inner width wi (SI unit: m). The
default is 5 cm.
• For Rectangular enter a value or expression for the Inner width wi (SI unit: m. The
default is 5 cm) and Inner height hi (SI unit: m. The default is 10 cm).
• For Concentric circular annular enter a value or expression for the Inner diameter,
outer pipe di,outer (SI unit: m. The default is 10 cm) and Outer diameter, inner pipe
do, inner(SI unit: m. The default is 0 cm).
• For User defined enter a value or expression for the Cross-sectional area Ac (SI unit:
m2). The default is 0.01 m2. Enter the Wetted perimeter Z (SI unit: m). The default
is 0.4 m.
Newtonian Fluids
Select Churchill (the default), Stokes, Wood, Haaland, Colebrook, Von Karman,
Swamee-Jain, or User defined.
Non-Newtonian Fluids
For Power-law and Bingham fluids in tubes of circular cross section, the Irvine, Stokes,
and Darby friction models are available.
For more information about the friction models, see Expressions for the Darcy Friction
Factor.
SURFACE ROUGHNESS
This section is available if Churchill, Wood, Haaland, Von Karman, or Swamee-Jain is
selected as the Friction model.
Select a Surface roughness from the list — Smooth (0 mm), Drawn tubing (0.0015 mm)
(the default), Glass (0.0015 mm), Thermoplastics (0.0015 mm), Commercial steel (0.046
mm), Wrought iron (0.046 mm), Steel welded seamless (0.061 mm), Asphalted cast iron
(0.12 mm), Galvanized iron (0.15 mm), Cast iron (0.26 mm), Wood stave (0.5 mm), Copper
and brass (0.61 mm), Concrete (1.5 mm), Riveted steel (4.5 mm), or User defined.
For User defined enter a value or expression for the Roughness (SI unit: m).
Phase Fractions
This node is available when Newtonian is selected as the Fluid model for the Pipe Flow
interface and then Gas-Liquid, friction factor multiplier or Gas-Liquid, effective Reynolds
number are also chosen.
Use the Phase Fractions node to define the gas fraction as area averaged void fraction
or a quality mass fraction.
• For Area averaged void fraction (volume fraction) enter an Area averaged void fraction
φG (dimensionless). The default is 0.
• For Quality (mass fraction) enter a Quality ωG (dimensionless). The default is 0.
Initial Values
The Initial Values node adds initial values for the pressure and tangential velocity that
can serve as an initial condition for a transient simulation or as an initial guess for a
nonlinear solver.
INITIAL VALUES
Enter values or expressions for the initial value of the Pressure p (SI unit: Pa) and the
Tangential Velocity u (SI unit: m/s).
Inlet
Use the Inlet node to set the velocity, volumetric flow rate, or mass flow rate inlet
conditions that describe the fluid flow condition at an inlet.
In most cases the inlet boundary conditions appear, some of them slightly
modified, in the Outlet type as well. This means that there is nothing in
the mathematical formulations to prevent a fluid from leaving the domain
through boundaries where the Inlet type is specified.
INLET SPECIFICATION
Select a Specification for the inlet — Mass flow rate (the default), Velocity, Volumetric
flow rate. Additionally, Pump and Reservoir options are available for the Pipe Flow
interface.
• For Mass flow rate, enter a value or expression for the Mass flow rate qm,0 (SI unit:
kg/s). The default is 0 kg/s.
• For Velocity, enter a value or expression for the Velocity u0 (SI unit: m/s). The
default is 0 m/s.
–6
10 p 0 M
u = ----------------------------- ⋅ Q SCCM
60T 0 AρR u
• For Pump, enter a value for the External pressure pext (SI unit: Pa) and define the
relationship between the head and the volumetric flow rate— Pump curve data, or
User defined.
User Defined
With the User defined option, an expression for the Pump curve can be specified. The
flow rate across the point where this boundary condition is applied is defined by
phys_id.V0 where phys_id is the name (by default for pipe flow, phys_id is pfl).
In order to avoid unexpected behavior, the function used for the pump curve returns
the maximum of the user-defined function and 0.
• For Reservoir, enter values for reservoir density and pressure. Select a Entrance type
— Projecting (K = 1) (the default), Sharp edged (K = 0.5), Rounded (K = 0.05), or User-
defined loss coefficient.
All of the formulations for the Outlet type are also available, possibly
slightly modified, in other boundary types as well. This means that there
is nothing in the mathematical formulations to prevent a fluid from
entering the domain through boundaries where the Outlet boundary type
is specified.
No Flow
Use the No Flow node to define plugged exits or inlets (no flow).
Lossless Fitting
The Lossless Fitting node models junctions without losses. It is a default feature,
imposed at all junction points, that will be overridden by subsequent Bend, Valve,
Contraction/Expansion, Pump, T-junction, Y-junction, and n-way junction nodes
applied at overlapping points.
Pressure
Use the Pressure node to define the boundary pressure at points. The pressure
condition can only be applied to a point which is connected to exactly one edge (inlet
or outlet of a system).
BOUNDARY PRESSURE
Enter a value or expression for the Pressure p0 (SI unit: Pa). The default is 101325 Pa.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
The Bend can only be applied to a point which is connected to exactly two
edges.
BEND SPECIFICATION
Select a Bend — 90 degrees standard elbow (K = 0.9) (the default), 45 degrees standard
elbow (K = 0.5), or User-defined loss coefficient. For User-defined loss coefficient enter a
Loss coefficient Kf (dimensionless).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
Valve
Use the Valve node to introduce additional pressure losses due to irreversible turbulent
friction in a point associated with the position of a valve in the pipe system. Select a
predefined valve type or provide a user-defined loss coefficient.
The Valve can only be applied to a point which is connected to exactly two
edges.
VALVE SPECIFICATION
Select a Valve — Globe valve (K = 10) (the default), Angle valve (K = 4.4), Gate valve (K
= 0.2), Ball valve (K = 4.5), Butterfly valve (K = 0.6), Swing check (K = 2.5), or
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
Contraction/Expansion
Use the Contraction/Expansion node to introduce additional pressure losses due to
irreversible turbulent friction in a point associated with the position of a contraction or
expansion in the pipe system.
CONTRACTION SPECIFICATION
Select an option from the Friction list — Sudden (the default), Gradual, or User-defined
loss coefficient.
• For Gradual, enter an Angle of convergence α (SI unit: radians). The default is
0 radians.
• For User-defined loss coefficient, enter a Loss coefficient Kf (dimensionless). The
default is 0.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
PUMP SPECIFICATION
Select a Pump direction (available options are based on space dimension) — Positive X
direction (the default), Negative X direction, Positive Y direction, Negative Y direction,
Positive Z direction, or Negative Z direction. The pressure is increases in the direction
specified in the Pump direction.
Select an option from the Type list — Fixed flow rate (the default), Downstream
pressure, Pressure increase, and Pump curve.
• For Fixed flow rate, enter a value or expression for the Mass flow rate mpump (SI unit:
kg/s). The default is 0 kg/s.
• For Downstream pressure, enter a value or expression for the Pressure pdown (SI unit:
Pa). The default is 101 325 Pa.
• For Pressure increase, enter a value or expression for the Pressure increase Δp (SI
unit: Pa). The default is 0 Pa.
• Pump curve specifies an relationship between the head and the volumetric flow rate
— Pump curve data, or User defined.
T-Junction
Use the T-Junction node to specify additional energy losses due to irreversible turbulent
friction in a T-junction, which can act as a split or a merger.
SELECTION SETTINGS
The automatic search for T-junction points is possible. If you want to use this option,
clear the Manual control of selections check box, the selections will be replaced by the
automatic ones. If you want to modify the selection, select Manual control of selections
again.
FRICTION SPECIFICATION
Several options to specify pressure drop across the junction branches are available.
The Loss coefficients option allows you to enter a value or expression for the Loss
coefficient main branch Kmain for the energy loss between main branch and junction
(the default is 0.1) and the Loss coefficient side branch Kside for the energy loss between
1 2 1 2
p main, 1 + --- ρ main, 1 u main, 1 – p junction = --- K f, main ρ main, 1 u main, 1
2 2
1 2 1 2
p main, 2 + --- ρ main, 2 u main, 2 – p junction = --- K f, main ρ main, 2 u main, 2
2 2
1 2 1 2
p side + --- ρ side u side – p junction = --- K f, side ρ side u side .
2 2
For Nonisothermal Pipe Flow and Reacting Pipe Flow interface interfaces, the
respective pressure drops are calculated as
1 2
p main, 1 – p junction = --- K f, main ρu main, 1
2
1 2
p main, 2 – p junction = --- K f, main ρu main, 2
2
1 2
p side – p junction = --- K f, side ρu side .
2
The advantage of using loss coefficients is that they are readily available in engineering
tables and textbooks.
The Loss coefficients, extended model option is available for the Pipe Flow interface.
This option allows you to specify the loss coefficient in more details and account for
the flow directions. Enter values or expressions for the six dimensionless loss
coefficients. See Figure 2-2.
0 1 2
p av,in = p j,out + --- ρ j,out u j,out
2
Use the Pressure drops option to specify a value or expression for the pressure drop
explicitly for each branch respectively:
Δp 1, s = p main, 1 – p side
Δp 2, s = p main, 2 – p side
Main 1 is the main pipe segment that has the lower index of the two in the selection
list (for example, see the list in Pipe Properties).
ADVANCED SETTINGS
The angle tolerance is used to specify the tolerance to a geometry not being a perfect
T. Increase the tolerance if you get an error message but accept the geometry even if
does not fulfill the requirements for an Y-shape.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
Y-Junction
Use this feature to specify additional losses due to irreversible turbulent friction in a
Y-junction, which can act as a split or a merger. The pressure drop is calculated
according to
1 2
Δp = --- K f ρu ,
2
The automatic search for Y-junction points is possible. If you want to use this option,
clear the Manual control of selections check box, the selections will be replaced by the
automatic ones. If you want to modify the selection, select Manual control of selections
again.
FRICTION SPECIFICATION
The Loss coefficients options allows you to enter a value or expression for the Loss
coefficient main branch Kside for the energy loss between side and junction and the Loss
coefficient side branch Kmain for the energy loss between the main branch and junction
(the default is 1.2). Both are dimensionless numbers. See Figure 2-3. The respective
pressure losses are calculated as
1 2 1 2
p side, 1 + --- ρ side, 1 u side, 1 – p junction = --- K f, side ρ side, 1 u side, 1
2 2
1 2 1 2
p side, 2 + --- ρ side, 2 u side, 2 – p junction = --- K f, side ρ side, 2 u side, 2
2 2
1 2 1 2
p main + --- ρ main u main – p junction = --- K f, main ρ main u main .
2 2
For Nonisothermal Pipe Flow and Reacting Pipe Flow interface interfaces, the
respective pressure drops are calculated as
1 2
p side, 2 – p junction = --- K f, side u side, 2
2
1 2
p main – p junction = --- K f, main ρu main .
2
The advantage of using loss coefficients is that they are readily available in engineering
tables and textbooks.
Use the Pressure drops option to specify a value or expression for the pressure drop
explicitly for each branch respectively:
Δp 1, m = p main – p side, 1
Δp 2, m = p main – p side, 2
Side 1 is the main pipe segment that has the lower index of the two in the selection list
(for example, see the list in Pipe Properties).
ADVANCED SETTINGS
The angle tolerance is used to specify the tolerance to a geometry not being a perfect
Y. Increase the tolerance if you get an error message but accept the geometry even if
does not fulfill the requirements for an Y-shape.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
n-Way Junction
Use the n-Way Junction feature to specify additional pressure losses due to irreversible
turbulent friction in an n-way junction that does not fall into the categories Y- or
FRICTION SPECIFICATION
The Loss coefficients options allows you to enter a value or expression for the Loss
coefficient main branch Kbranch for the energy loss between branch and junction.
1 2 1 2
p branch, i + --- ρ branch, i u branch, i – p junction = --- K branch ρ branch, i u branch, i
2 2
For Nonisothermal Pipe Flow and Reacting Pipe Flow interfaces, the pressure drop is
calculated as
1 2
p branch, i – p junction = --- K branch ρu branch, i .
2
Bend Bend
Valve Valve
Pump Pump
Contraction/Expansion Contraction/Expansion
T-Junction T-Junction
Y-Junction Y-Junction
When this physics interface is added, these default nodes are also added to the Model
Builder — Fluid, Pipe Properties, Pressure, Temperature, and Initial Values. Then, from
the Physics toolbar, add other nodes that implement, for example, boundary
conditions and volume forces. You can also right-click Nonisothermal Pipe Flow to select
physics features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is nipfl.
FLUID MODEL
Select a Fluid model — Newtonian (the default), Power law, or Bingham.
DEPENDENT VARIABLES
This physics interface defines these dependent variables (fields). If required, edit the
name, but dependent variables must be unique within a model:
• For an explanation of the tangential velocity, see Theory for the Pipe
Flow Interface.
• Edge, Boundary, Point, and Pair Nodes for the Nonisothermal Pipe
Flow Interface
• Theory for the Heat Transfer in Pipes Interface
Edge, Boundary, Point, and Pair Nodes for the Nonisothermal Pipe
Flow Interface
Because The Nonisothermal Pipe Flow Interface is a multiphysics interface it shares
many nodes with other physics interfaces. These boundary, edge, point, and pair nodes
are available as indicated (and listed in alphabetical order).
• Fluid
• Heat Transfer
These nodes are described for the Reacting Pipe Flow interface:
• Fluid Properties
• Pipe Properties
These nodes are described for the Heat Transfer in Pipes interface:
These nodes are described for the Heat Transfer interface in the COMSOL
Multiphysics Reference Manual:
These nodes are described for the Pipe Flow interface (listed in alphabetical order):
• Inlet • Pressure
• No Flow • Pump
• Outlet • Valve
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Fluid
Use the Fluid node to define the density, dynamic viscosity, and heat convection and
conduction properties.
PRESSURE WORK
The Pressure Work section has an Include pressure work check box where a pressure
work term can be activated. When checked a contribution to the right-hand side of the
Heat Transfer in Pipes equation is added.
For more information, see the section Theory for the Heat Transfer in Pipes Interface.
Heat Transfer
Use the Heat Transfer node to define the density, yield stress, plastic viscosity, and heat
convection and conduction properties.
FLUID PROPERTIES
The default Density ρ (SI unit: kg/m3) is User defined and is 1·103 kg/m3.
Enter a value or expression for the Yield stress τs (SI unit: Pa) and Plastic viscosity μs
(SI unit: Pa·s). The defaults are 0 Pa and 0 Pa·s, respectively.
The equations governing the propagation of hydraulic transients in pipes stem from
considering momentum, mass, and energy balances for a control volume of a piece of
pipe. In the formulation of the Water Hammer interface, the compressibility effects of
the fluid and pipe walls are linearized. The resulting equations are expressed in the
cross-sectional averaged variables and reduce the equations to a 1D component with
scalar field variables. The physics interface is available in 3D on edges and at points,
and in 2D on boundaries and points.
When this physics interface is added, these default nodes are also added to the Model
Builder — Fluid Properties, Pipe Properties, Closed, and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, boundary conditions.
You can also right-click Water Hammer to select physics features from the context
menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is whtd.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
• Edge, Boundary, Point, and Pair Nodes for the Water Hammer
Interface
• Theory for the Pipe Flow Interface
• The Initial Values and Volume Force nodes are described for the Pipe Flow
interface.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Fluid Properties
The Fluid Properties node adds the momentum equations solved by the physics
interface, except for volume forces which are added by the Volume Force node. The
node also provides an interface for defining the physical properties of the fluid.
PHYSICAL PROPERTIES
Select a Fluid model — Linear elastic (the default).
The default Density ρ (SI unit: kg/m3) uses the value From material. For User defined
enter a different value or expression.
The default Dynamic viscosity μ (SI unit: Pa·s) uses the value From material and
describes the relationship between the shear rate and the shear stresses in a fluid.
Intuitively, water and air have a low viscosity, and substances often described as thick
(such as oil) have a higher viscosity.
The default Speed of sound cs (SI unit: m/s) uses the value From material. For User
defined enter a different value or expression.
PIPE SHAPE
The Pipe Shape settings are the same as for the Pipe Properties node described for the
Pipe Flow interface.
PIPE MODEL
Select a Pipe model — Zero axial stress (the default), Anchored at one end, Anchored at
both ends, or Incompressible cross section.
• For Zero axial stress, select a Young’s modulus E — Not set (the default) or User
defined. If User defined is selected, enter a value or expression.
• For Anchored at one end or Anchored at both ends, enter a value or expression for the
Young’s modulus E. Select a Poisson’s ratio v — Not set (the default) or User defined.
For User defined enter a value or expression.
When Zero axial stress, Anchored at one end, or Anchored at both ends is selected, also
select a Wall thickness Δw — Not set (the default) or User defined. For User defined enter
a value or expression.
FLOW RESISTANCE
The Flow Resistance settings are the same as for the Pipe Properties node described
for the Pipe Flow interface.
FRICTION SPECIFICATION
Enter a Loss coefficient Kf (dimensionless). The default is 0.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
Velocity
Use the Velocity node to prescribe a velocity.
VELOCITY
Enter a value or expression for uin (SI unit: m/s). The default is 0 m/s.
Pressure
Use the Pressure node to define the boundary pressure at points.
PRESSURE
Enter a value or expression for the Pressure p (SI unit: Pa).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
• Flow Equations
• References for the Pipe Flow Interface
• References for the Pipe Flow Interface
Flow Equations
The Pipe Flow Interface calculates the pressure and velocity of an incompressible or
weakly compressible fluid by solving the continuity and momentum equations
outlined below.
∂u ρ
ρ ------- + ρu ⋅ ∇u = – ∇p – f D ---------- u u + F (2-1)
∂t 2d h
and
∂Aρ
----------- + ∇ ⋅ ( Aρu ) = 0 (2-2)
∂t
The second term on the right-hand side in Equation 2-1 represents the pressure drop
due to viscous shear. Here, u is the cross-section averaged velocity (SI unit: m/s), ρ
the density (SI unit: kg/m3), p pressure (SI unit: Pa), fD (dimensionless) the Darcy
friction factor (see Expressions for the Darcy Friction Factor) and F is a volume force
term (SI unit: N/m3).
Furthermore, dh is the mean hydraulic diameter (SI unit: m), given by:
4A
d h = ------- (2-3)
Z
Let
e t = e t, x e t, y e t, z
∂u ρ
e t ⋅ ρ ------- + ρu ⋅ ∇u = – ∇p – f D ---------- u u + F (2-4)
∂t 2d h
and we can define the tangential velocity u as u = uet. The pipe flow physics interface
in COMSOL Multiphysics solves for the tangential velocity u. This is also the quantity
the user specifies in for example inflow boundary conditions and in the initial
conditions settings.
Curvature pressure drop effects can be added in points with the Bend feature.
Gravity can be included explicitly in the model, but when the variation in density is
negligible, and the model is not pressure driven (the inlet boundary condition is a
pressure setting), the only effect of including gravity is a change in the total pressure
The Darcy friction factor in Equation 2-1 accounts for the continuous pressure drop
along a pipe segment due to viscous shear, and is expressed as a function of the
Reynolds number (Re) and the surface roughness divided by the hydraulic diameter
(e/dh).
f D = f D Re, ------
e
(2-5)
dh
where
ρud h
Re = -------------- (2-6)
μ
1 2
Δp = --- K f ρu (2-7)
2
For more information about each type, see the interface descriptions in The Pipe Flow
Interface section.
Loss coefficients, Ki, for turbulent flow are available in the literature (Ref. 14) and the
set predefined in the Pipe Flow interface is reproduced in the table below:
TABLE 2-2: LOSS COEFFICIENTS
Gradual, angle of 2
convergence α > 22° (1 – β)
Above, β is the ratio of small to large cross-sectional area. The point friction losses
listed above apply for Newtonian fluids. Point losses applying to non-Newtonian flow
can be added as user-defined expressions, for instance from (Ref. 15).
For the point pressure loss features Bends, Valves, T-junctions, Y-junctions, n-way
junctions, Contractions, and Expansions, the pressure loss can also be specified as a
pressure drop Δp directly.
Newtonian Fluids For single-phase fluids, the Churchill equation (Ref. 1) for the
Darcy friction factor can be used for the full range of Re (laminar, transition and
turbulent) and full range of e/d:
8 12 1 ⁄ 12
f D = 8 ------ + ( A + B )
– 1.5
(2-8)
Re
where
37530 16
B = ---------------- (2-10)
Re
In the laminar regime (Re < 2000), fD is independent of the surface roughness and is
given by the Stokes formula:
64
f D = ------ (2-11)
Re
The Wood equation (Ref. 2) gives the friction factor for 4000 < Re < 1·107 and
1·10-5 < e/d < 0.04, according to
0.225 0.44 a
f D = 0.094 ( e ⁄ d ) + 0.53 ( e ⁄ d ) + 88 ( e ⁄ d ) ⋅ Re (2-12)
with
0.134
a = – 1.62 ( e ⁄ d ) (2-13)
The Haaland equation (Ref. 3) for the Darcy friction factor is commonly used for oil
pipelines and wells. It can recover both small and large relative roughness limits for a
wide range of Reynolds numbers (4·103 < Re < 1·108)
It can be rewritten as
2
( 1 ⁄ 1.8 )
f D = -------------------------------------------------------------------
- (2-15)
log --------- e ⁄ d- 1.11 6.9
2
+ --------
10 3.7 Re
For very low relative roughness e/d, the Haaland equation simplifies to Colebrook’s
explicit formula (Ref. 4)
For very large relative roughness e/d, the Haaland equation simplifies to the von
Karman formula (Ref. 5)
0.25
f D = --------------------------------------------------------------------2- (2-18)
log e--------- ⁄ d- 5.74 -
-----------------
10 3.7 + ( Re ) 0.9
The equation is valid for relative roughness 1·10-6 < e/d < 1·10-2 and for Reynolds
number in the range 5·103 < Re < 1·108.
All the above equations are selectable from a list of friction factor expressions. As
noted, only the Churchill equation covers both the laminar and turbulent flows, as well
as the transitional region in between these flow regimes. The equations by Wood,
Haaland, Colebrook, von Karman, or Swamee-Jain, intended for the turbulent regime,
are combined with the Stokes equation for laminar flow to cover all flow conditions.
When Re<1000, COMSOL Multiphysics selects Stokes equation if it predicts a friction
factor greater than equations for the turbulent regimes. This produces more accurate
results that using the turbulent frictions factors in the laminar regime, but it does not
necessarily produce accurate estimates of the friction factor in the transition region.
Therefore, it is always advisable to check the Reynolds number for a give pipe flow
solution and change the friction model and recalculate, if necessary.
The Newtonian fluid type also has two Gas-Liquid options, which employs a simple
two-phase approach presented by Balasubramaniam and others (Ref. 25). This is a
one-fluid approach that treats the fluid as one phase (one mass and momentum balance
is solved), but it corrects the pressure drop correlation with empirical factors for
liquid-gas mixtures. As such, the model also makes the following assumptions:
• The velocity of the gas and liquid phases are the same, meaning that no liquid
holdup is accounted for.
• No phase separation occurs due to gravity or other effects.
• No phase transition (condensation or vaporization) is assumed.
• The gas phase-fraction is assumed to be small so that the mixture is virtually
incompressible.
The first selectable method is the gas-liquid, friction factor multiplier, which
modifies the single-phase Newtonian Darcy friction factor defined in Equation 2-8 and
on, such that
where fD,L is the Newtonian single phase friction factor computed as described earlier
in this section. fD is then used as usual in the pressure drop correlation in Equation 2-4.
2
The two-phase friction factor Φ 2P is calculated as (Ref. 25)
2 ρL ( ρL – ρG ) ( μL – μG ) –1 ⁄ 4
Φ 2P = ------ 1 + ω G ------------------------ 1 + ω G ------------------------ (2-20)
ρ ρG μG
where ρL, μL, ρG, and μG are the density and viscosity of the liquid, and gas,
respectively, and where ωG is the quality (the gas phase mass fraction). The total
density in Equation 2-20 is calculated as
ρ = φ G ρ G + ( 1 – φ G )ρ L (2-21)
or
1
ρ = ------------------------------------- (2-22)
ωG ( 1 – ωG )
------- + ----------------------
ρG ρL
where φ G is the user provided volumetric void fraction. The user has a choice to either
enter gas phase mass fraction ωG or volumetric void fraction φ G . The conversion
formula between the two is
ρ
φ G = ------- ω G (2-23)
ρG
The second selectable gas-liquid method is the gas-liquid, effective Reynolds number.
This method uses an effective adjusted viscosity to calculate the Reynolds number in
the pressure loss calculations. The default mixture viscosity model is the extended
Einstein, which probably is the most accurate within a large range of gas mass fractions
(Ref. 26):
– ( μ L + 2.5μ G ) ⁄ ( μ L + μ G )
μ = μL ( 1 – φG ) (2-24)
Linear average
μ = μL ( 1 – φG ) + μG φG (2-25)
Reciprocal average
Liquid viscosity
μ = μL (2-27)
User defined.
∂γ n–1
μ = m ----- (2-28)
∂t
where m and n are two empirical curve fitting parameters known as the fluid
consistency coefficient and the flow behavior index, respectively. In the laminar regime
the friction factor for power law fluids can be calculated by the Stokes equation using
the modified Reynolds number proposed by Metzner and Reed (Ref. 7):
64
f D = -------------- (2-29)
Re MR
(2 – n) n
ρu dh
Re MR = ------------------------------------------------n- (2-30)
( n – 1 ) 3n + 1
8 m -----------------
4n
For the turbulent regime Irvine (Ref. 8) proposed the following expression for the
friction factor:
----------------
1 -
3n + 1
D( n)
fD = 4 -------------- (2-31)
Re MR
where
(n + 4) 2
4n - 3n
2 - ----------------
D ( n ) = ---------------- (2-32)
7n 3n + 1
7
Ryan and Johnson (Ref. 9) formulated a criterion for the transition between laminar
and turbulent flow, where
∂γ
τ = τ B + μ B ----- for τ > τ B
∂t
(2-34)
∂γ
----- = 0 for τ < τ B
∂t
The yield stress, τB (SI unit: Pa), and the plastic viscosity, μB (SI unit: Pa·s), are found
by curve fitting to experimental data.
The Swamee-Aggarwal equation (Ref. 10) gives the friction factor for a Bingham
plastic fluid in the laminar regime according to:
He 1.143
10.67 + 0.1414 ----------
Re
- ---------
64 B He-
f D, laminar = ---------- + ------------------------------------------------------------------- (2-35)
Re B ----------
He 1.16
Re Re B
1 + 0.149 Re B B
where
ρud h
Re B = -------------- (2-36)
μB
and
ρd h τ B
He = ----------------
2
(2-37)
μB
a – 0.193
f D, turbulent = 4 ⋅ 10 0 Re B (2-38)
with
1
---
b b b
fD = ( f D, laminar + f D, turbulent ) (2-40)
where
40000
b = 1.7 + ---------------- (2-41)
Re B
The non-Newtonian friction models outlined above apply for pipes with circular
cross-section. The generalized Reynolds number needs to be modified to account for
other cross-sections.
Surface Roughness
Values of the absolute surface roughness found in the literature (Ref. 13 and Ref. 14)
are reproduced in the table below:
TABLE 2-3: SURFACE ROUGHNESS
Smooth 0
Drawn tubing 0.0015
Glass 0.0015
Thermoplastics 0.0015
Commercial steel and wrought iron 0.046
Steel, welded seamless 0.061
Asphalted cast iron 0.12
Galvanized iron 0.15
Cast-iron 0.26
2. D.J. Wood, “An explicit friction factor relationship”, Civil Engrs., ASCE 60, 1966.
3. S.E. Haaland, “Simple and explicit formulas for the friction factor in turbulent
flow,” J. Fluids Engineering (ASME), vol. 103, no. 5, pp. 89–90, 1983.
4. C.F. Colebrook, “Turbulent flow in pipes with particular reference to the transition
region between the smooth and rough pipe laws”, J. Inst. Civil Engineers, London,
vol. 11, pp. 133–156, 1939.
6. P.K Swamee and A.K. Jain, “Explicit Equations for Pipe-flow Problems”, J.
Hydraulics Division (ASCE), vol. 102, no. 5, pp. 657–664, 1976.
7. A.B. Metzner and J.C. Reed, “Flow of non-Newtonian fluids — correlation of the
laminar, transition, and turbulent-flow regions”, AIChE Journal, vol. 1, no.4, pp.
434–440, 1955.
9. N.W. Ryan and M.M. Johnson, “Transition from laminar to turbulent flow in
pipes”, AIChE Journal, vol. 5, no. 4, pp. 433–435, 1959.
10. P.K. Swamee and N. Agarwal, “Explicit equations for laminar flow of Bingham
plastic fluids”, J Petroleum Science and Engineering, vol. 76, no. 3–4, pp. 178–184,
2011.
11. R. Darby, R. Mun, and D.V. Boger, “Predict Friction Loss in Slurry Pipes”, Chem
Eng, vol. 99, p. 116, 1992.
13. J.M. Coulson and J.F. Richardson, Chemical Engineering, Volume. 1, 4th ed.,
Pergamon Press, p. 56, 1990.
14. Engineering and Design Liquid Process Piping, Department of the Army, U.S.
Army Corps of Engineers, Engineering Manual No.1110-1-4008, 1999.
15. R.P. Chhabra and J.F. Richardson, Non-Newtonian Flow in the Process
Industries: Fundamentals and Engineering Applications, Butterworth Heinemann,
p. 111 and 140–149, 2004.
16. C.L. Barnard et. al., “A Theory of Fluid Flow in Compliant Tubes”, Biophysical
Journal, vol. 6, no. 6, pp. 717–724, 1966.
17. F.P. Incropera and D.P. DeWitt, Fundamentals of Heat and Mass Transfer, 4th
ed., John Wiley & Sons, 1996.
18. V. Gnielinski, “New equations for heat and mass transfer in turbulent pipe and
channel flow”, Int. Chem. Eng, vol. 16, pp. 359–368, 1976.
19. S.W. Churchill and M. Bernstein, “A Correlating Equation for Forced Convection
From Gases and Liquids to a Circular Cylinder in Crossflow”, J. Heat Transfer, vol.
99, no.2, pp. 300–307, 1977.
20. S.W. Churchill and H.H.S. Chu, “Correlating Equations for Laminar and
Turbulent Free Convection from a Vertical Plate”, Int J Heat Mass Transfer, vol. 18,
no. 11, p. 1323–1329, 1975.
22. G. Taylor, “The Dispersion of Matter in Turbulent Flow Through a Pipe”, Proc.
Roy. Soc. A., vol. 223, pp. 446–468, 1954.
23. L.T. Fan and C.B. Wang, “Dispersion of Mater in Non-Newtonian Laminar Flow
Through a Circular Tube”, Proc. Roy. Soc. A., vol. 292, pp. 203–208, 1966.
24. M.V. Lurie, Modeling of Oil Product and Gas Pipeline Transportation,
WILEY-VCH Verlag GmbH & Co., KGaA, Weinheim, 2008.
• Flow Equations
• Reference for the Water Hammer Interface
Flow Equations
The Water Hammer interface implements both the continuity equation and the
momentum equations for a compressible fluid traveling inside pipes of variable cross
section.
∂Aρ
----------- + ∇ ⋅ ( Aρu ) = 0 (2-42)
∂t
where A (SI unit: m2) is the cross section area of the pipe, ρ (SI unit: kg/m3) is the
fluid density, and u (SI unit: m/s) is the tangential fluid velocity.
For adiabatic processes, the density and cross section area are function of the pressure,
so the continuity equation reads
∂A ( p )ρ ( p )
---------------------------- + ∇ ⋅ ( A ( p )ρ ( p )u ) = 0 (2-43)
∂t
1 ∂p
A 0 ρ 0 ------- + ------- ------ + ∇ ⋅ ( A 0 ρ 0 u ) = 0
1
(2-44)
K ρ K A ∂t
where Kρ is the bulk modulus of the fluid (the inverse of its compressibility), and KA
is the effective bulk modulus of the cross section area. A0 and ρ0 are the reference area
and reference density at a given pressure p0.
The Water Hammer wave speed c (SI unit: m/s) is given by a combination of fluid and
structural material properties
The effective bulk modulus for the cross-sectional area KA (SI unit: Pa) is given by the
pipe’s material properties
w th
K A = E ---------
dh
where E is the Young’s modulus, dh is the hydraulic diameter, and wth is the pipe’s
wall thickness. This is the so-called Korteweg formula (Ref. 1)
The Korteweg formula can also be extended to pipes suffering from axial stresses, in
this case, a more general formula would include the Poisson’s ration ν of the pipe’s
material
E w th
K A = ---- --------- (2-46)
ζ dh
where ζ = 1 for pipe with zero axial stress (this is Korteweg’s original formula for a pipe
furbished with expansion joints), ζ = 1 − ν/2 for a pipe anchored at one end, and
ζ = 1 − ν2 for a pipe anchored at both ends.
∂u ρ
ρ ------- = – ∇p – f D ---------- u u + F (2-47)
∂t 2d h
here, fD is the Darcy friction factor, normally a function of the Reynolds number, the
surface roughness and the hydraulic diameter, as described in Expressions for the
Darcy Friction Factor.
This set of equations are normally acknowledged as the Water Hammer equations, and
are they mainly written in the literature as (consider gravity forces, so F = ρg)
1 ∂p
A ----2- ------ + ∇ ⋅ ( Aρu ) = 0 (2-48)
c ∂t
∂u ρ
ρ ------- = – ∇p – f D ---------- u u + ρg (2-49)
∂t 2d h
This physics interface, which is found under the Heat Transfer branch ( ) when
adding a physics interface, has functionality for simulating heat transfer in pipe
networks, including wall heat transfer to the surroundings.
In this chapter:
67
The Mechanisms for Heat Transfer
The Heat Transfer in Pipes interface ( ), found under the Heat Transfer branch ( )
when adding a physics interface, solves a temperature equation for a fluid transported
in a pipe. The physics interface requires the fluid velocity as input, provided either by
the user or by coupling to the Pipe Flow interface. However, it is advisable to instead
use The Nonisothermal Pipe Flow Interface which is a multiphysics interface that
combines Pipe Flow and Heat Transfer in Pipes to model the velocity, pressure and
temperature fully coupled.
The Heat Transfer in Solids, Heat Transfer in Fluids (general convection and
conduction, nonisothermal flow, and conjugate heat transfer), and Joule
Heating interfaces all belong to the COMSOL Multiphysics base package.
See The Heat Transfer Interfaces in the COMSOL Multiphysics
Reference Manual for more information.
The Nonisothermal Pipe Flow Interface extends this physics interface by providing
equations to compute the velocity and pressure fields when they are unknown.
When this physics interface is added, these default nodes are also added to the Model
Builder — Heat Transfer, Pipe Properties, Temperature, and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, boundary conditions.
You can also right-click Heat Transfer in Pipes to select physics features from the context
menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is htp.
DEPENDENT VARIABLES
This physics interface defines the Temperature T (SI unit: K) dependent variable (field).
If required, edit the name, but dependent variables must be unique within a model.
• Edge, Boundary, Point, and Pair Nodes for the Heat Transfer in Pipes
Interface
• Theory for the Heat Transfer in Pipes Interface
• Handling Frames in Heat Transfer in the COMSOL Multiphysics
Reference Manual
Edge, Boundary, Point, and Pair Nodes for the Heat Transfer in Pipes
Interface
The Heat Transfer in Pipes Interface has these boundary, edge, point, and pair nodes
available from the Physics ribbon toolbar (Windows users), Physics context menu (Mac
or Linux users), or right-click to access the context menu (all users).
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Heat Transfer
Use the Heat Transfer node to define the tangential velocity, density, dynamic viscosity,
and heat convection and conduction properties.
The default Dynamic viscosity μ (SI unit: Pa·s) uses the value From material and
describes the relationship between the shear rate and the shear stresses in a fluid.
Intuitively, water and air have a low viscosity, and substances often described as thick
(such as oil) have a higher viscosity.
The default Density ρ (SI unit: kg/m3), Dynamic viscosity μ (SI unit: Pa·s), Heat capacity
at constant pressure Cp (SI unit: J/(kg·K)), Ratio of specific heats γ (dimensionless),
and Thermal conductivity k (SI unit: W/(m·K)) all use values From material. For User
defined enter different values or expressions.
Heat Source
The Heat Source describes heat generation within the domain. Express heating and
cooling with positive and negative values, respectively. Add one or more nodes as
needed — all heat sources within a domain contribute to the total heat source.
HEAT SOURCE
Click the General source, Linear source or Heat rate button.
• For General source enter a value for the distributed heat source Q (SI unit: W/m3).
• For Heat rate enter a value for the heat rate P0(SI unit: W). In this case Q=P0/L
where L is the total length of the selected boundaries.
• For Linear source (Q = qs·T) enter the Linear heat source qs (SI unit: W/(m3·K)).
The advantage of writing the source in this form is that it can be stabilized
by the streamline diffusion. The theory covers qs that is independent of
the temperature, but some stability can be gained as long as qs is only
weakly dependent on the temperature.
Wall layers
Figure 3-1: Internal and external films and the associated film coefficients (blue), and
wall layers (dark and light gray).
Even if you do not expect a boundary layer to build up, the thermal film
theory works well for laminar flow profiles. In fact, there is an analytical
solution available to the Nusselt number for laminar flow in circular tubes
(Nu = 3.66).
FILM RESISTANCE
The default Internal film resistance model is Automatic and the Nusselt number is
computed as described in the section Theory for the Heat Transfer in Pipes Interface.
For User defined enter a value for the Nusselt number (dimensionless). The default is
3.66.
SPECIFICATION
Select an External film heat transfer model — External forced convection (the default),
External natural convection, or User defined.
Be careful to select the right material in the Settings window for External
Film Resistance. Many times this should be another material than the
Domain material which is the internal fluid.
The External velocity uext (SI unit: m/s) is User defined by default. This is the velocity
of the cooling or heating fluid outside the pipe.
For External natural convection only, also enter a value or expression for the External
pressure pext (SI unit: Pa). The default is 1 atm.
Figure 3-2: Before you use the Natural Convection option, it is good practice to select
Density in the used material, and click Plot in the Settings window. That way you can
inspect the behavior and make sure it is smooth within the temperature interval you plan
to use it.
User Defined
For User defined:
Wall Layer
The Wall Layer subnode is available from the context menu (right-click the Wall Heat
Transfer parent node) or from the Physics toolbar, Attributes menu. Use it to define the
thermal conductivity and wall thickness. You can add more layers.
SPECIFICATION
Select an option from the Thermal conductivity list k (SI unit: W/(m·K)) — Not set (the
default) or User defined to enter a different value or expression. The default is
0 W/(m·K).
Select an option from the Wall thickness list Δw (SI unit: m) — Not set (the default) or
User defined. For User defined enter a value or expression. The default is 0 m.
Wall layers
Figure 3-3: Internal and external films and the associated film coefficients (blue), and
wall layers (dark and light gray).
Wall layers
Figure 3-4: Internal film (blue) and wall layer (light gray).
Initial Values
The Initial Values node adds an initial value for the temperature that can serve as an
initial condition for a transient simulation or as an initial guess for a nonlinear solver.
INITIAL VALUES
Enter values or expressions for the initial value of the Temperature T (SI unit: K).
Temperature
Use the Temperature node to specify the temperature at an inlet of the pipe system.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Heat Outflow
The Heat Outflow node provides a suitable boundary condition for
convection-dominated heat transfer at outlet boundaries. In a model with convective
heat transfer, this condition states that the only heat transfer over a boundary is by
convection. The temperature gradient in the normal direction is zero, and there is no
radiation. This is usually a good approximation of the conditions at an outlet boundary
in a heat transfer model with fluid flow.
∂T ρA 3
ρAC p ------- + ρAC p u ⋅ ∇T = ∇ ⋅ Ak ∇T + f D ---------- u + Q + Q wall + Q p (3-1)
∂t 2d h
where ρ is the fluid density (SI unit: kg/m3), A is the pipe cross section area
(SI unit: m2) available for flow, Cp (SI unit: J/(kg·K)) is the heat capacity at constant
pressure, T (SI unit: K) is the temperature. u is a velocity field. For information about
the tangential velocity in pipe flow, see Theory for the Pipe Flow Interface. Further, k
(SI unit: W/(m·K)) is the thermal conductivity. The second term on the right hand
side corresponds to friction heat dissipated due to viscous shear. Q (SI unit: W/m)
represents a general heat source and Qwall (SI unit: W/m) represents external heat
exchange through the pipe wall. Note that the Qwall term is detailed below.
An additional term Qp can be added to the right-hand side of the equation by enabling
the Pressure Work check box:
TA ∂ρ ∂p
Q p = – -------- ------- ------- + u ⋅ ∇p (3-2)
ρ ∂T ∂T
This term is optional and can be used if the pressure drop is expected to be
considerable and the fluid is compressible. The contribution follows the same theory
The Wall Heat Transfer feature requires the external temperature and at least an
internal film resistance subnode added to it. The individual contributions of heat
transfer coefficients can be added by subnodes to the Wall Heat Transfer feature. The
subnodes are:
r1
r0
rN
dr Δwn
T
Fluid domain T1
T T0
T2 Tn
TN
Text
Wall number: 1 2 n N
r0 r
Shell balance In Figure 3-5, consider a short length section ΔL of pipe, perpendicular
to the figure plane. The heat leaving the internal fluid of that segment into the wall is
Here, AQ = ΔL2πr0 (SI unit: m2) is the area available for heat flux into the wall. For
stationary conditions that same amount of heat must travel through any cylindrical
shell at radius r in wall 1 (or any wall).
Q 1 = ΔL2πr ⋅ – k 1 --------
dT
(3-5)
dr
T1 r0
Q1
dT = – --------------------- ⋅ --- dr
1
(3-6)
ΔL2πk 1 r
T0 r0
Q1 r1
T 1 – T 0 = – --------------------- ⋅ ln ----- (3-7)
ΔL2πk 1 r 0
and rearrange
ΔL2πk 1
Q 1 = --------------------- ⋅ ( T 0 – T 1 ) . (3-8)
r1
ln -----
r0
For the example of two wall layers, the heat flow is equal across any shell from the inner
bulk fluid to the surroundings, and we can set all Q n = Q .
Q = h int ΔL2πr 0 ⋅ ( T – T 0 )
ΔL2πk 1
Q = -------------------------- ⋅ ( T 0 – T 1 )
ln ( r 1 ⁄ r 0 )
(3-9)
ΔL2πk 2
Q = -------------------------- ⋅ ( T 1 – T 2 )
ln ( r 2 ⁄ r 1 )
Q = h ext ΔL2πr 2 ⋅ ( T 2 – T ext )
Substituting
Θ = ΔL2π , (3-10)
1
( hA Q ) eff = ----------------------------------------------------------------------------------------------------------------- (3-12)
1 ln ( r 1 ⁄ r 0 ) ln ( r 2 ⁄ r 1 ) 1 -
------------------- + -------------------------- + -------------------------- + -------------------
r 0 h int Θ k1 Θ k2 Θ r 2 h ext Θ
Now let
( hA Q ) eff
( hZ ) eff = ---------------------- , (3-14)
ΔL
where Z (SI unit: m) is an average perimeter (circumference), of the pipe, taken over
the thickness of the pipe walls. Combine Equation 3-10 and Equation 3-14 such a that
( hA Q ) eff = ( hZ ) eff Θ ⁄ ( 2π )
2π
( hZ ) eff = ------------------------------------------------------------------------------------ (3-15)
rn
N ln ---------
1 - ---------------- 1 r n-1
-------------- +
r 0 h int r N h ext
+ ----------------------
kn
n = 1
For a circular pipe cross sections, this effective hZ in can now be used in Equation 3-3.
Note the reversed sign since Qwall is the heat added to the pipe from the surroundings.
The assumption in the deduction above is
1
( hZ ) eff = -------------------------------------------------------------------------------------------------------
N
- (3-16)
1 1 - w
---------------- + ----------------- n
+ -----------------------------------------------
Z 0 h int Z N h ext k n ( ( Z n + Z n-1 ) ⁄ 2 )
n=1
k
h = Nu ------ (3-17)
dh
where k is the thermal conductivity of the material, and Nu is the Nusselt number. dh
is the hydraulic diameter, defined as
d h = 4A ⁄ Z . (3-18)
• The inner and outer film coefficients is evaluated at (T + T0)/2 and (TN + Text)/2,
respectively.
• The thermal conductivity kn can be temperature dependent and is evaluated at
(Tn + Tn−1)/2.
• To compute dh in Equation 3-18 the local perimeter is calculated as Z = f(w) and
the cross section area as A = f(w). Automatic calculations for circular tubes are done
by the physics interface as Z = 2πr and A = πr2. For rectangular tubes it is
Z = 2(width + height) and A = width · height. For user-defined pipe shapes, the user
can enter arbitrary expressions.
The local temperatures in each radial position of the pipe wall (see Figure 3-5) are
computed considering the fact that Equation 3-3 also can be applied for each
individual wall layer:
Combining Equation 3-3, Equation 3-19 and Equation 3-15 or Equation 3-16
(depending on pipe shape) for each wall layer explicitly gives each Tn.
Internal Film Resistance For internal laminar forced convection in fully developed
pipe flow, the Nusselt number is a constant that depends on the pipe cross-section.
Values are listed in the table below (Ref. 1). The Pipe Flow interface interpolates to
find values for width/height ratios not listed. Default settings for film coefficient
calculations are “Automatic”, which means that laminar and turbulent correlations are
applied according to the Re number.
TABLE 3-1: NUSSELT NUMBERS FOR INTERNAL LAMINAR PIPE FLOW
circular - 3.66
square 1 2.98
rectangular 1.43 3.08
rectangular 2 3.39
rectangular 3 3.96
rectangular 4 4.44
rectangular 8 5.60
parallel plates infinity 7.54
For user-defined cross sections, Nu is suggested to 3.66 as a default.
For internal turbulent forced convection (3000 < Re < 6·106, 0.5 < Pr < 2000), the
Gnielinski equation (Ref. 18) applies:
( f D ⁄ 8 ) ( Re – 1000 )Pr
Nu int = -----------------------------------------------------------------------------
1⁄2 2⁄3
- (3-20)
1 + 12.7 ( f D ⁄ 8 ) ( Pr – 1)
Cp μ
Pr = ----------- (3-21)
k
The film resistance due in the internal flow can be calculated using material properties
defined in the Heat Transfer feature and the calculated friction factor. Material
properties are evaluated at the mean internal film temperature (T + T0)/2 (see
Expressions for the Darcy Friction Factor).
The using the hydraulic diameter makes the equations applicable to non-circular pipe
cross sections.
External Film Resistance The material properties used should be those of the external
fluid. Do not set the material to Domain Material if you have a different fluid on the
inside and outside. Typically, the temperature and pressure are required to evaluate the
material functions. The external fluid velocity is required for the Forced Convection
option and is a user-defined input.
For External forced convection around a pipe, valid for all Re and for Pr > 0.2, the
Churchill and Bernstein (Ref. 19) correlation is used:
1⁄2 1⁄3
0.62Re Pr 5⁄8 4⁄5
Nu ext = 0.3 + -------------------------------------------------------
1 ⁄ 4
[ 1 + ( Re ⁄ 282000 ) ] . (3-22)
2⁄3
[ 1 + ( 0.4 ⁄ Pr ) ]
1⁄6 2
0.387Ra
Nu ext = 0.60 + -------------------------------------------------------------------
8 ⁄ 27
(3-23)
9 ⁄ 16
[ 1 + ( 0.559 ⁄ Pr ) ]
Ra = PrGr (3-24)
3
gβ T N – T ext d
Gr = ----------------------------------------
- (3-25)
μ
2
---
ρ
Above d is the outside diameter of the pipe and, β is the fluid’s coefficient of
volumetric thermal expansion:
1 ∂ρ
β = – --- ------- (3-26)
ρ ∂T p
This chapter has information about the physics interfaces found under the
Chemical Species Transport branch ( ).
In this chapter:
87
The Transport of Diluted Species in
Pipes Interface
The Transport of Diluted Species in pipes (dsp) interface ( ), found under the Chemical
Species Transport branch ( ) when adding a physics interface, is used to model a mass
balance equation for pipes in order to compute the concentration distribution of a
solute in a dilute solution, taking into account diffusion, dispersion, convection, and
chemical reactions. The physics interface approximates the concentration profile in
pipes and channels by a 1D assumption on lines in 2D and 3D. Depending on
additional add-on products, multiple species can be modeled.
When this physics interface is added, these default nodes are also added to the Model
Builder — Convection and Diffusion, Concentration, and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, boundary conditions
and volume forces. You can also right-click Transport of Diluted Species in Pipes to select
physics features from the context menu.
The Reacting Pipe Flow Interface node uses this physics interface and couples it
automatically to Pipe Flow and Heat Transfer in pipes.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is dsp.
FLUID MODEL
Select a Fluid model — Newtonian (the default), Power law, or Bingham.
DEPENDENT VARIABLES
This physics interface defines these dependent variables (fields) — Number of
concentrations c (SI unit: mol/m3) and Concentrations.
Edge, Boundary, Point, and Pair Nodes for the Transport of Diluted
• Edge, Boundary, Point, and Pair Nodes for the Transport of Diluted
Species in Pipes Interface
• Theory for the Transport of Diluted Species in Pipes Interface
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
FLUID PROPERTIES
The default Density ρ (SI unit: kg/m3) uses the value From material. For User defined
enter a different value or expression.
The default Dynamic viscosity μ (SI unit: Pa·s) uses the value From material and
describes the relationship between the shear rate and the shear stresses in a fluid.
Intuitively, water and air have a low viscosity, and substances often described as thick,
such as oil, have a higher viscosity.
VELOCITY
Enter a value or expression for the Tangential velocity u (SI unit: m2/s). The default
is 0 m2/s.
DIFFUSION COEFFICIENT
Enter a value or expression for the diffusion coefficient Dc (SI unit: m2/s). The default
is 1 × 10-9 m2/s.
DISPERSION
Select a Dispersion model — User defined (the default), Taylor (laminar, circular cross
section), or Taylor (turbulent, circular cross section). For User defined, enter a value or
expression for the Dispersion coefficient DD (SI unit: m2/s). The default is 0 m2/s.
Find more detail in the theory section Dispersion.
Initial Values
The Initial Values node adds an initial value for the concentration that can serve as an
initial condition for a transient simulation or as an initial guess for a nonlinear solver.
INITIAL VALUES
Enter values or expressions for the initial value of the Concentration c
(SI unit: mol/m3). The default is 0 mol/m3.
REACTIONS
Enter a Reaction rate Rc (SI unit: mol/(m3·s)). The default is 0 mol/(m3·s).
Concentration
The Concentration node adds a point condition for the species concentration. For
example, a c = c0 condition specifies the concentration of species c.
CONCENTRATION
Specify the Concentration cinc (SI unit: mol/(m3·s)) for each species. Enter a value or
expression in the field for each species. The default is 0 mol/(m3·s).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Mass Outflow
Use the Mass Outflow node to define species mass outflow. Mathematically this is
defined so that convection is the sole contribution to species mass transfer. Normally
this constitutes a well posed condition for all outflows.
When this physics interface is added, these default nodes are also added to the Model
Builder — Fluid, Pipe Properties, Temperature, Pressure, Concentration, and Initial Values.
Then, from the Physics toolbar, add other nodes that implement, for example,
boundary conditions and volume forces. You can also right-click Reacting Pipe Flow to
select physics features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is rpfl.
FLUID MODEL
Select a Fluid model — Newtonian (the default), Power law, or Bingham.
PHYSICAL MODEL
Enter a Reference pressure level pref (SI unit: Pa). The default value is 1[atm].
DEPENDENT VARIABLES
This physics interface defines these dependent variables (fields). If required, edit the
name, but dependent variables must be unique within a model:
DISCRETIZATION
Use this section to change the discretization order for the dependent variables.
Edge, Boundary, Point, and Pair Nodes for the Reacting Pipe Flow
Interface
The Reacting Pipe Flow Interface has these boundary, edge, point, and pair nodes
available from the Physics ribbon toolbar (Windows users), Physics context menu (Mac
or Linux users), or right-click to access the context menu (all users).
• Inlet • Pressure
• No Flow • Pump
• Outlet • T-Junction
These nodes are described for the Heat Transfer in Pipes interface (listed in
alphabetical order):
These nodes are described for the Transport of Diluted Species in Pipes interface
(listed in alphabetical order):
• Concentration
• Mass Outflow
• Reactions
• Wall Mass Transfer
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Pipe Properties
The Pipe Properties node is used to define the pipe shape and flow resistance.
FLOW RESISTANCE
The Friction model is User defined by default. Enter a value or expression for the Darcy
friction factor fD (dimensionless). The default is 0.
Initial Values
The Initial Values node adds initial values for the pressure, tangential velocity,
temperature, and concentration that can serve as an initial condition for a transient
simulation or as an initial guess for a nonlinear solver.
INITIAL VALUES
Enter values or expressions for the initial value of the:
Fluid
Use the Fluid node to define the density, dynamic viscosity, and heat convection and
conduction properties.
FLUID PROPERTIES
The default Density ρ (SI unit: kg/m3) uses the value From material. For User defined
enter a different value or expression.
The default Dynamic viscosity μ (SI unit: Pa·s) uses the value From material and
describes the relationship between the shear rate and the shear stresses in a fluid.
Intuitively, water and air have a low viscosity, and substances often described as thick,
such as oil, have a higher viscosity.
DIFFUSION COEFFICIENT
Enter a value or expression for Dc (SI unit: m2/s). The default is 1 × 10-9 m2/s.
Fluid Properties
The Fluid Properties node adds the momentum equations solved by the physics
interface, except for volume forces which are added by the Volume Force feature. The
node also provides an interface for defining the fluid properties of the fluid.
FLUID PROPERTIES
The default Density ρ (SI unit: kg/m3) is User defined and is 1 × 103 kg/m3.
The fluid model is selected as non-Newtonian, enter a value or expression for the more
parameters like Yield stress τs (SI unit: Pa) and Plastic viscosity μs (SI unit: Pa·s).
FLUID PROPERTIES
The default Density ρ (SI unit: kg/m3) is User defined and is 1 × 103 kg/m3.
Enter a value or expression for the Yield stress τs (SI unit: Pa) and Plastic viscosity μs
(SI unit: Pa·s). The defaults are 0 Pa and 0 Pa·s, respectively.
VELOCITY
No user selection is required for the Tangential velocity u.
DIFFUSION COEFFICIENT
Enter a value or expression for the diffusion coefficient Dc (SI unit: m2/s). The default
is 1 × 10-9 m2/s.
∂c i
A ------- + Au ⋅ ∇c i = ∇ ⋅ ( A ( D i + D D, i ) ∇c i ) + A
∂t Rik + Rwall, ik (4-1)
k k
where A (SI unit: m ) is the cross section area available for flow, ci (SI unit: mol/m3)
2
is the diluted species concentration, and u a velocity field. Further, Di (SI unit: m2/s)
is the species diffusion coefficient and DD,i (SI unit: m2/s) is the species dispersion
coefficient. The second term on the right hand side, Rik (SI unit: mol/(m3·s)),
corresponds a source or sink due to chemical reaction number k for species i. Finally,
Rwall,ik (SI unit: mol/(m·s)), is a source term due to mass transfer contribution k
through the pipe wall.
For information about tangential velocity in pipe flow, see Theory for the
Pipe Flow Interface.
Dispersion
The Transport of Diluted Species in Pipes interface can automatically calculate the axial
dispersion of species transported in a solvent stream.
For laminar flow in circular straight pipes, the total dispersion is given by the sum of
molecular diffusion, Di (SI unit: m2/s), and the effect of the velocity profile causing
some fractions of an initial plane of fluid in the pipe to move faster than others.
COMSOL Multiphysics uses the Taylor (Ref. 21) correlation for this second
contribution, DD,i (SI unit: m2/s):
L
---- > 0.04 ud
------- (4-3)
d Di
where d is the pipe diameter and L a characteristic pipe length. For turbulent
conditions, Taylor (Ref. 22) suggests:
d fD
D D,i = 10.1 --- u ----- (4-4)
2 2
For non-Newtonian fluids in the laminar regime, Fan (Ref. 23) extended the analysis
of Taylor:
2 2
u d
D D,i = k ------------- (4-5)
4D i
1
k = ---------------------------------------- (4-6)
2( n + 3 )( n + 5 )
3 44
--- ------ φ
16
------
2 4 28 5 3 6 8 7 29 8 1 10
------ φ --- --- ------ φ ---
8
8 – 35 0 + 15 φ 0 + φ 0 – 15 0 – 5 φ 0 + 5 φ 0 – 56 0 + 5 φ 0 – φ 0 ln φ 0
k = -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- (4-7)
2 2 4
2 ( 3 + 2φ 0 + φ 0 ) ( 1 – φ 0 )
The parameter φ0 is
r0
φ 0 = ----- (4-8)
R
where R is the pipe radius and r0 is the radius of the plug flow region in the plastic
flow, defined as
2Lτ B
r 0 = -------------- (4-9)
Δp
where the tangential pressure gradient is calculated by the Pipe Flow interface.
Acoustics Interfaces
This module has extra functionality for simulating acoustics in pipe networks,
which is found under the Acoustics>Acoustic-Structure Interaction branch ( )
when adding a physics interface.
See the Acoustics Module User’s Guide for information about all other Acoustics
physics interfaces.
If you do not have the Acoustics Module, see The Pressure Acoustics, Frequency
Domain Interface in the COMSOL Multiphysics Reference Manual for an
Acoustic physics interface and its feature node settings.
101
The Pipe Acoustics Interfaces
In this section:
These interfaces require both the Pipe Flow Module and the Acoustics
Module.
In the frequency domain all sources and variations are assumed to be harmonic. The
solved equations assume that the propagating waves are plane. The propagation of
higher-order modes that exist above their cut-off frequency, dictated by the pipe cross
section, is not modeled.
The equations governing the propagation of sound in pipes stem from considering
momentum, mass, and energy balances for a control volume of a piece of pipe. The
resulting equations are expressed in the cross-sectional averaged variables and reduce
the equations to a 1D component with scalar dependent variables. The physics
interface is available in 3D on edges and points, and in 2D on boundaries and points.
In the no-background flow case, the 1D pipe domain can be coupled to a 3D pressure
acoustics model using the Acoustic-Pipe Acoustic Connection multiphysics coupling.
When this physics interface is added, these default nodes are also added to the Model
Builder: Fluid Properties, Pipe Properties, Closed, and Initial Values. Then, from the
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is pafd.
p rms
L p = 20 log ----------
1
with p rms = --- p p∗
p ref 2
where pref is the reference pressure and the star (*) represents the complex conjugate.
This is an expression valid for the case of harmonically time-varying acoustic
pressure p.
Select a Reference pressure for the sound pressure level based on the fluid type:
• Use reference pressure for air to use a reference pressure of 20 μPa (20·10−6 Pa).
• Use reference pressure for water to use a reference pressure of 1 μPa (1·10−6 Pa).
• User-defined reference pressure to enter a reference pressure pref, SPL (SI unit: Pa).
The default value is the same as for air, 20 μPa.
DISCRETIZATION
To display this section, click the Show More Options button ( ) and select
Discretization in the Show More Options dialog box. It controls the element types used
in the finite element formulation.
• Edge, Boundary, Point, and Pair Nodes for the Pipe Acoustics
Interfaces
• Theory for the Pipe Acoustics Interfaces
The solved equations assume that the propagating waves are plane. The propagation
of higher-order modes that exist above their cut-off frequency, dictated by the pipe
cross section, is not modeled.
The equations governing the propagation of sound in pipes stem from considering
momentum, mass, and energy balances for a control volume of a piece of pipe. The
resulting equations are expressed in the cross-sectional averaged variables and reduce
the equations to a 1D component with scalar dependent variables. The physics
interface is available in 3D on edges and points, and in 2D on boundaries and points.
In the no-background flow case, the 1D pipe domain can be coupled to a 3D pressure
acoustics model using the Acoustic-Pipe Acoustic Connection multiphysics coupling.
When this physics interface is added, these default nodes are also added to the Model
Builder: Fluid Properties, Pipe Properties, Closed, and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, boundary conditions
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is patd.
The rest of the settings are the same as for The Pipe Acoustics, Frequency Domain
Interface.
• Edge, Boundary, Point, and Pair Nodes for the Pipe Acoustics
Interfaces
• Theory for the Pipe Acoustics Interfaces
Edge, Boundary, Point, and Pair Nodes for the Pipe Acoustics
Interfaces
The Pipe Acoustics, Frequency Domain Interface and The Pipe Acoustics, Transient
Interface have these edge, boundary, point, and pair nodes, listed in alphabetical order,
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Initial Values
The Initial Values node adds initial values for the pressure and tangential velocity that
can serve as an initial condition for a transient simulation or as an initial guess for a
nonlinear solver.
INITIAL VALUES
Enter values or expressions for the initial value of the Pressure p (SI unit: Pa) and the
Tangential Velocity u (SI unit: m/s).
Fluid Properties
The Fluid Properties node adds the momentum and continuity equations solved by the
physics interface, except for volume forces which are added by the Volume Force node.
The node also provides an interface for defining the material properties of the fluid.
BACKGROUND VELOCITY
Enter a value or expression for the Background mean flow velocity u0 (SI unit: m/s)
Physically sound background variables for the pressure p0 and velocity u0 can be
obtained by solving a Pipe Flow model on the same geometry.
PHYSICAL PROPERTIES
Select a Fluid model — Linear elastic (the default).
The default Density ρ (SI unit: kg/m3) and Speed of sound cs (SI unit: m/s) use the
values From material. For User defined enter different values or expressions.
Pipe Properties
The Pipe Properties node is used to define the pipe shape, pipe model, wall drag force,
and flow profile correction factor.
PIPE SHAPE
Select a pipe shape from the list — Not set (the default), Circular, Square, Rectangular,
or User defined.
• For Circular enter a value or expression for the Inner diameter di (SI unit: m). The
default is 10 cm (0.1 m).
• For Square enter a value or expression for the Inner width wi (SI unit: m). The
default is 5 cm (0.05 m).
• For Rectangular enter a value or expression for the Inner width wi (SI unit: m; the
default is 5 cm) and Inner height hi (SI unit: m; the default is 10 cm).
• For User defined enter a value or expression for the Cross-sectional area A (SI unit:
m2; the default is 0.01 m2) and Wetted perimeter Z (SI unit: m; the default is
0.4 m).
PIPE MODEL
Select a Pipe model — Incompressible cross section (the default), Zero axial stress,
Anchored at one end, or Anchored at both ends.
For Anchored at one end or Anchored at both ends also select an option from the
Poisson’s ratio v (dimensionless) list — Not set (the default) or User defined. For User
defined enter a value or expression for Poisson’s ratio.
β = ( u ˜ + u˜ )dA 2
˜ + u˜ ) 2 dA ⁄ ( u
0 0
where the velocity field is the actual one that exists in the pipe cross section. The factor
thus measures the deviation from a flat background flow profile (plug flow) and a plane
propagating acoustic wave.
Closed
Use the Closed node to impose zero velocity. This is the default condition added on all
end points.
PRESSURE
Enter a value or expression for the Pressure p (SI unit: Pa). The default is 0 Pa.
In the frequency domain p represents the amplitude and phase (if it is complex-valued)
of a harmonic pressure source.
In the time domain enter an expression for the pressure p, for example, a forward
moving sinusoidal wave of amplitude 1 Pa can be written as
1[Pa]*sin(omega*t-k*x), where omega and k are parameters defining the angular
frequency and wave number, respectively.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Velocity
Use the Velocity node to prescribe a velocity at the pipe ends.
VELOCITY
Enter a value or expression for the velocity uin (SI unit: m/s) at the inlet and/or outlet
of a pipe. The default is 0 m/s. The velocity uin is defined relative to background flow
u0 and thus in the tangential coordinate system. Enable the Show physics symbols from
the Graphics and Plot Windows menu on the Preference dialog box in order to visualize
the boundary or edge tangent direction. Click the Fluid Properties node to see the
tangents as a red arrows.
The wave speed c in the pipe can be different from the speed of sound cs
in an open space. It then depends on the elastic properties of the pipe
structure. It is defined in Equation 5-4 in the Governing Equations
section.
END IMPEDANCE
Select an Impedance model.
For The Pipe Acoustics, Transient Interface select Infinite pipe (low Mach number limit)
(the default) or User defined. The Infinite pipe (low Mach number limit) models and
infinite pipe by specifying the characteristic impedance at that point. This condition
creates a non-reflecting boundary. The expression is valid for small values of the Mach
number Ma = u0/c. For User defined enter an End impedance Zend (SI unit: Pa·s/m).
The default is patd.rho*(sqrt(1/patd.invc2)), which is ρ·c.
For The Pipe Acoustics, Frequency Domain Interface select from the following —
Infinite pipe (low Mach number limit) (the default), Infinite pipe, Flanged pipe, circular,
Flanged pipe, rectangular, Unflanged pipe, circular (low ka limit), Unflanged pipe, circular,
or User defined.
• For Infinite pipe enter a Wave number k (SI unit: rad/m). The default expression is
pafd.omega*(sqrt(pafd.invc2)). This end impedance models the infinite pipe
using the full (nonlinear) dispersion relation. It is valid for all Mach numbers but
requires the additional input of the wave number k.
• For Flanged pipe, circular enter an Inner radius a (SI unit: m). The default expression
is pafd.dh/2. This end impedance models the radiation impedance of a circular
pipe terminated in an infinite baffle. It is an exact analytical result valid for all
• For Flanged pipe, rectangular enter an Inner width wi (SI unit: m). The default is 5 cm
(0.05 m). Also enter an Inner height hi (SI unit: m). The default is 10 cm (0.1 m).
This end impedance models the radiation impedance of a pipe of rectangular cross
section terminated in an infinite baffle. The model is only valid in the low frequency
range where kw i « 1 and kh i « 1 .
• For Unflanged pipe, circular (low ka limit) or Unflanged pipe, circular enter an Inner
radius a (SI unit: m). The default expression is pafd.dh/2. These two end
impedance models prescribe the radiation impedance of an unflanged circular pipe
(a pipe ending in free open space). The first model is the classical low-frequency
approximation valid for ka « 1 . While the second model extends the frequency
range to ka < 3.83.
• For User defined enter an End impedance Zend (SI unit: Pa⋅s/m). The default
expression is pafd.rho*(sqrt(1/pafd.invc2)), which is ρ·c.
For a detailed review of the end impedance models see: Theory for the
Pipe Acoustics Boundary Conditions.
In this section:
• Governing Equations
• Theory for the Pipe Acoustics Boundary Conditions
• Solving Transient Problems
• Cut-off Frequency
• Flow Profile Correction Factor
• References for the Pipe Acoustics Interfaces
Governing Equations
The continuity equation derived for a control volume is given by
∂---------------
( Aρ )-
+ ∇ ⋅ ( Aρu ) = 0 (5-1)
∂t
∂-------------------
( ρAu )- 2
+ ∇ ( ρAβu ) = – A∇p – τ w Z + AF (5-2)
∂t
where Z is the inner perimeter of the pipe and A = A(x, p,...) is the inner wetted
cross-sectional area, u is the area-averaged mean velocity, which is also defined in the
tangential direction u = uet, p is the mean pressure along the pipe, τw is the wall drag
force, and F is a volume force. The gradient is taken in the tangential direction et. The
β = ---- u˜ dA ⁄ u
1 ˜
p = ---- p˜ dA
1 1 2
2
u = ---- u ⋅ dA (5-3)
A A A
where
p˜ = p˜ ( x ) and u˜ = u˜ ( x )
are the local non-averaged parameters. Again p and u are the area-averaged dependent
variables.
LINEARIZATION
The governing equations are now linearized; that is, all variables are expanded to first
order assuming stationary zero-order values (steady-state background properties). The
acoustic variations of the dependent variables are assumed small and on top of the
background values. This is done according to the following scheme:
u ( x, t ) = u 0 ( x ) + u 1 ( x, t )
p ( x, t ) = p 0 ( x ) + p 1 ( x, t )
ρ ( x, t ) = ρ 0 ( x ) + ρ 1 ( x, t )
A ( x, t ) = A 0 ( x ) + A 1 ( x, t )
2
ρ1 « ρ0 p1 « ρ0 c 0 u1 « c0 A1 « A0
Moreover, the perturbations for the fluid density and cross-sectional area are expanded
to first order in p0 in a Taylor series such that
∂ρ
ρ 1 = ρ – ρ 0 = ( p – p 0 ) ------
∂p s
0
∂A
A 1 = A – A 0 = ( p – p 0 ) -------
∂p s
0
1 1 1 ∂ρ 1 1
β 0 = ------- = ------ = ------ ------ = ------ ----2-
K0 Ks ρ 0 ∂p s ρ0 c
0 s
1 ∂A 1
β A = ------- ------- = -------
A 0 ∂p s KA
0
Here, β0 is the fluid compressibility at the given reference pressure p0, the isentropic
bulk speed of sound is denoted cs, and ρ0 is the fluid density at the given reference
temperature and reference pressure. βA is the effective compressibility of the pipe’s
cross-sectional A0 due to changes in the inner fluid pressure. The bulk modulus K is
equal to one over the compressibility.
Inserting the above expansions into the governing equations (Equation 5-1 and
Equation 5-2) and retaining only first-order terms yield the pipe acoustics equations
including background flow. These are:
1 ∂p 1 u0
A 0 ----2- --------- + ∇ ⋅ A 0 ρ 0 u 1 + -----------2 p 1 = 0
c ∂t ρ0 c
2
∂u 1 u 0 ∂p 1 u0
ρ 0 A 0 ---------- + -----------2 --------- + ∇ A 0 β ------ p + 2ρ 0 A 0 βu 0 u 1
∂t ρ0 c ∂t c
2 1
(5-4)
+ A 0 ( ∇p 1 + p 1 β A ∇p 0 ) + τ w Z – A F = 0
ρ0
----- = ρ 0 ( β 0 + β A ) = ρ 0 ------
1 1
1- ------- 1- -------
----
2 K 0 + K A = 2 + K A
c cs
where c is the effective speed of sound in the pipe (it includes the effect due to the
elastic properties of the pipe defined through KA). The bulk modulus for the
cross-sectional area KA is given by the pipe material properties according to the
so-called Korteweg formula (see Ref. 2). For a system with rigid pipe walls cs = c as KA
tends to infinity.
Using the fact that the velocity is taken along the tangential direction et, the governing
equations are rewritten in terms of the scalar values u and p and projected onto the
tangent. The 0 subscript is dropped on the density and area and the 1 subscript is also
dropped on the dependent variables.
+ A ( ∇t p + p βA ∇t p0 ) ⋅ et + τw Z –A ( F ⋅ et ) = 0
ρ
= ρ ( β 0 + β A ) = ρ ------- + ------- = ----2- + -------
1-
----
1 1 1
2 K 0 K A
c cs KA
where ∇ t is the tangential derivative, τw is the tangential wall drag force (SI unit: N/
m2) and F is a volume force (SI unit: N/m3).
GOVERNING EQUATIONS
1 ∂p u0
A ----2- ------ + ∇ t Aρ u + --------2- p ⋅ e t = 0
c ∂t ρc
2
∂u u0 u0
ρA ------ + ∇ t Aβ -----2- p + 2ρAβu 0 u ⋅ e t + u 0 ∇ t Aρ u + --------2- p ⋅ e t
∂t c ρc (5-6)
+ A ( ∇t p + p βA ∇t p0 ) ⋅ et + τw Z –A ( F ⋅ et ) = 0
ρ
= ρ ( β 0 + β A ) = ρ ------- + ------- = ----2- + -------
1-
----
1 1 1
2 K 0 K A K
c cs A
p = p˜ ( x )e
iωt
(5-7)
u = u˜ ( x )e
iωt
inserting this into the governing Equation 5-6 (and dropping the tilde) yields the
equations solved in the Pipe Acoustics, Frequency Domain interface:
+ A ( ∇ t p + p βA ∇ t p0 ) ⋅ et + τ w Z –A ( F ⋅ et ) = 0
ρ
= ρ ( β 0 + β A ) = ρ ------- + ------- = ----2- + -------
1-
----
1 1 1
2 K 0 K A
c cs KA
p = p in
u = u in
and can be set independently of each other leaving the other dependent variable free.
A special subclass of the velocity condition is the Closed condition, where
u = 0
u0 1 u 0
A ρu + -----2- p = A ρ ----------- + -----2- p (5-9)
c Z end c
p = Re ( p˜ e
i ( ωt – kx )
)
˜
u = Re ( u e
i ( ωt – kx )
)
into the governing Equation 5-6 and solve for the desired relations. After some
manipulation this results in
11 ω
= --- = ----2- --- ---- – u 0
1- u
----------
Z end p c ρ k
ω u 2
---- = βu 0 ± c β ( β – 1 ) -----0- + 1 – --- β A ∇p 0
1
(5-10)
k c k
This dispersion relation is nonlinear in k. In the limit where βA tends to zero and for
small Mach numbers M (= u0/c), the expression is expanded to
ω u 2
--- β ( β – 1 ) -----0-
---- ≅ βu 0 ± c 1 + 1
k 2 c
Hence, the infinite pipe (low Mach number limit) end impedance relation reads
u0 2
= ----2- --- ( β – 1 )u 0 ± c 1 + --- β ( β – 1 ) ------
1- 11 1
---------- (5-11)
Z end c ρ 2 c
where the sign in front of c depends on the direction of propagation of the wave.
• Infinite pipe (low Mach number limit): This is the same relation as for the
transient study and the end impedance is given by Equation 5-11. This can be
thought of as the characteristic impedance of the tube.
• Infinite pipe: This relation uses the full dispersion relation given in Equation 5-10
and yields the expression
u0 2
= ----2- --- ( β – 1 )u 0 ± c β ( β – 1 ) ------ + 1 – --- β A ∇p 0
1- 11 1
---------- (5-12)
Z end c ρ c k
where the wave number k at the right hand side is a user input. In the frequency
domain a good estimate for this quantity is simply ω/c.
• Flanged pipe, circular: In the case of a circular pipe terminated in an infinite baffle
(a flanged pipe) an analytical expression exists for the radiation impedance (see
Ref. 1),
2J 1 ( 2ka ) 2H 1 ( 2ka )
Z end = ρc 1 – -------------------------- + i --------------------------- (5-13)
2ka 2ka
In the low frequency limit (small ka) Equation 5-13 reduces to the classical
expression for the radiation impedance
dt
C = c⋅
dx
For applications where all the shape functions are quadratic the Courant number
should be around 0.2. This condition restricts any acoustic disturbances to propagate
more than 20% of the mesh size dx during one time step dt. In the Pipe Acoustics
interface where a mixed formulation exists, with linear elements for the pressure and
quadratic elements for the velocity, the condition might have to be tightened such that
C < 0.2.
For an example where the CFL condition is used see Water Hammer:
Application Library path Pipe_Flow_Module/Verification_Examples/
water_hammer_verification.
Cut-off Frequency
The Pipe Acoustics interface assumes plane wave propagation. This means that it
cannot model the propagation of the higher order modes that can propagate above
their cut-off frequency fc. In a rectangular pipe of cross-section width wi and height
hi, the cut-off frequency is
In a pipe of circular cross section (with radius a), the cut-off frequency is
c α' mn c
f mn = ---------------
2πa
where α'mn is the n’th zero of the differential of the Bessel function J’m(x) or order
m. The first few values are α'01 = 0, α'02 = 3.83, α'11 = 1.84, and α'21 = 3.05 (see
Ref. 1 and Ref. 5 for further details).
In the presence of a background u0 the factor β can be set different 1 in order to model
a non-flat velocity profile inside the tube. The value of b (and the actual shape of the
background field) influences the convective momentum transfer balances. The places
where β enter the governing equations are multiplied with either the Mach number or
the Mach number squared, indicating that the effects become important for an
increasing background flow.
2. M.S. Ghidaoui, M. Zhao, D.A. McInnis, and D.H. Axworthy, “A Review of Water
Hammer Theory and Practice”, Applied Mechanics Reviews, ASME, 2005.
Pipe Mechanics
123
124 | CHAPTER 6: PIPE MECHANICS
7
Multiphysics Couplings
This chapter contains a description of all the Multiphysics coupling features of the
Pipe Flow Module.
125
Coupling Features
The Pipe Flow Module contains the following Multiphysics Coupling features:
• Pipe Connection
• Acoustic-Pipe Acoustic Connection
The couplings features are described below.
Pipe Connection
You can easily couple Pipe Flow Interface with Single-Phase Flow interfaces using
multiphysics coupling feature Pipe Connection ( ). The Pipe Connection node is only
available with some COMSOL products (see http://www.comsol.com/products/
specifications/).
The Pipe Connection multiphysics coupling couples a 1D pipe segment modeled with
the Pipe Flow interface with a 3D single phase flow body. There is an automatic search
for possible adjacent geometrical objects. If you want to modify the selections, select
the Manual control of selections check box. If you clear it, the selections will be replaced
by the automatic ones.
If the automatic selection is not sufficient, select the Manual control of selections check
box. Then, select the connected fluid boundaries in the Boundary Selection, Fluid
section and the corresponding pipe points in the Point Selection, Pipe section. You can
connect only one pipe segment to 2D surface that comprises an orifice in a 3D body.
The connection ensure continuity in mass flux and pressure across the connection,
regardless of flow direction.
INDEX| 129
Gnielinski equation for Nusselt number n-way junction (node) 39
84 n-way junctions 53
Grashof number 85
O outlet (node) 31
H Haaland equation 55
P pair nodes
heat outflow (node) 77
heat transfer in pipes 70
heat source (node) 71
nonisothermal pipe flow 43
heat transfer (node)
pipe acoustics 105
heat transfer in pipes 70
pipe flow 24
nonisothermal pipe flow 45
reacting pipe flow 93
heat transfer in pipes interface 69
transport of diluted species in pipes 89
theory 78
water hammer 48
Hedström number 59
phase fractions (node) 28
I initial values (node) physics interfaces, common settings 13
heat transfer in pipes 76 physics symbols
pipe acoustics, frequency domain 106 showing 40
pipe acoustics, transient 106 pipe acoustics, frequency domain (pafd)
pipe flow 29 interface 102
reacting pipe flow 95 pipe acoustics, transient (patd) interface
transport of diluted species in pipes 90 104
inlet (node) 29 theory 112
internal film resistance (node) 73 pipe connection (node) 126
internal film resistance, theory 83 pipe cross section area 78
internet resources 14 pipe flow interface 23
theory 51
K knowledge base, COMSOL 17
pipe properties (node)
Korteweg formula 65, 114
pipe acoustics 107
L local friction loss (node) 49
pipe flow 27
loss coefficients 53
reacting pipe flow 94
lossless fitting (node) 31
water hammer 49
M mass outflow (node) 91 point nodes
momentum and continuity equations 51 heat transfer in pipes 70
MPH-files 16 nonisothermal pipe flow 43
pipe acoustics 105
N no flow (node) 31
pipe flow 24
nodes, common settings 13
reacting pipe flow 93
nonisothermal pipe flow interface 42
transport of diluted species in pipes 89
theory 51
water hammer 48
Nusselt number 83
Prandtl number 84
INDEX| 130
pressure (node) water hammer 64
pipe acoustics 109 T-junctions 53
pipe flow 31 transport of diluted species in pipes in-
water hammer 50 terface 88
Pressure Work 44 theory 98
pump (node) 34 two-phase flow 56
two-phase friction factor 57
R Rayleigh number 85
reacting pipe flow interface 92 U unit tangent vector 52
theory 78, 98
V valve (node) 32
reactions (node) 91
velocity (node)
Reynolds number 53
pipe acoustics 109
Reynolds number, modified 58
water hammer 50
S shell balance 80 volume force (node) 27
showing volumetric void fraction 57
physics symbols 40 von Karman formula 55
single-phase fluids 54
W wall heat transfer (node) 72, 76
stabilization 85
wall heat transfer, theory 79
standard settings 13
wall layer (node) 75
Stokes formula 55
wall mass transfer (node) 91
surface roughness 28
water hammer interface 46
values for 60
theory 64
Swamee-Aggarwal equation 59
websites, COMSOL 17
Swamee-Jain equation 56
Wood equation 55
swirl-correction factor 113
Y Y- junction 37
symbols for physics 40
Y-junctions 53
T T- junction (node) 35
tangential velocity 52
Taylor series 113
technical support, COMSOL 16
temperature (node) 76
theory
heat transfer in pipes 78
non-isothermal pipe flow 51
pipe acoustics, transient interface 112
pipe flow 51
reacting pipe flow 78, 98
transport of diluted species in pipes 98
INDEX| 131
132 | I N D E X