C Multiphysics: Omsol
C Multiphysics: Omsol
C Multiphysics: Omsol
Release Notes
VERSION 4.4
COMSOL Multiphysics Release Notes
© 1998–2013 COMSOL
Protected by U.S. Patents 7,519,518; 7,596,474; 7,623,991; 8,219,373; and 8,457,932. Patents pending.
This Documentation and the Programs described herein are furnished under the COMSOL Software License
Agreement (www.comsol.com/sla) and may be used or copied only under the terms of the license
agreement.
COMSOL, COMSOL Multiphysics, Capture the Concept, COMSOL Desktop, 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/tm.
Version: November 2013 COMSOL 4.4
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.
Release Notes
3
COMSOL Multiphysics
New Product in Version 4.4
The Mixer Module complements the CFD Module to provide engineers and scientists
with the necessary simulation tools for predicting and understanding the interactions
between fluid flow and chemical processes in mixers and stirred vessels.
The Mixer Module, which requires a CFD Module license, includes the Rotating
Machinery, Non-Isothermal Flow and Rotating Machinery, Reacting Flow interfaces.
The added functionality extends the CFD Module in terms of turbulence modeling for
the Rotating Machinery interfaces. It also includes free-surface features to capture the
displacement of the liquid-air interface induced by the bulk motion in the domain, by
the walls, and by the rotating shaft.
The model includes capabilities for analyzing frozen-rotor and time-dependent flows
in two- and three-dimensional spaces. For a so-called frozen-rotor flow, the topology
relative to the rotating reference frame is fixed (“frozen”). When the flow field is, or
can be approximated to be, of this type, the computational time (CPU time) can be
substantially reduced using the Frozen Rotor study type.
The new Desktop layout highlights the most used functionality; menu items are
grouped with similar tasks and actions. The features are still available when you
right-click a node in the model tree to open the context menu—there are often several
ways to complete the same task. As before, the available options in any context menu
or ribbon tab are based on where you are in the model, what stage of the solving
process your are at, and whether it is relevant to the model being built.
4 | RELEASE NOTES
SINGLE-CLICK SELECTIONS
It is much easier to assign geometric entities (domains, boundaries, edges, and points)
to physics features with the new single-click selection behavior available in the Graphics
window. Simply click (left-click) to add a selection to a feature; click again to deselect
it. Geometric entities are highlighted when you hover over them with the mouse.
There is also a preselection mode, which you enter by setting the Active button to OFF
in the settings windows for nodes that contain a selection list. There you can pick
geometric entities (boundaries, for example), and then add a physics feature from the
toolbar (a new boundary condition, for example, which then uses the selection that
you picked).
To select overlapping objects (such as interior boundaries), use the scroll wheel (mouse
wheel) to move the highlighting from the closest overlapping entity forward and back
by rolling the wheel forward and backward (if you use COMSOL on a computer with
a touchpad instead of a mouse, use its equivalent to the wheel; for example, moving
two adjoining fingers up or down the touchpad). If you can move the mouse wheel in
small distinct increments, each such increment moves the selection to the next or
previous entity that you can reach. Alternatively, use the up arrow and down arrow keys
to select the next or previous entity, respectively.
You can choose to use the selection mechanisms and highlighting that was available in
earlier versions of COMSOL by selecting the Use classic selections check box on the
User interface page in the Preferences dialog box (this will take affect after you restart
COMSOL).
Predefined multiphysics interfaces provide you with a quick entry point for common
multiphysics applications. You can create the same couplings using any of the other
methods for multiphysics modeling, and you can continue to add, modify, disable, and
remove physics in a model where you start by using one of the predefined multiphysics
COMSOL MULTIPHYSICS | 5
interfaces. Add physics sequentially is another useful approach as you can verify that
each type of physics or equation gives the expected results before adding more
complexity to the model with other physics or coupling fields.
You can turn multiphysics on and off (that is, enable and disable features), giving you
more flexibility to test and observe multiphysics effects.
• Joule Heating
• Induction Heating (requires the AC/DC Module)
• Microwave Heating (requires the RF Module)
• Laser Heating (requires the Wave Optics Module)
• Thermal Stress (requires the Structural Mechanics or MEMS Module)
• Joule Heating and Thermal Expansion (requires the Structural Mechanics or
MEMS Module)
• Thermoelectric Effect (requires the Heat Transfer Module)
6 | RELEASE NOTES
• A Sticky Help button makes it possible to “lock” the Help windows contents instead
of automatically updating it when you click another node in the model tree. In
previous this option was only available as a preference setting.
• Powerful search functionality: It is now possible to search for combinations of
words, one word but not another word, and so on, including wildcard characters
and searching for words that are almost identical to the one you enter.
MASS PROPERTIES
Computation of mass properties is now available. When you add a Mass Properties
node and provide an expression or value for the density, COMSOL defines variables
for and computes the following mass properties: volume, mass, center of mass,
moment of inertia, and principal moment of inertia.
LOCALIZED INSTALLER
The COMSOL Installer now supports the same local languages as the COMSOL
Desktop. The language that you select during installation becomes the default
language in the COMSOL Desktop.
COMSOL MULTIPHYSICS | 7
New Geometry and Mesh Functionality
GEOMETRY SUBSEQUENCES
New, powerful geometry subsequences make it possible to create your own geometric
primitives. A geometry subsequence call corresponds to a subroutine call in a
programming language. In other words, a geometry subsequence is a geometry
sequence with a set of numerical input arguments and a set of geometry objects as
output. You can view them as a user-defined geometry primitives. In the geometry
sequence, you can call the subsequence repeatedly, or create instances of it, using a
unique set of input argument values for each call. Calls can also be nested.
I M P R OVE D WO R K P L A N E S
There is now improved functionality for work planes:
• New Transformed work plane type that translates and rotates another work plane.
• You can position the result of a Subsequence Call node by matching work planes in
3D.
• Improved possibilities to control the work plane’s coordinate system (that is, the
position of the origin and the direction of the xw-axis).
• For work planes of the Quick and Face parallel types, you can specify the plane
offset distance by specifying a vertex.
• It is now possible to rotate Circle perpendicular work planes.
• A new Unite Objects sections includes a Unite objects check box, selected by
default, and a tolerance setting for uniting 2D objects in the work plane. It is
recommended to form the union of all objects in the 2D work plane sequence
before extruding them into 3D.
CUMULATIVE SELECTIONS
A cumulative selection is a selection in the geometry sequence that is a union of
contributions from several selections. Cumulative selections are especially useful for
constructing a selection that has different definitions in different branches of an If
statement. There is no node in the tree that corresponds to the cumulative selection.
For example, you can create a cumulative selection that adds the boundaries from
8 | RELEASE NOTES
several geometry objects in a geometry sequence, and then refer to such cumulative
selections when defining materials and physics.
COMSOL MULTIPHYSICS | 9
New Functionality in Studies and Solvers
10 | RELEASE NOTES
Plain Sweep in the frequency parameter is more efficient than the previously used
Continuation method.
• Parametric Solver: This functionality is available for Stationary, Frequency Domain,
and Time Dependent study steps. The Parametric Solver is a set of parametric
variation methods, and it is used to vary boundary conditions, domain, and material
property values. The Parametric Solver does not use the Job functionality from the
Job Configurations node; thus, the Parametric Solver is not applicable for varying
parameters used to define the geometry, mesh, functions, and probes. You can
control the Parametric Solver settings from the Parametric node under Stationary
Solver or the Time Parametric node under Time-Dependent Solver in the solver
sequence. You can also control them from the settings for studies under Study
Extensions.
The parametric solver provides additional functionality for solving nonlinear
problems. When solving a nonlinear stationary problem, the choice of initial
condition can strongly affect the convergence rate toward the solution or even the
possibility of finding a solution at all. There are three different parametric sweep
variants:
- Continuation: The parametric solver, by default, uses the previous solutions as
initial conditions for the next stationary solution step. If the solver is unable to
find a solution for a specified value in the range of parameters, the solver will
backtrack and take a smaller step within the range of the parameters specified.
This algorithm is also known as a continuation method, and the user interface
gives you control over how the solver steps through the range of parameters. The
solution for the previous continuation step is always used as the starting guess for
the next step. The continuation method is used to reach convergence for highly
nonlinear models where the degree of nonlinearity is “ramped up” using a
continuation parameter. Either a tangent or a constant predictor can be used. If
the solver is unable to find a solution for a requested parameter step, the solver
either terminates or continues to the next requested parameter value. The time
parametric solver does not support continuation.
- Plain Sweep: When parameters do not vary with the continuation algorithm, it is
possible to choose whether the previous solution should be used as the starting
guess or not. When reusing the solution, a simpler form of continuation is
obtained. This is the method used in the previous version (4.3b) for
multiparameter sweeps. A plain sweep, without using the previous solution as a
COMSOL MULTIPHYSICS | 11
starting guess, is similar to a Parametric Sweep but has less overhead and is faster
when applicable.
- Auxiliary Sweep: This option is used for single-parameter or multiparameter
sweeps with the Parametric Solver and gives the user control of which variables
should be solved for using the continuation or plain sweep methods. You can run
continuation for at most one parameter. For a Stationary study, an Auxiliary
Sweep controls all parameters that are swept for. For a Frequency Domain sweep,
the Parametric Solver is used to vary the frequency at the Study node level, and
you can optionally extend with other parameter variations using the settings for
Auxiliary Sweep, which are available in the settings for the Frequency Domain
study. Auxiliary Sweep is also available for a Time Dependent study, but with no
Continuation option.
• The parametric sweep and the parametric solver can be combined within a single
study. There is a computational advantage to using the parametric solver, and the
software automatically calls the parametric solver algorithm when possible, even if
you are using the Parametric Sweep interface. The Parametric Sweep can also be
used on a cluster system, when using the Floating Network License type, to
distribute the computational load.
The Parametric Sweep study step now behaves more consistently across stationary
sweeps that are realized using the Parametric solver and sweeps that are realized using
a Parametric Job. The Parametric Sweep study step realizes stationary parametric
sweeps using a Parametric solver by default, if the problem and parameters allow it,
which is more efficient than using a Parametric Job.
The following changes have been implemented for such Parametric solvers to make
them more consistent with Parametric Jobs:
Simulations that require reusing the converged solutions or that need the continuation
algorithm must now use the Auxiliary sweep functionality of the Stationary study step,
12 | RELEASE NOTES
in the Study Extensions section. The Parametric Sweep study step can no longer be
used in this case. The following settings should be made for such auxiliary sweeps:
• To use the continuation algorithm, select the parameter with the Run continuation
for setting. The continuation algorithm always reuses the converged solutions for
the selected continuation parameter.
• To further control how solutions are reused between the parameter steps, use the
new Reuse solution for previous step setting, which can be No (the default), Yes, or
Auto. The Auto setting analyzes the parameter stepping in a multiparameter sweep
where continuation is not used and reuses the previous solution when it is beneficial.
There is also new fallback functionality for the case when the solver does not converge
for a certain parameter combination. This functionality is structurally similar to the Job
Parametric Sweep. The new control mechanism is called On error, which has the
options Stop and Store empty solution, and can be found in the Parametric node
settings. The default is Stop (backward compatible). For the option Store empty
solution, an empty solution (with NaNs) is stored and the solver continues with the
next parameter combination. This is useful, for example, when doing frequency sweeps
in which the frequencies of interest are so close to an eigenvalue that the solver does
not converge. In these cases the new option allows you to avoid cumbersome restarts
and also produce useful output. For results processing, any returned converged
solutions can still be used. When this option is used together with continuation, the
continuation sweep is not restarted after the failing parameter, and an empty solution
is stored for all requested values after the failing one. This can be useful for
multiparameter sweeps where, instead of the solver terminating, the next continuation
sweep is started.
COMSOL MULTIPHYSICS | 13
OTHER NEW AND IMPROVED SOLVER FUNCTIONALITY
• For the eigenvalue solver, a new Eigenvalue search method around shift list makes it
possible to search for eigenvalues that are Closest in absolute value (this is the default,
and the only option in earlier versions) but also for eigenvalues with the Larger real
part, Smaller real part, Larger imaginary part, or Smaller imaginary part.
• The relative error estimate (LinErr) and the relative residual (LinRes) are now printed
in the solver log for direct linear solvers when Check error estimate is set to Yes or
Automatic.
• From the Programming submenu for solver sequences, you can select For to add two
nodes to the sequence: a For node and an End For node. Position those nodes in a
solver sequence to create a for loop. These for loops can be useful, for example, for
solving particle-field interactions in particle tracing by iterating between a stationary
and a time-dependent solver.
• For COMSOL batch commands (comsolbatch and comsolclusterbatch), you
can print the license requirements for a Model MPH-file using the argument
-checklicense <filename>.
14 | RELEASE NOTES
CHANGES TO PARAMETRIC SWEEPS
Old models that use stationary parametric sweeps are loaded with the Reuse solution
for previous step list set to Yes. The Run continuation for list is set to the parameter used,
unless the continuation algorithm would not have been used for this model in previous
versions (for example, if multiple parameters are used or if the parameter list is not
monotonous).
Laminar inflow and laminar outflow are available in the fluid flow physics interfaces in
the following modules:
COMSOL MULTIPHYSICS | 15
VE L O C I T Y / A C C E L E R A T I O N I N T E G R A T I O N V A R I A B L E
For the Solid Mechanics interface (and all related multiphysics interfaces) and the
Truss interface, a help variable u0 (velocity integration variable) is used in Prescribed
Velocity and Prescribed Acceleration features for Time Dependent study types. This
variable computes the displacement for each point where the condition is prescribed.
It has been changed to use the full feature scope in order to avoid collisions in cases
where several such features exist within the same model component. As a result, when
opening and running any old model that uses such features together with a segregated
solver, an error message appears, stating that not all dependent variables occur in at
least one of the segregated solver steps. The relevant action is to manually add the
velocity integration variable to the segregated step containing the corresponding
displacement field. Alternatively, you can regenerate any affected solver sequence.
This change can cause the solvers to take more nonlinear steps for stationary problems
and more time steps for time-dependent problems, and it may also lead to convergence
problems. For such cases, use the No method to obtain the old behavior. However,
doing so can hide numerical problems and potentially lead to large numerical errors.
TE R M I N A T I O N C R I T E R I O N F O R S T A T I O N A R Y S O L VE R S
The default termination criterion for stationary solvers has changed. In 4.3a the
settings corresponded to Solution; now the default is Solution or residual. This change
in default termination criterion might affect models created in earlier versions of
COMSOL if you regenerate the solver sequence in 4.4.
16 | RELEASE NOTES
BACKWARD EULER INITIALIZATION TIME STEP
A new setting in the Advanced section of the settings window for the Time-Dependent
Solver, called Fraction of initial step for Backward Euler, provides an option for entering
a dimensionless quantity that determines the size of the time step for the backward
Euler method (in terms of the initial step). This value can improve the accuracy of the
initialization step but can also affect the start-up of some models. The default value is
0.001 (this differs from earlier versions, which used a value of 1). When opening
models created in version 4.3a or earlier, the value for this fraction is set to 1 to
maintain compatibility with those versions.
N E W TE R M I N O L O G Y F O R C O N S T R A I N T TY P E S
The following constraint types have new names in version 4.4:
• Bidirectional, symmetric is now Apply reaction terms on: All physics (symmetric).
• Unidirectional is now Apply reaction terms on: Individual dependent variables.
COMSOL MULTIPHYSICS | 17
WEAK CONSTRAINTS UPDATE FOR THE LAMINAR FLOW INTERFACE
The weak constraint formulations for the following boundary conditions has been
updated:
• Symmetry
• The Slip option in the Wall feature
These boundary conditions are now formulated using the same set of Lagrange
multipliers as all the other boundary conditions in the Laminar Flow interface. The
Lagrange multiplier un_lm has been removed.
Models saved in version 4.3 will include un_lm until the model is re-solved. In some
cases, occurrences of un_lm in the solver sequence must be replaced manually. This is
the case if un_lm was the only Lagrange multiplier component in a segregated group
or the only Lagrange multiplier component of a Vanka smoother. Alternatively, you
can generate a new automatic solver sequence. Models saved in versions earlier than
4.3 must either be re-solved in version 4.4 for postprocessing, or opened and re-saved
in version 4.3 before being opened in version 4.4.
18 | RELEASE NOTES
AC / D C M o dule
New Functionality in Version 4.4
AC/DC MODULE | 19
Acoustics Module
New Functionality in Version 4.4
Poroacoustics
For poroacoustics, the fluid models are now given names conforming with industry
standards: Delany-Bazley-Miki and Johnson-Champoux-Allard. In addition, the
defaults and organization of parameters have been streamlined.
20 | RELEASE NOTES
intensity inside the car. The frequency response at given points inside the cabin is
also determined.
ACOUSTICS MODULE | 21
Batteries & Fuel Cells Module
New and Improved Functionality in Version 4.4
PE R M E A B I L I T Y TE N S O R F O R T H E B R I N K M A N E Q U A T I O N S
For porous media flow, the Brinkman equations extend the well-known Darcy’s law.
New in version 4.4 is support for an anisotropic permeability tensor. Different domains
can have different anisotropic materials and the tensor components can even vary
spatially.
Point and line mass sources for fluid flow are included as contributions to the
continuity equation. This functionality has been added to the Reacting Flow in Porous
Media, Diluted Species interface.
22 | RELEASE NOTES
WE A K CO NS TRA IN TS UPDATE F OR FL UID F LOW IN TER FA CES
The weak constraint formulations for some boundary conditions in the following
interfaces have been updated:
• Laminar Flow
• Brinkman Equations
• Free and Porous Media Flow
MOBILITY
In physics user interfaces modeling migration (Transport of Diluted Species; Transport
of Concentrated Species; Reacting Flow in Porous Media, Diluted Species; Reacting
Flow in Porous Media, Concentrated Species; Tertiary Current Distribution; and
Nernst-Planck) anisotropic mobility is now supported, and the mobility can be set to
follow the Nernst-Einstein relation. The default setting when making new models has
been changed to use the Nernst-Einstein relation. Model files for Java generated prior
to 4.3b using Migration will have to be modified manually to account for these
changes.
GEOMETRY REPRESENTATION
When the Geometry representation list in the Geometry node’s settings window is set to
COMSOL kernel, the geometry operations that require the CAD Import Module are
no longer visible. When the software suggests to change the geometry representation,
a dialog box appears where you can confirm this.
There is a new preference on the Geometry page in the Preferences dialog box: The
When opening an existing model list under Geometry representation. By default, it is set
to Use model’s kernel. If you change it to Convert to COMSOL kernel, you will get a
possibility to rebuild the geometry using the COMSOL kernel when opening a model
made with the CAD Import Module. The corresponding API methods are
ModelUtil.setOpenGeometryKernel and ModelUtil.getOpenGeometryKernel.
The Geometry preference Switch kernel automatically and the corresponding API
methods ModelUtil.setAutoSwitchGeometryKernel and
ModelUtil.getAutoSwitchGeometryKernel available in earlier versions have been
removed.
24 | RELEASE NOTES
New Functionality in LiveLink™ for In vento r ® in Version 4.4
IMPROVED SYNCHRONIZATION
Synchronizing the geometry between Inventor and COMSOL now also includes the
synchronization of material selections. Selections that contain synchronized geometry
objects (bodies) are created in COMSOL based on the material definitions from the
CAD design. The selections get their names from the material name in Inventor. Use
these selections as input for geometry features requiring object selections or for any
model definitions, physics, or material settings requiring domain selections. The
LiveLink node contains a table with a list of the synchronized selections.
IMPROVED SYNCHRONIZATION
Expanding on the functionality that synchronizes selections based on material
assignments to the CAD design in SolidWorks, the LiveLink™ interface now adds
support for user-defined selections. In the added COMSOL Selections interface in
SolidWorks, you can define selections that are synchronized to the COMSOL model.
You can choose to synchronize selections for bodies, faces, edges, or points, which
become selections in the model when the design is synchronized with the COMSOL
Desktop. Setting up a model becomes more efficient as you can also create selections
from features of the Model Builder or from components of an assembly.
WA L L R O U G H N E S S F O R TU R B U L E N T F L OW
For modeling surface roughness of walls in turbulent flow, there are now two
roughness models available: Sand Roughness and Generic Roughness. The Wall
roughness feature modifies the turbulence wall functions and is available for the
k-epsilon and k-omega turbulence models in the CFD Module. The Sand Roughness
model is commonly used in engineering applications and introduces a single parameter
for the equivalent sand roughness height. The Generic Roughness model is more
general and has, in addition to the roughness height, a roughness parameter, which
you can use to model other types of roughness. The default value for the roughness
parameter corresponds to that for sand roughness.
Wall functions for rough walls have been implemented for the following physics
interfaces:
• Single-Phase Flow
- Turbulent Flow, k-epsilon
- Turbulent Flow, k-omega
• Single-Phase Flow, Rotating Machinery
- Turbulent Flow, k-epsilon
- Turbulent Flow, k-omega
• Bubbly Flow, Turbulent Bubbly Flow
• Mixture Model, Turbulent Flow
• Turbulent Two-Phase Flow, Level Set
• Turbulent Two-Phase Flow, Phase Field
• Fluid-Structure Interaction interface with a turbulence model selected
PE R M E A B I L I T Y TE N S O R F O R T H E B R I N K M A N E Q U A T I O N S
For porous media flow, the Brinkman equations extend the well-known Darcy’s law.
New in version 4.4 is support for an anisotropic permeability tensor. Different domains
can have different anisotropic materials and the tensor components can even vary
spatially.
26 | RELEASE NOTES
DRAG MODEL FOR NON-SPHERICAL PARTICLES
In addition to the previously available drag models, Schiller-Naumann,
Hadamard-Rybczynski, and Gidaspow, there is now a new Haider-Levenspiel drag
model for nonspherical particles. This new drag model is available for the following
physics interfaces:
• Mixture Model
• Euler-Euler Model
• Particle Tracing for Fluid Flow (requires the Particle Tracing Module)
The settings are somewhat different for each physics interface. The drag model
requires the sphericity, Sp, which is a measure of how spherical a particle is. For a
spherical particle Sp, while nonspherical particles have Sp1. Nonspherical
particles typically result in higher drag than spherical particles.
Point and line mass sources for fluid flow are included as contributions to the
continuity equation. This functionality has been added to the following physics
interfaces for fluid flow:
• Single-Phase Flow
• Brinkman Equations
• Free and Porous Media Flow
• Reacting Flow in Porous Media, Diluted Species (requires the Batteries & Fuel Cells
Module, CFD Module, or Chemical Reaction Engineering Module)
• Two-Phase Flow (requires the CFD Module or the Microfluidics Module)
• Rotating Machinery, Fluid Flow (requires the CFD Module or the Mixer Module)
CFD MODULE | 27
• Fluid-Structure Interaction (requires the Structural Mechanics Module or the
MEMS Module)
• Two-Phase Flow, Moving Mesh (requires the Microfluidics Module)
• Normal flow prescribes a zero tangential velocity at the outlet. This condition can
be expected if the outlet represents a straight pipe or channel. However, it is not
selected by default because the flow can be disturbed upstream of the outlet,
potentially altering the solution significantly.
• Suppressing backflow reduces the tendency for fluid to enter the domain from the
outside. It does not completely prevent backflow, and in the case that backflow
occurs, this option locally decreases the specified pressure. Controlling backflow is
important when combining fluid flow with other transport equations, such as mass
and heat transport. If the flow reverses, the outlet boundary condition for the
transport equations is no longer valid; this can lead to convergence problems or
nonphysical solutions. The Suppress backflow option is therefore selected by
default.
The Outlet boundary condition has been revised for the new version in the following
physics interfaces in the CFD Module:
• Single-Phase Flow
• Brinkman Equations
• Free and Porous Media Flow
• Two-Phase Flow
• Level-Set
• Phase-Field
• Non-Isothermal Flow and Conjugate Heat Transfer
• Reacting Flow
28 | RELEASE NOTES
• Reacting Flow in Porous Media
- Diluted Species
- Concentrated Species
• Rotating Machinery, Single-Phase Flow
• Fluid-Structure Interaction (requires the Structural Mechanics Module or the
MEMS Module)
This change is valid for laminar flow, Stokes flow, and turbulent flow when applicable.
The Outlet boundary condition from previous versions still exists but has been
excluded from the physics context menu. Models created in previous versions retain
the old Outlet feature, but adding a new Outlet node gives them the new functionality.
B U BBL E - I N D U C E D TU R B U L E N C E I N B U BBL Y F L OW
Equation terms accounting for bubble-induced turbulence in the Turbulent Bubbly
Flow interface are now added correctly. As a result, models with Turbulent Bubbly
Flow now show higher levels of turbulence.
FLUID-STRUCTURE INTERACTION
The Fluid-Structure Interaction (FSI) multiphysics interface has been updated. The
separate vWall field is no longer required and has been removed. FSI models from 4.3
CFD MODULE | 29
and earlier versions that include Time Dependent study steps will be affected in the
following way:
• Model files for Java will fail. Any reference to the vWall field must be removed.
• Models older than 4.3 (that is, 4.2a and older) must either clear their
time-dependent solutions when opened in 4.4. An alternative procedure is to:
- Open the model in version 4.3.
FSI models with only stationary study steps will not be affected. Note that vWall will
still be available as a variable. Hence, references to fsi.vWall made in, for example,
another physics still work.
30 | RELEASE NOTES
• The Moving wall (wall functions) boundary condition in the Wall feature
• The Slip boundary condition in the Wall feature
Rotating Machinery
• Symmetry
• The Slip boundary condition in the Wall feature
• The Wall functions boundary condition in the Wall feature (turbulent flow only)
• The Moving wall (wall functions) boundary condition in the Wall feature (turbulent
flow only)
• Rotating Wall (turbulent flow only)
Bubbly Flow
• Symmetry
• The Slip boundary condition for the liquid phase in the Wall feature
• The Wall functions boundary condition for the liquid phase in the Wall feature
(turbulent flow only)
Mixture Model
• Symmetry
• The Slip boundary condition for the mixture in the Wall feature
• Wall functions boundary condition for the mixture in the Wall feature (turbulent
flow only)
CFD MODULE | 31
• The Slip boundary condition in the Wall feature
• The Wetted wall boundary condition in the Wall feature
• The Moving wetted wall boundary condition in the Wall feature
• The Wall function boundary condition in the Wall feature (turbulent flow only)
• The Moving wall (wall functions) boundary condition in the Wall feature (turbulent
flow only)
These boundary conditions are now formulated using the same set of Lagrange
multipliers as all the other boundary conditions for the dependent velocity variables.
The previously used Lagrange multiplier un_lm has been removed.
When you open models saved in version 4.3, they include un_lm until the model is
re-solved. In some cases, occurrences of un_lm in the solver sequence must be replaced
manually. This is the case if un_lm was the only Lagrange multiplier component in a
segregated group or the only Lagrange multiplier component of a Vanka smoother.
Alternatively, you can generate a new automatic solver sequence. Models saved in
32 | RELEASE NOTES
versions previous to version 4.3 must either be re-solved in version 4.4 for
postprocessing, or opened and re-saved in version 4.3 before being opened in version
4.4.
Weak constraints for the Interior Wall feature are no longer available.
R EV I S I O N O F T H E TU R B U L E N C E M O D E L S
The formulations of some variables in the turbulence models have been revised in
order to improve accuracy. Models using a turbulence model can display a different
convergence behavior in version 4.4 than in version 4.3 and the result can differ
slightly between the versions.
CFD MODULE | 33
Chemical Reaction Engineering
Module
New Functionality in Version 4.4
• The total mass flow and average pressure within Darcy’s Law calculations of fluid
flow
• The total mass flow at the outlet when modeling laminar flow
• The cup-mixing temperature when modeling non-isothermal flow
• The averaged mass fraction when modeling the transport of both dilute and
concentrated species
PE R M E A B I L I T Y TE N S O R F O R T H E B R I N K M A N E Q U A T I O N S
For porous media flow, the Brinkman equations extend the well-known Darcy’s law.
New in version 4.4 is support for an anisotropic permeability tensor. Different domains
can have different anisotropic materials and the tensor components can even vary
spatially.
34 | RELEASE NOTES
models, its actual effect is distributed throughout the close vicinity of the point. The
size of the distribution depends on the mesh and strength of the source—a finer mesh
spreads the source over a smaller region but results in a more extreme pressure value.
A line source in 3D and 2D axisymmetric models represents a source emanating from
a tube with a very small cross-sectional area. Line sources can be added to lines in 3D,
to the symmetry axis in 2D axisymmetric models, and to points in 2D, for which they
represent the cross section of a tube of very small area.
Point and line mass sources for fluid flow are included as contributions to the
continuity equation. This functionality has been added to the Reacting Flow in Porous
Media, Diluted Species interface.
• Laminar Flow
• Brinkman Equations
• Free and Porous Media Flow
MOBILITY
In physics user interfaces modeling migration (Transport of Diluted Species; Transport
of Concentrated Species; Reacting Flow in Porous Media, Diluted Species; Reacting
Flow in Porous Media, Concentrated Species; and Nernst-Planck Equations)
36 | RELEASE NOTES
Corrosion Module
New and Improved Functionality in Version 4.4
PE R M E A B I L I T Y TE N S O R F O R T H E B R I N K M A N E Q U A T I O N S
For porous media flow, the Brinkman equations extend the well-known Darcy’s law.
New in version 4.4 is support for an anisotropic permeability tensor. Different domains
can have different anisotropic materials and the tensor components can even vary
spatially.
ATMOSPHERIC CORROSION
Metallic structures are susceptible to atmospheric corrosion when they are exposed to
humid air containing salt particles. This model simulates atmospheric galvanic
corrosion of an aluminum alloy in contact with steel. The electrolyte film thickness
depends on the relative humidity of the surrounding air and the salt load density of
NaCl crystals on the metal surface. The Secondary Current Distribution interface is
used in the model with parametric sweeps for relative humidity and salt load density.
The limiting current density for the oxygen reduction reaction is evaluated using
empirical expressions for diffusivity and the solubility of O2 in the electrolyte solution.
CORROSION MODULE | 37
Backward Compatibility With Version 4.3
• Laminar Flow
• Brinkman Equations
• Free and Porous Media Flow
MOBILITY
In physics user interfaces modeling migration (Transport of Diluted Species; Tertiary
Current Distribution, Nernst-Planck; and Corrosion, Tertiary Nernst-Planck)
anisotropic mobility is now supported, and the mobility can be set to follow the
Nernst-Einstein relation. The default setting when making new models has been
changed to use the Nernst-Einstein relation. Model files for Java generated prior to
4.3b using Migration will have to be modified manually to account for these changes.
38 | RELEASE NOTES
ECAD Import Module
New Functionality in Version 4.4
ODB++ IMPORT
By implementing import of the ODB++ format, the functionality of the ECAD Import
Module is expanded to include support for one of the most popular formats for
transferring printed circuit board (PCB) data. Using this new import capability you can
now extract geometrical data from an ODB++ file and use it to create a geometry of
the PCB for simulation in COMSOL. Geometry import in the ECAD Import Module
now supports the additional file extensions: .zip, .tar, .tgz, .gz, and .Z for the ODB++
file format.
PE R M E A B I L I T Y TE N S O R F O R T H E B R I N K M A N E Q U A T I O N S
For porous media flow, the Brinkman equations extend the well-known Darcy’s law.
New in version 4.4 is support for an anisotropic permeability tensor. Different domains
can have different anisotropic materials and the tensor components can even vary
spatially.
40 | RELEASE NOTES
E le c t r o de po s i t i on Mod u l e
New and Improved User Interfaces and Features in 4.4
PE R M E A B I L I T Y TE N S O R F O R T H E B R I N K M A N E Q U A T I O N S
For porous media flow, the Brinkman equations extend the well-known Darcy’s law.
New in version 4.4 is support for an anisotropic permeability tensor. Different domains
can have different anisotropic materials and the tensor components can even vary
spatially.
ELECTRODEPOSITION MODULE | 41
WEAK CONSTRAINTS UPDATE FOR FLUID FLOW INTERFACES
The weak constraint formulations for some boundary conditions in the following
interfaces have been updated:
• Laminar Flow
• Brinkman Equations
• Free and Porous Media Flow
MOBILITY
In physics user interfaces modeling migration (Transport of Diluted Species; Tertiary
Current Distribution, Nernst-Planck; and Electrodeposition, Tertiary Nernst-Planck)
anisotropic mobility is now supported, and the mobility can be set to follow the
Nernst-Einstein relation. The default setting when making new models has been
changed to use the Nernst-Einstein relation. Model files for Java generated prior to
4.3b using Migration will have to be modified manually to account for these changes.
42 | RELEASE NOTES
Fatigue Module
New Functionality in Version 4.4
THERMAL FATIGUE
The Fatigue Module has added functionality for thermal fatigue through two families
of fatigue models: one predicts fatigue based on the inelastic strains, and the other
predicts fatigue based on the dissipated energy. Both models are also suitable for
low-cycle fatigue prediction in ductile materials.
• Morrow
• Darveaux
The Morrow model uses pointwise fatigue life evaluation, while the Darveaux model
computes fatigue life based on volume-averaged energy dissipation. The Darveaux
model is only available at the domain level, while the Morrow model is available on all
dimensional levels. The volume average of the Darveaux model can be evaluated in two
ways: for the Individual domains option, each individual geometric domain is
evaluated separately; for the Entire selection option, the volume average is evaluated
over all geometric domains simultaneously. Because the Darveaux model separates the
total life into crack initiation and crack propagation, it is possible to evaluate the
number of cycles necessary for each event.
In both these fatigue models, different types of energy change can be evaluated. The
following are predefined:
The first three options require that the evaluated material be modeled with nonlinear
materials, and that the calculation of energy dissipation is enabled using the Advanced
Physics Options. The User defined option allows you to specify a custom energy
density variable and use it in one of the above models. This can be done by combining
FATIGUE MODULE | 43
existing energy variables or by defining new energy variables based on equations using
one of the Mathematics interfaces for PDEs and ODEs.
The User defined option allows you to evaluate all the other strains defined in any of
the structural interfaces or to evaluate a customized strain expression based on
equations using one of the Mathematics interfaces for PDEs and ODEs. This makes it
possible to evaluate different shear and normal strain components. It is even possible
to evaluate different creep contributions, such as secondary creep, when simulating
fatigue. The original Coffin-Manson relation is obtained by selecting Effective plastic
strain as the Inelastic strain option.
44 | RELEASE NOTES
Geomechanics Module
New Functionality in Version 4.4
GEOMECHANICS MODULE | 45
Heat Transfer Module
New and Improved Functionality in Version 4.4
• Rosseland approximation
• P1 approximation
These are approximate methods and are not as accurate or as general as the discrete
ordinate method, which has been available since earlier versions of the software. Yet
they solve simulations with radiation in participating media much faster. The Rosseland
approximation is only available with the full Heat Transfer in Solids and Fluids interfaces,
not in the radiation-only interface for participating media. Both methods are also
available for 2D axisymmetric geometries. As a matter of comparison, the verification
model Radiative Heat Transfer in Finite Cylindrical Media solves in a couple of
seconds using the P1 approximation method—as opposed to more than two hours
with the discrete ordinate method.
H E A T TR A N S F E R I N B I O L O G I C A L T I S S U E W I T H D A M A G E I N T E G R A L
ANALYSIS
Tissue necrosis (permanent damage or death of living tissue) occurs if either of the
following conditions is met:
The Damaged Integral Analysis is utilized in medical treatment and surgical methods
based on tissue heating. Thermal energy absorption is often modeled by so-called
damage integrals. The Biological Tissue interface in the Heat Transfer Module
includes two forms of damage integral: Temperature threshold and Energy absorption.
46 | RELEASE NOTES
Damage temperature, Damage time, and Necrosis temperature. In this case, tissue
necrosis is assumed to occur under the following circumstances:
• When the tissue temperature exceeds a given damage temperature for more than a
certain time period
• Instantly after the tissue temperature exceeds the necrosis temperature
The energy absorption form uses an Arrhenius type expression to directly estimate
absorbed energy. User-defined parameters include Frequency factor and Activation
energy for the integrated Arrhenius equation.
The material properties of the damaged tissue take into account the influence of tissue
damage. The conductivity and the effective heat capacity (density multiplied by heat
capacity at constant pressure) are modified with respect to the volume fraction of
necrotic tissue. Six new generic biomaterials are available in the material library shipped
with the Heat Transfer Module: Bone, Fat, Liver, Muscle, Prostate, and Skin.
The new physics interface for heat transfer in biological tissue is available for Heat
Transfer in Solids as well as for any multiphysics combination where this physics
interface participates, including the following:
• Joule Heating
• Induction Heating
• Microwave Heating
• Laser Heating
• Thermal Stress
• Joule Heating and Thermal Expansion
Two models, Microwave Cancer Therapy and Tumor Ablation, which are available in
the Model Library of the Heat Transfer Module, have been updated with the new
damage integral analysis.
H E A T TR A N S F E R M O D U L E | 47
Transfer in Solids interface later on, which will automatically also add the Multiphysics
node.
Two thermoelectric materials have been added to the Material Library: bismuth
telluride and lead telluride.
These boundary flux variables are available in all physics interfaces for Heat Transfer
and all multiphysics interfaces that include Heat Transfer. The new method is active by
default, but can be switched off by clearing the Compute boundary fluxes check box in
the Discretization section of the physics interfaces for heat transfer. To display the
Discretization section, enable it from the Show menu in the Model Builder toolbar. If
this check box is not selected, then the computations of fluxes on boundaries are
performed by extrapolating values from within neighboring finite elements. This was
the method used in COMSOL 4.3b and earlier versions.
The following global variables have been added to Heat Transfer in Solids, Heat
Transfer in Fluids, Heat Transfer in Porous Media, Heat Transfer with Phase Change,
and Heat Transfer in Biological Tissue interfaces:
48 | RELEASE NOTES
• QInt: total heat source
• WInt: total work source
• WnsInt: total fluid losses
The following global variables have been added to most heat transfer boundary
conditions:
H E A T TR A N S F E R I N PO RO U S M E D I A
Better Usability: Heat Transfer in Porous Media With a List of Fluid Materials
You can now easily define multiple porous materials using material selections, and then
link the fluid material property to another material from the domain material list. This
avoids multiple instances of the Heat Transfer in Porous Media feature.
H E A T TR A N S F E R M O D U L E | 49
H E A T TR A N S F E R I N T H I N S H E L L S
The Heat Transfer in Thin Shells interface has several important updates. It has been
combined with the Deformed Geometry interface for time-dependent studies. This is
useful when, for example, modeling a growing shell where matter is added during the
simulation. The names of features in Heat Transfer in Thin Shells have been
consolidated. Heat sources and heat fluxes are now called Heat Source and Heat Flux
and come with dedicated icons that indicate which dimension they apply to. Heat
Transfer in Thin Shells is now also available for 2D and 2D axisymmetric models.
• With accurate flux method when the Compute boundary fluxes is selected in the
Discretization section on the interface.
• With the extrapolated method when it is unselected.
The variables with the _acc suffix can be replaced by the following variables:
50 | RELEASE NOTES
These variables are available for Heat Transfer interfaces and their multiphysics
combinations, which include Non Isothermal Flow, High Mach Number Flow, and
Slip Flow.
The previous variables names, with a _acc at the end, remain available but are
considered obsolete and will be removed in future versions.
MPH-files that are opened in COMSOL Multiphysics 4.4 automatically use updated
variable names. However, if evaluating these variables is needed, it is necessary to
update the solution once. After that, no additional manipulation is needed.
For Model files for Java using COMSOL Multiphysics API, an manual update of
variables names is recommended. Even though former variable names are still handled
in the present version, future versions will not support them.
The interior conductive heat fluxes ndflux_u and ndflux_d are now
-uflux_spatial(T) and -dflux_spatial(T), so that they return outgoing upside
flux and outgoing downside flux.
For backward compatibility the older variables, qw, qin, and qout remain available.
H E A T TR A N S F E R M O D U L E | 51
New Models in Version 4.4
52 | RELEASE NOTES
THERMOELECTRIC LEG MODEL
This model of a thermoelectric leg shows Peltier cooling. It is a verification model that
demonstrates how to use the new Thermoelectric Effect multiphysics interface and
reproduces results available in literature.
Among the changes, the reference enthalpy, HRef, the value of which is defined up to
a constant, is now set to 0 J/kg at the reference temperature and pressure. This
changes the absolute values of the enthalpy and several variables based on it. In
particular, the value of the convective heat flux is changed. Even the sign may be
changed in some cases. However, the quantity of interest, the net convective heat flux,
is identical because the shift induced by the change of HRef applies for the enthalpy
definition at the inlet as well as at the outlet.
H E A T TR A N S F E R I N P O RO U S M E D I A
Old models using the Porous feature will supported in COMSOL Multiphysics
interface. It is however recommended to replace this feature by Heat Transfer in
Porous Media (see Obsolete Features and Variables). For a model using the API,
it will be needed to update the model to use Heat Transfer in Porous Media.
Models created using versions 4.3 and 4.3a that contain surface-to-surface radiation
support the old syntax in multiphysics interfaces. It is, however, recommended that
H E A T TR A N S F E R M O D U L E | 53
you update the models to use the new syntax. Models created in a version before 4.2a
need to be opened in version 4.3 or 4.3a and resaved before being opened in 4.4.
For a model using the API, you must update the model to use the new syntax.
Models created in versions 4.3 and 4.3a that include radiation in participating media
support the old syntax in multiphysics interfaces. It is, however, recommended that
you update the models to use the new syntax. Models created in a version before 4.2a
need to be opened in version 4.3 or 4.3a and resaved before being reopened in 4.4. In
addition, for all versions, it may be necessary to regenerate the default solver to get the
correct solver settings.
The S2 quadrature in 2D has been replaced by the LSE symmetric quadrature. It has
been updated so that it coincides with the other quadratures. LSE symmetric
quadratures were already used for S4, S6, and S8 in 2D and for all 3D quadratures.
This quadrature update can result in significant changes in 2D models using S2
quadrature. However, the theoretical error is not different and the 2D and 3D
implementations are now consistent.
Any model files for Java that modify the default model value require a manual update.
I M P ROVE D S T A B I L I Z A T I O N O F H E AT T R A N S F E R I N S O L I D S
The streamline diffusion stabilization for Heat Transfer in Solids and Biological
Tissue features has been improved. It now accounts for contributions from linear
source terms from the Heat Source, Out-of-Plane Convective Cooling, Out-of-Plane
Radiation, and Out-of-Plane Heat Flux features. This improves the robustness of the
54 | RELEASE NOTES
convergence when these contributions are large. This change may modify the
convergence behavior of existing models.
• Heat flux
• Out-of-plane heat flux
• Convective cooling
• Out of plane convective cooling
• Boundary heat source
• Heat source
• Line heat source
• Point heat source
• Edge/Point heat flux
• Electrochemical reaction heat flux
• Reaction heat flux
For example, in a Boundary Heat Source feature, ht.surf has been renamed into
ht.bhs1.surf (assuming that ht is the physics interface tag). In the Heat Flux
feature, the variable that was previously named ht.q0_hf1 is now ht.hf1.q0.
Any model files for Java that use the old variable names in expressions (such as
expressions used for plotting or data evaluation that include such old variable names)
need to be updated manually.
H E A T TR A N S F E R M O D U L E | 55
Due to these new default features, model files for Java can be simplified. In addition,
model files for Java that add the Fluid feature or the Opaque subfeature with the
default tag require a manual update to avoid duplicate tag conflicts.
• Laminar Flow
• Turbulent Flow, k-
• Turbulent Flow, low-Re k-
• Non-Isothermal Flow
• Conjugate Heat Transfer
Weak constraints for the Interior Wall feature are no longer available.
R E V I S I O N T O T H E TU R B U L E N C E M O D E L S
The formulations of some variables in the turbulence models have been revised in
order to improve accuracy. Simulations using a turbulence model can display a
different convergence behavior in version 4.4 compared to version 4.3, and the
numerical result can differ slightly between the versions.
56 | RELEASE NOTES
The table below contains a list of variables that are available but obsolete. They should
each be replaced by the new corresponding expressions because they will be removed
in future versions.
TABLE 1-1: OBSOLETE VARIABLES AND CORRESPONDING EXPRESSIONS
qin -qr_in
qout qr_out
qw -qr_net
ndflux_acc ndflux
ndflux_acc_u ndflux_u
ndflux_acc_d ndflux_d
ntflux_acc ntflux
ntflux_acc_u ntflux_u
ntflux_acc_d ntflux_d
nteflux_acc nteflux
nteflux_acc_u nteflux_u
nteflux_acc_d nteflux_d
H E A T TR A N S F E R M O D U L E | 57
MEMS Module
New Functionality in Version 4.4
I M P R OVE D WO R K F L OW F O R T H E R M A L S T R E S S A N D J O U L E H E A T I N G
The new Multiphysics nodes improve modeling workflow, making it possible to
progressively increase the complexity of the system being modeled. For instance, you
can now begin by solving a simple thermal problem and then add the structural effects
and thermal stress coupling. It is still possible to add the thermal and structural effects
simultaneously using the Thermal Stress physics option in the Model Wizard; this
option automatically adds the Heat Transfer in Solids and Solid Mechanics interfaces
together with the appropriate Multiphysics nodes for multiphysics couplings.
This same functionality has also been included in the Joule Heating and Thermal
Expansion interface. Once again, the contributing physics interfaces can be added one
at a time, and their couplings managed from the Multiphysics node. Selecting the Joule
Heating and Thermal Expansion interface in the Model Wizard sets up the Heat
Transfer in Solids, Solid Mechanics, and Electric Currents interfaces together with the
Multiphysics node. This approach makes it straightforward to activate or deactivate the
contributing interfaces. Consequently, you can choose to solve the same model for
each physics individually, for a combination of multiphysics couplings, or for all three
at the same time.
G R A V I T Y, C E N T R I F U G A L , C O R I O L I S , A N D E U L E R F O R C E S
Mass forces and loads such as gravity, centrifugal forces, Coriolis forces, and Euler
forces can now be added using two new options: Gravity and Rotating Frames. These
options make it easy to define loads that act on all objects having mass—that is,
domains with mass density, point masses, added mass, rigid connectors with mass, and
so on. The forces and loads are added from the domain level even though they may be
automatically applied to features at boundaries, edges, and points.
The Rotating Frame feature includes all types of fictitious forces occurring in a rotating
system. By default, Centrifugal force and Spin-softening are included.
Because Added Mass can be used to describe load effects that are not true structural
masses, sometimes the contribution from Added Mass is not wanted. The option to
include or exclude the contribution is controlled in a new section called Frame
Acceleration Forces.
58 | RELEASE NOTES
NEW ALGORITHM FOR DETECTING WHETHER SOURCE AND DESTINATION
ARE IN CONTACT
The detection of contact on a contact pair is now based on the structural mechanics
interface results, which improves the accuracy of the contact definition. Consequently,
in any pair feature, use a contact pair only when the component contains an active
structural mechanics contact pair feature. In other cases, use an identity pair. Only
one contact pair is supported for each boundary pair feature.
RF MEMS SWITCH
This model analyzes an RF MEMS switch consisting of a thin micromechanical bridge
suspended over a dielectric layer. A DC voltage greater than the pull-in voltage is
applied across the switch, causing the bridge to collapse onto the dielectric layer and
increasing the capacitance of the device. A penalty-based contact force is implemented
to model the contact forces as the bridge comes into contact with the dielectric. The
dielectric itself is represented by a spatially varying function for the dielectric constant
between the two terminals.
MEMS MODULE | 59
Microfluidics Module
New Functionality in Version 4.4
• Normal flow prescribes a tangential velocity of zero at the outlet. This condition can
be expected if the outlet represents a straight pipe or channel. However, it is not
selected by default because the flow can be disturbed upstream of the outlet,
potentially altering the solution significantly.
• Suppressing backflow reduces the tendency for fluid to enter the domain from the
outside. It does not completely prevent backflow, and in the case that backflow
occurs, this option locally decreases the specified pressure. Controlling backflow is
important when combining fluid flow with other transport equations, such as mass
and heat transport. If the flow reverses, the outlet boundary condition for the
transport equations is no longer valid; this can lead to convergence problems or
nonphysical solutions. The Suppress backflow option is therefore selected by
default.
The Outlet boundary condition has been revised for the new version in the following
physics interfaces in the Microfluidics Module:
This change is valid for laminar flow, Stokes flow, and turbulent flow when applicable.
The Outlet boundary condition from previous versions still exists but has been
60 | RELEASE NOTES
excluded from the physics context menu. Models created in previous versions retain
the old Outlet feature, but new Outlet nodes that are added have the new functionality.
PE R M E A B I L I T Y TE N S O R F O R T H E B R I N K M A N E Q U A T I O N S
For porous media flow, the Brinkman equations extend the well-known Darcy’s law.
New in version 4.4 is support for an anisotropic permeability tensor. Different domains
can have different anisotropic materials and the tensor components can even vary
spatially.
Point and line mass sources for fluid flow are included as contributions to the
continuity equation. This functionality has been added to the following physics
interfaces for fluid flow in the Microfluidics Module:
• Two-Phase Flow
• Two-Phase Flow, Moving Mesh (requires the Microfluidics Module)
MICROFLUIDICS MODULE | 61
Backward Compatibility With Version 4.3a
The Free Molecular Flow and Transitional Flow user interfaces now form the
Molecular Flow Module. A Molecular Flow Module license is required to use these
interfaces.
MOBILITY
In physics user interfaces modeling migration (Transport of Diluted Species)
anisotropic mobility is now supported, and the mobility can be set to follow the
Nernst-Einstein relation. The default setting when making new models has been
changed to use the Nernst-Einstein relation. Model files for Java generated prior to
4.3b using Migration will have to be modified manually to account for these changes.
62 | RELEASE NOTES
M i xe r M o dule
Introduction
The Mixer Module is a new add-on module to the CFD Module.
The Mixer Module is designed for modeling mixers with rotating parts, which are used
in many industrial processes in the fine chemicals, consumer products, pharmaceutical,
and food industries. These mixers are usually used for multiple purposes and often in
batch processes.
Key Functionality
The Mixer Module adds the following key functionality on top of the CFD Module:
MIXER MODULE | 63
Molecular Flow Module
New Model in Version 4.4
64 | RELEASE NOTES
Multibody Dynamics Module
New Functionality in Version 4.4
66 | RELEASE NOTES
Optimization Module
New Functionality in Version 4.4
• Coordinate search
• Monte Carlo
• Nelder-Mead
• BOBYQA
You can access these optimization methods from the Optimization study type. Control
parameters are not limited to geometric dimensions but can represent nearly any
quantity in a model, including parameters controlling the mesh.
OPTIMIZATION MODULE | 67
The following gradient-based methods are available in COMSOL version 4.4:
• SNOPT
• MMA
• Levenberg-Marquardt
68 | RELEASE NOTES
P a r ti c le T r a c i n g Mod u l e
New Functionality in Version 4.4
In the settings for the Charged Particle Tracing interface, changing the Release Type
to Static causes all release features to provide a specified charged particle current.
Similarly, in the Particle Tracing for Fluid Flow interface, changing the Release Type
to Static causes all release features to provide a specified mass flow rate. The Particle
Field Interaction or Fluid Particle Interaction feature then computes the space charge
or force density exerted by the particles.
New solver nodes are available to compute the self-consistent interaction between
particles and fields. The addition of the For and End For nodes to a Solver sequence
allows a part of the sequence to run in a continuous loop. This approach allows the
particle trajectories to be computed with a time-dependent solver and the fields with a
stationary solver.
• When using the Release from Grid or Release features, a new option, Constant speed,
cone is available in the Initial velocity settings.
• You can specify the initial speed of the particles, the direction of the cone axis, and
the cone angle.
P A R T I C L E TR A C I N G M O D U L E | 69
• By releasing particles in a cone, it is now much easier to create models involving jets
or sprays of incoming particles.
• The Constant speed, cone setting can be thought of as a generalization of the
Constant speed, hemispherical and Constant speed, spherical settings; the latter two
corresponding to the special cases of a 90-degree cone and a 180-degree cone,
respectively.
• When the Collision Model is set to Monte Carlo in the settings for the Elastic
Collision Force feature, a new section called Collision Statistics becomes available.
• In the Collision Statistics section, clicking the Count Collisions check box
introduces a new degree of freedom for each particle, which is increased by one
every time an elastic collision occurs.
• The variable introduced by the Count Collisions check box applies only to a specific
Elastic Collision Force feature; this makes it possible to separately count the
collisions of a model particle with several different background species.
70 | RELEASE NOTES
in 2D and 2D axisymmetric geometries, the results are now just as accurate as full 3D
models.
These variables typically evolve over time and can be used, for example, in stop
conditions to terminate the simulation when the average kinetic energy of the particles
reaches some threshold. They have been added for the Newtonian and Lagrangian
formulations.
This model requires the Particle Tracing Module and the AC/DC Module.
P A R T I C L E TR A C I N G M O D U L E | 71
I O N D R I F T VE L O C I T Y B E N C H M A R K
The drift velocity of Ar+ is calculated using a Monte Carlo simulation in which the
elastic collisions of argon ions with ambient neutrals are modeled explicitly. This model
uses data from energy-dependent collision cross-section experiments. The average ion
velocity values are consistent with the experimental data over a wide range of reduced
electric field magnitudes. This agreement suggests that Monte Carlo simulations of
elastic collisions between particles can be applied to a wide variety of devices.
ION FUNNEL
This model investigates the focusing effect of an electrodynamic ion funnel. Because
of their ability to operate at high background gas pressures, ion funnels are often used
to improve the sensitivity of devices such as ion mobility spectrometers and mass
spectrometers through coupling. The model uses a Monte Carlo collision setting to
simulate the interaction of ions with the neutral background gas.
This model requires the Particle Tracing Module and the AC/DC Module.
72 | RELEASE NOTES
Plasma Module
New Functionality in Version 4.4
The additional contribution to the current density only makes a difference when the
electron diffusivity is nonconstant (that is, a function of the electron temperature).
PLASMA MODULE | 73
RF Module
New Functionality in Version 4.4
TR A N S I T I O N B O U N D A R Y C O N D I T I O N F O R H I G H C O N D U C T I V I T Y
The Transition boundary condition formulation has been improved to handle the case
of an interior boundary that has very high material conductivity. You cam use this
boundary condition to model a layer of metal that is much thinner than any of the
other model dimensions.
The domain-backed slit port, on the other hand, is a transparent boundary. It can
excite a wave propagating away from the boundary, and any wave incident upon the
domain-backed port passes through unimpeded. The domain-backed slit port is also
useful for modeling periodic problems. When modeling structures that have many
higher-order diffraction orders, such as gratings, you must account for each diffracted
order with a separate port boundary condition. For 3D structures, diffraction can even
occur in multiple planes. However, sometimes you may only want to know the bulk
transmittance and reflectance of a periodic structure. In this case, you can use a
domain-backed slit port. The slit port can insert an incident plane wave, entering at
any angle, such that any wave reflected back toward the port passes through and into
a PML placed behind it. The PML absorbs all of the higher-order modes
simultaneously.
74 | RELEASE NOTES
DEPOSITED POR T POWER
In many microwave heating applications, it is desirable to control the amount of power
that is deposited into the model. When you specify the deposited power, a feedback
condition is added to the model and the applied power is adjusted so that the desired
power is deposited within the model. This functionality has applications in biomedical
RF heating, plasma modeling, and other areas.
The new multiphysics approach makes it possible to model the constitutive physics
separately to understand a model’s reactions to the contributing physics before
considering the effects in a coupled multiphysics problem. This approach is also
appropriate for managing the Study sequence when solving for electromagnetic waves
in the frequency domain followed by the heat transfer in the time domain or stationary
domain. Under the Multiphysics node you can keep track of the microwave heat
sources on domains and boundaries as well as temperature nonlinearities in all of the
material properties.
RF MODULE | 75
ADDIT IO N AL A N TEN N A VA RIA BL ES
It is now possible to extract the antenna gain (in linear and dB scale), the axial ratio
(in linear and dB scale), and the far-field variables in terms of theta and phi, elevation,
and azimuthal angles.
• Beam Splitter
• Photonic Crystal
• Scattering on Substrate
• Optical Scattering Off of a Gold Nanosphere
• Dielectric Slab Waveguide
• Fabry-Perot Cavity
76 | RELEASE NOTES
Semiconductor Module
New Functionality in Version 4.4
• The continuous quasi-Fermi model (the default), which ensures current continuity
by forcing both sides of the junction to have equal quasi-Fermi energies.
• The thermionic emission model, which defines the thermionic currents generated
by the potential barrier created by the junction of dissimilar materials.
IMPACT IONIZATION
In regions where the electric field perpendicular to the direction of current flow is
high, electrons and holes are generated by impact ionization, which the
Semiconductor Module now supports. This makes it possible to model avalanche
effects in photodiodes and avalanche breakdown in MOSFETs. Initially, the
current-voltage relation is linear (the ohmic region). As the drain-source voltage
increases, the extracted current begins to saturate (the saturation region). As the
drain-source voltage is further increased, the relation enters the breakdown region,
where the current increases exponentially for small increases in the applied voltage.
This effect is due to impact ionization.
SEMICONDUCTOR MODULE | 77
for all types of semiconductor devices. The mobility of the electrons and holes is
reduced with the increase of the component of the electric field parallel to the current
flow. In contrast to the constant mobility case, this behavior inhibits current flow. The
Lombardi surface model is applicable for modeling variations in mobility in the vicinity
of surfaces—for example, under the gate of a MOSFET.
INCOMPLETE IONIZATION
The Dopant Ionization settings include a new option for incomplete ionization. At
low temperatures in silicon and at room temperature for wide bandgap
semiconductors, not all of the donors and acceptors are ionized. In these cases, the
ionization of the donors and acceptors must be computed as a function of temperature.
The dopant ionization is a function of the donor and acceptor energies and their
corresponding degeneracy factors. A user-defined option is also available and makes it
possible to specify the ionization ratio directly as a function.
78 | RELEASE NOTES
TE R M I N A L S F O R G A T E S
The Thin Insulator Gate boundary condition is now defined using terminals. Three
terminal options are available:
• Voltage
• Charge
• Circuit
• Al(x)Ga(1-x)As
• GaN (Wurtzite)
• GaN (Zinc Blende)
• GaP
• GaSb
• InAs
• InP
• InSb
• No continuation.
SEMICONDUCTOR MODULE | 79
• Use interface continuation parameter, which links the continuation settings of the
feature to an interface level continuation parameter (Cp) defined in the
Semiconductor interface node. This makes it possible to ramp up multiple equation
terms simultaneously.
• User-defined, which makes it possible for you to define a specific parameter for the
doping continuation.
I M P ROVE D I N I T I A L VA L U E S S P E C I F I C AT I O N
There are now several ways to specify the initial conditions for the potential and
concentration of electrons and holes. This added flexibility makes it easier to obtain a
converged solution. The Initial Values options are:
These options maximize flexibility for models that require different initial values.
The norm and log of the norm of these quantities are also available.
80 | RELEASE NOTES
Structural Mechanics Module
New Functionality in Version 4.4
G R A V I T Y, C E N T R I F U G A L , C O R I O L I S , A N D E U L E R F O R C E S
You can now add mass forces and loads such as gravity, centrifugal forces, Coriolis
forces, and Euler forces using two new options: Gravity and Rotating Frames. This
makes it easy to define loads that act on all objects having mass: domains with mass
density, point masses, added mass, rigid connectors with mass, and so on. The forces
and loads are added from the domain level, even though they can be automatically
applied to features at boundaries, edges, and points. Load cases are supported.
The Rotating Frame node includes all types of fictitious forces occurring in a rotating
system. By default, Centrifugal force and Spin softening are included.
Because Added Mass can be used to describe load effects that are not true structural
masses, sometimes the contribution from Added Mass is not wanted. The option to
include or exclude the contribution is controlled in a new section called Frame
Acceleration Forces.
The Joule Heating and Thermal Expansion interface also comes with a new
Multiphysics node. Adding this interface directly from the Model Wizard adds the
Electric Currents, Heat Transfer in Solids, and Solid Mechanics interfaces to the
Model Builder together with the Multiphysics node. Alternatively, you can add the
contributing physics interfaces sequentially to increase the model’s complexity. Once
the second physics interface has been added, the Multiphysics node shows up in the
Model Builder. The possibilities for defining multiphysics couplings increases once the
third physics interface is added. Various simulations can then be run on the model,
including variations in the multiphysics couplings, as you can activate and deactivate
these couplings on the fly through the Multiphysics node.
SOLID-SHELL-BEAM CONNECTIONS
A suite of solid-shell-beam connections makes it much easier to set up models that mix
solids, shells, and beams. The connections are available as several different options:
For 3D models:
For 2D models:
82 | RELEASE NOTES
In all cases, the connection is created by adding two features, one in each physics
interface:
• It is a proper material model and overrides other material models such as Linear
Elastic.
• It has its own degrees of freedom, which can be initialized with Initial Values.
• It has its own specialized constraints and loads boundary conditions in the form of
subnodes.
• It is very easy to define a location using the centroid of selected surfaces, edges, or
points to initialize, prescribe, or apply a load.
• It supports structural load boundary conditions such as gravity, rotating frame, body
load, and spring foundation.
• It automatically eliminates non-applicable structural constraint boundary
conditions.
• It creates automatic continuity with the neighboring material models.
• It has its own global postprocessing variables as well as domain postprocessing
variables, similar to other material models.
• It is possible to plot results inside of Rigid Domains.
TIMOSHENKO BEAMS
The formulation of the beam element has been changed completely, so that
incorporation of shear flexibility (so-called Timoshenko theory) can be taken into
account. This is in addition to the previously-available Euler-Bernoulli beams.
Timoshenko beams are used when the cross-sectional dimensions are large relative to
the beam length but still thin enough for a beam approximation to be used. In the case
VISCOELASTICITY IMPROVEMENTS
A new Viscoelasticity subnode is available for the Linear Elastic Materials nodes. This
subnode allows for the seamless extension of linear elastic models with viscoelastic
properties. The combination of the Linear Elastic Material and Viscoelasticity nodes
replaces the Linear Viscoelastic Material feature available in earlier versions. With the
new formulation, it is no longer necessary to use the viscoelastic initialization step in
the Solver node.
Two new viscoelastic material models are available: the Standard Linear Solid model
and the Kelvin-Voigt model, in addition to the Generalized Maxwell Model, which
was available in previous versions.
The Thermal Effects section now includes two new formulations to prescribe the
time-shift for thermorheologically simple solids: Arrhenius and User defined shifts.
This is in addition to the already-available Williams-Landel-Ferry (WLF) shift
function.
ROTATING BLADE
This rotordynamics tutorial model has been updated and now uses the built-in
Rotating Frame loads rather than the expressions for Body Load.
84 | RELEASE NOTES
Backward Compatibility With Version 4.3b
• If an old model using the Beam interface is opened, the Euler-Bernoulli formulation
is used. The Beam Formulation selection is still shown but cannot be changed from
Euler-Bernoulli. If Advanced Physics Options is enabled, then the new section
Backward Compatibility is shown. If you clear the Use pre 4.4 formulation check box,
then the new formulation is used. Doing so enables the use of Timoshenko beams,
but you must manually handle solver settings like segregation and scaling. This
legacy option does not support beams mixed with solids or shells in cases where the
same names for degrees of freedom were used in both physics interfaces.
• For models using contact, plot expressions are not updated when you open an old
model where the pair names have been edited manually. Also, opening an old model
where a pair name has been manually edited might affect the solver configuration.
It is recommended that you regenerate a new default solver configuration.
• When opening old models that include contact, the penalty factor control is set to
User defined and the contact normal penalty factor to the expression used in the
model.
PE R M E A B I L I T Y TE N S O R F O R T H E B R I N K M A N E Q U A T I O N S
For porous media flow, the Brinkman equations extend the well-known Darcy’s law.
New in version 4.4 is support for an anisotropic permeability tensor. Different domains
can have different anisotropic materials and the tensor components can even vary
spatially.
• Laminar Flow
• Brinkman Equations
• Free and Porous Media Flow
86 | RELEASE NOTES
Wave Optics Module
New Functionality in Version 4.4
LASER HEATING
A new Laser Heating multiphysics interface has been introduced, which combines the
Electromagnetic Waves, Beam Envelopes, and Heat Transfer in Solids interfaces. The
Laser Heating multiphysics interface utilizes a new dedicated Multiphysics node in the
Model Builder in a similar way to Joule Heating (COMSOL Multiphysics), Induction
Heating (AC/DC Module), and Microwave Heating (RF Module). The beam
envelope method formulation is appropriate for beams of light that have a slowly
varying envelope, such as beams along an optical fiber. The Laser Heating multiphysics
interface couples the electromagnetic losses with the heat transfer in solids. The
temperature variation can be computed in time or under steady-state conditions.
Material dependency on temperature can also be considered; for example, thermal and
optical material properties can depend directly on temperature.
The Multiphysics node also provides much better control over modeling your
multiphysics applications. This is epitomized by the Activation and Deactivation
features within the Multiphysics node, which make it possible to model single-physics
applications separately. Alternatively, combinations of two of the three contributing
physics interfaces can be simulated using this feature.
WAVE O PT I C S M O DU L E | 87
introduces less artificial reflections than the Scattering boundary condition and
requires less memory than the Perfectly Matched Layer domain truncation.
88 | RELEASE NOTES
NUMER IC POR T BOUNDAR Y MODE ANALYSIS IMPROVEMENTS
The Numeric Port boundary condition is used to compute the fields at a boundary to
a waveguide where the field distributions cannot be computed analytically (such as at
rectangular, coaxial, or circular ports). These numeric port calculations can now
consider the impedance boundary condition. The impedance boundary condition
considers the effect of lossy walls, instead of assuming that the walls are perfect electric
conductors. The periodic boundary condition can also be considered.
WAVE O PT I C S M O DU L E | 89
Material Library
New Materials and Material Data in Version 4.4
• There is new data for the following aerospace alloys: GTD111 DS, Rene N5,
CMSX-4,CMSX-486, B-1900, PWA 1480, and In-738LC. This data was provided
by Chromalloy Gas Turbine Corporation.
• The following materials and properties are now available: 2.25Cr-1Mo, A106 grade
B, 9Cr-1Mo, A333 grade 6, A533 Gr B, A508 Cl3, A302 GrB, GRCop-84,
2025 Al, and several rare earth silicates.
90 | RELEASE NOTES
LiveLink for MATLAB ®
New Functionality in COMSOL 4.4
Known Issues
The option to plot on a server by starting a COMSOL server with the option
-graphics is not supported for Mac.
L I V E L I N K F O R M AT L A B ® | 91
L i v e L i nk f o r Exc el ®
New Functionality in Version 4.4
PARAMETRIC SWEEPS
You can now extract the parameter values for a parametric sweep to a range of cells in
a worksheet. You can also edit the parameters and update the model with the new
values.
92 | RELEASE NOTES
The COMSOL API for use with Java ®
COMSOL 4.4 API Changes
PHYSICS INTERFACES
The default Initial Value feature in the following interfaces have been extended
into
model.physics("chcs").feature("init1").set("w0", 2, "0.1");
• The Pressure Acoustics, Frequency Domain interface and the Boundary Mode
Acoustics interface have a new default feature. If the default feature has been edited
in a Java file, the following line should be added to the Java file to obtain the old
behavior:
model.physics("acpr").feature().create("pam1",
"PressureAcousticsModel").selection().all();
• The Crosswind diffusion formulation has been updated for all physics user
interfaces supporting Crosswind diffusion. Models solved with the new formulation
can give different results than models solved in version earlier than 4.3b. Java files
can be modified to retain old crosswind formulations. Please contact support for
details.
• The default settings have changed for the Background Pressure Field in the Pressure
Acoustics interfaces. Add the following line to obtain the old behavior of this
feature:
model.physics("acpr").feature("bpf1").set("c", 1, "acpr.c_c");
• In the Acoustics Module, the Far-Field Calculation feature is no longer available in
1D and 1D axisymmetry.
• The shape function property border has been deprecated and replaced by order.
94 | RELEASE NOTES
default component names in 3D are model.u_lm, model.v_lm and model.w_lm
respectively. Java files must be updated accordingly.
• Weak constraints for the Interior Wall feature are no longer available. Any references
to its weak constraint parameter (weakConstraints) or Lagrange multipliers must
be removed.
• The Automatic setting for the Pseudo time stepping property now sets the variable
<phtag>.locCFL to the built-in variable CFLCMP, which in turn triggers a PID
regulator via the automatic solver suggestions. Here, <phtag> is the physics
interface tag. Java files where pseudo time stepping is active and have local CFL
number set to Automatic must be modified by adding the command
model.physics(<tag>).prop("PseudoTimeProperty").set("CFLNumbExpr"
, 1, "Manual");
• In the Darcy’s Law interface and the Richards’ Equation interface in the Subsurface
Flow Module, the compressibility of fluid is now a material parameter and no longer
has a default value. If the default value was used, you now have to set the value. The
following example sets the permeability to the old default value:
model.physics("dl").feature("smm1").set(chif_mat,userdef);
model.physics("dl").feature("smm1").set(kappa,4e-10);
• The Level Set and Phase Field interfaces now include the Initial Interface feature by
default. If you have a model that was created in an earlier version of COMSOL, it
will fail to create a feature with the same tag name.
• In version 4.0a the property nonlin in the stationary solver could have the values
auto, on, off, and linearized. The default in most cases was auto, but in some
cases, specifically in a frequency-domain study, the default was linearized. In
version 4.1 the possible values are auto, on, off, and linper, with auto as default,
96 | RELEASE NOTES
except in the Frequency Domain, Linearized study step where the default is
linper. The value linearized can still be set, but this is treated as auto. If the
problem is linear and the linearization point is zero, auto should give the same
solution as linearized. For nonlinear problems where the linearization point is
zero, the solution given by auto might be slightly different, and probably more
accurate, while changing to off should give exactly the same solution as
linearized. When there is a nonzero linearization point, it is relevant to use the
linper option. This option works like linearized except that source terms that
contribute to the linearized problem must be enclosed by the linper operator.
• In the Darcy’s Law interface, Brinkman interface, Richards’ Equation interface, and
Poroelasticity interface (in the CFD Module and Subsurface Flow Module), the
permeability and porosity are now material parameters and no longer have a default
value. If the default values were used in a model file for Java, you now have to set
the value. The following example sets the permeability to the old default value:
model.physics("dl").feature("dlm1").set(kappa_mat,userdef);
model.physics("dl").feature("dlm1").set(kappa,3e-11);
• The pressure variable in solid mechanics, typically solid.pw, now only gets
allocated degrees of freedom for incompressible materials. If you have referred to it,
for example, during segregation in the solver, the code will have to be changed to
remove the field.
• The solution to eigenvalue and eigenfrequency problems may now appear in a
different order.
• The Batteries & Fuel Cells Module’s boundary feature,
BoundaryReactionCoefficient, is tagged by rc instead of brc by default. This
means that files that explicitly refer to the old default tag name must be modified to
refer to the new tag name.
• The physics.field() of Beam and Truss are not backward compatible with 4.0.
Scalar fields are now vector fields.
This concludes the release notes for COMSOL Multiphysics version 4.4.
98 | RELEASE NOTES