COMSOL ReleaseNotes PDF
COMSOL ReleaseNotes PDF
Release Notes
COMSOL Multiphysics Release Notes
© 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,219,373; 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.
Support for implementation of the ODB++ Format was provided by Mentor Graphics Corporation pursuant
to the ODB++ Solutions Development Partnership General Terms and Conditions. ODB++ is a trademark
of Mentor Graphics Corporation.
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:
New Products 12
Metal Processing Module . . . . . . . . . . . . . . . . . . . . 12
Porous Media Flow Module . . . . . . . . . . . . . . . . . . . 12
COMSOL Multiphysics 13
General New Functionality . . . . . . . . . . . . . . . . . . . 13
New Functionality in the Application Builder . . . . . . . . . . . . 13
New Functionality in COMSOL Compiler™ . . . . . . . . . . . . 16
New Functionality in COMSOL Server™ . . . . . . . . . . . . . 17
New and Improved General Functionality in COMSOL Multiphysics . . . 17
New Functionality in the Physics Interfaces . . . . . . . . . . . . . 20
New Geometry and Mesh Functionality . . . . . . . . . . . . . . 20
New and Updated Operators, Functions, and Definitions . . . . . . . 23
New Functionality in Studies and Solvers . . . . . . . . . . . . . . 25
New and Improved Results and Visualization Functionality . . . . . . . 28
®
New Java API Methods . . . . . . . . . . . . . . . . . . . . 32
General Backward Compatibility Considerations . . . . . . . . . . . 33
Backward Compatibility with Version 5.4. . . . . . . . . . . . . . 33
Backward Compatibility with Version 5.3a . . . . . . . . . . . . . 34
Backward Compatibility with Version 5.3. . . . . . . . . . . . . . 35
Backward Compatibility with Version 5.2a . . . . . . . . . . . . . 36
Backward Compatibility with Version 5.2. . . . . . . . . . . . . . 38
Backward Compatibility with Version 5.1. . . . . . . . . . . . . . 38
Backward Compatibility with Version 5.0. . . . . . . . . . . . . . 39
AC/DC Module 41
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . . 41
Backward Compatibility with Version 5.4 and Earlier . . . . . . . . . 46
Backward Compatibility with Version 5.2 and Earlier . . . . . . . . . 46
Backward Compatibility with Version 5.0 and Earlier . . . . . . . . . 47
CONTENTS |3
Acoustics Module 49
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . . 49
New and Updated Model Examples in 5.5 . . . . . . . . . . . . . 55
Backward Compatibility with Version 5.4. . . . . . . . . . . . . . 57
Backward Compatibility with Version 5.3a . . . . . . . . . . . . . 57
Backward Compatibility with Version 5.3. . . . . . . . . . . . . . 57
Backward Compatibility with Version 5.2. . . . . . . . . . . . . . 57
Backward Compatibility with Version 5.1. . . . . . . . . . . . . . 57
CFD Module 67
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . . 67
New Model in Version 5.5. . . . . . . . . . . . . . . . . . . . 68
Backward Compatibility with Version 5.4 and Earlier . . . . . . . . . 68
Backward Compatibility with Version 5.3a . . . . . . . . . . . . . 69
Backward Compatibility with Version 5.0. . . . . . . . . . . . . . 70
4 | CONTENTS
Backward Compatibility with Version 5.0 and Earlier . . . . . . . . . 73
Corrosion Module 84
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . . 84
New and Updated Models in Version 5.5. . . . . . . . . . . . . . 85
Backward Compatibility with 5.4 . . . . . . . . . . . . . . . . . 86
Electrochemistry Module 88
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . . 88
New and Updated Models in Version 5.5. . . . . . . . . . . . . . 89
Backward Compatibility with Version 5.4. . . . . . . . . . . . . . 89
Electrodeposition Module 91
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . . 91
New and Updated Models in Version 5.5. . . . . . . . . . . . . . 92
Backward Compatibility with Version 5.4. . . . . . . . . . . . . . 93
Fatigue Module 94
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . . 94
Backward Compatibility with Version 5.3. . . . . . . . . . . . . . 94
Geomechanics Module 95
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . . 95
New Models in Version 5.5 . . . . . . . . . . . . . . . . . . . 95
CONTENTS |5
Updated Applications in Version 5.5 . . . . . . . . . . . . . . 104
Backward Compatibility with Version 5.4. . . . . . . . . . . . . 105
Backward Compatibility with Version 5.3a . . . . . . . . . . . . 106
Backward Compatibility with Version 5.3. . . . . . . . . . . . . 108
Backward Compatibility with Version 5.2a . . . . . . . . . . . . 109
Backward Compatibility with Version 5.2. . . . . . . . . . . . . 110
Backward Compatibility with Version 5.1. . . . . . . . . . . . . 111
Backward Compatibility with Version 5.0. . . . . . . . . . . . . 111
Obsolete Features . . . . . . . . . . . . . . . . . . . . . 114
6 | CONTENTS
Particle Tracing Module 136
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . 136
Important Fixes in Version 5.5 . . . . . . . . . . . . . . . . . 137
Backward Compatibility with Version 5.4. . . . . . . . . . . . . 139
Backward Compatibility with Version 5.3 and Earlier . . . . . . . . 139
Backward Compatibility with Version 5.2a and Earlier . . . . . . . . 140
Backward Compatibility with Version 5.2. . . . . . . . . . . . . 141
Backward Compatibility with Version 5.1. . . . . . . . . . . . . 141
Backward Compatibility with Version 5.0 and Earlier . . . . . . . . 142
RF Module 158
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . 158
New and Models in Version 5.5 . . . . . . . . . . . . . . . . 160
CONTENTS |7
Rotordynamics Module 161
New Functionality in Version 5.5 . . . . . . . . . . . . . . . . 161
New Models in Version 5.5 . . . . . . . . . . . . . . . . . . 163
8 | CONTENTS
COMSOL 5.0 API Changes . . . . . . . . . . . . . . . . . . 197
CONTENTS |9
10 | C O N T E N T S
1
Release Notes
COMSOL Multiphysics® version 5.5 includes the new Metal Processing Module
and Porous Media Flow Module; extended and improved versions of the
Application Builder, COMSOL Compiler™, COMSOL Server™, and COMSOL
Multiphysics®; as well as updates and improvements for all COMSOL
Multiphysics® add-on products. These Release Notes provide information
regarding new functionality in version 5.5 for all COMSOL® software products.
11
New Products
Metal Processing Module
The Metal Processing Module is a new add-on to COMSOL Multiphysics. Using this
module, you can study how metallurgical phase transformations change the
microstructure of a metallic material during a heating or cooling process. An example
is the quenching of automotive steel transmission components, where the resulting
microstructure is tailored to meet specific demands on strength and durability. Other
examples include the study of phase transformations that occur during additive
manufacturing of metal components and phase transformations in the heat-affected
zone during welding. By combining the Metal Processing Module with the Heat
Transfer Module, you get enhanced heat transfer functionality. Similarly, by combining
the Metal Processing Module with the Structural Mechanics Module and its add-on
modules, you get enhanced functionality for modeling boundary conditions, loads,
and mechanical material behavior.
By combining the Porous Media Flow Module with the Heat Transfer Module, you
get enhanced heat transfer functionality and the ability to model moisture transport
with turbulent flow. Similarly, by combining the Porous Media Flow Module with the
Chemical Reaction Engineering Module, you get enhanced functionality for modeling
reversible, irreversible, and equilibrium reaction kinetics in free and porous media flow.
INSTALLER IMPROVEMENTS
• You can now choose to install COMSOL products with previews of the applications
and example models in the Application Libraries for selected products or for all
products.
• It is possible to use another Java® 8 runtime that you have licensed and installed.
• The look and feel of the installer has been improved.
ADD-INS
There is now support for creating add-ins. Add-ins, or add-in programs, are extensions
to the COMSOL Multiphysics software and make it possible to share methods and
settings forms between models. You create them like applications using the tools in the
Application Builder, and then define the add-in using the new Add-in Definition, Form
Definition, and Method Definition nodes in the Application Builder. The add-in then
becomes available from the Add-ins menu in the Developer toolbar. There is also an Add-
in Libraries window that contains example add-ins and where you can add user-defined
add-in libraries.
COMSOL MULTIPHYSICS | 13
FILE DECLARATION AS THE TARGET
Command-line arguments for applications can now use a file declaration as the target.
The argument value has to be a file on the client file system. Using a file declaration as
the target is not supported when running the web client.
• For add-ins, the following new static methods are now available to retrieve the entity
of a specific type that is considered the working entity in the COMSOL Multiphysics
desktop window:
Use ModelNode getCurrentComponent(); to get the current component.
Use MeshSequence getCurrentMesh(); to get the current mesh sequence.
Use Physics getCurrentPhysics(); to get the current physics interface.
Use ResultFeature getCurrentPlotGroup(); to get the current plot group.
Use Study getCurrentStudy(); to get the current study.
The selectNode method has been complemented by a method to retrieve the
selected Model Builder tree node:
ModelEntity getCurrentNode();
• Conversion methods for float types to double types have been added:
double toDouble(float value)
COMSOL MULTIPHYSICS | 15
• The new function clearDebugLog() clears the Debug Log windows in the Model
Builder and the Application Builder.
• The utility method String getClientFilePath(String) has been changed to
only return the filename part of the path when called from an application running
in a web browser.
• The expanded state of sections in form collections can now be controlled using
app.form("form1").formObject("formcollection1").
expanded("form2", false);
• The expanded method is only supported by form collections that use sections. The
first argument is the tag of the form that is represented by the section. The second
argument determines if the sections should be expanded or collapsed.
See also the Application Programming Guide for a complete overview of the
application language for programming methods in the Application Builder for use in
applications, models, and add-ins.
COMSOL MULTIPHYSICS | 17
content in the Model Builder tree, now the ribbon content can also be updated in
some cases.
• Functions
• Materials
• Under the Definitions branch, the nodes that relate to moving mesh, deformed
geometry, optimization, and shared properties.
• Nodes under the Multiphysics branch.
• Plot groups and Plots
• Derived values
• Export nodes
Pasting to another model always does so using a best-effort principle, ignoring invalid
settings. In a plot group, for example, the available settings depend a lot on the
available datasets and solutions.
• In the Comparison Results window’s toolbar, there are new buttons for creating a
new comparison and for showing the next or previous difference.
• There is now an option for only including active settings.
• You can double-click nodes in the tree (or right-click and choose Go to Source) to
move to the corresponding node in the Model Builder or Application Builder tree
for the local file. When applicable, you can choose Go to Remote Source to move to
the corresponding node in the Model Builder or Application Builder tree for the
remote file.
COMSOL MULTIPHYSICS | 19
• You can now copy, paste, and duplicate the Hide for Geometry and Hide for Physics
nodes and move them up and down in the model tree.
• In the root node’s Properties window, there is a new Search path field, where you
can specify a search path for external files.
• The Developer node under Global Definitions has been removed. Its children now
appear directly under Global Definitions.
• There is a new preference setting: Check for recovery files at launch, which is selected
by default. This setting controls if the Recovery Files window will appear at launch
when there are any recovery files.
• You can now switch between model components using the Component menu in the
Model section of the Home toolbar.
GEOMETRY FUNCTIONALITY
• For 2D geometry modeling, a new Sketch mode is available for interactively creating
geometries in the Graphics window for a 2D geometry or part, or in a work plane
for a 3D model. On the Sketch toolbar, you can choose to create the following 2D
geometric objects: Circular Arc, Interpolation Curve, Quadratic and Cubic Bézier
curves, Rectangle, Square, Circle, and Ellipse. If you have a license for the Design
MESHING FUNCTIONALITY
• For import of meshes on the STL and VRML formats, there are now separate STL
and VRML file format options to choose from as the source in the Import node for
mesh import. Also, for STL file import, there is now a Create selection check box. If
you select it, a boundary selection of every solid section in the file is created during
import.
• Mesh element shape optimization, which can result in curved elements inside the
domain, is now available and is active by default. Interior elements are curved to
improve the quality and avoid inverted higher-order elements. The new Avoid
inverted elements by curving interior domain elements check box is available in the
Settings windows for the main Component nodes and is selected by default.
COMSOL MULTIPHYSICS | 21
• New Create Vertices and Create Edges mesh features are available in 2D and 3D for
empty geometries. Additionally, Create Faces and Create Domains are available for
adding faces and domains on imported 3D meshes. There is also a Fill Holes feature
for filling holes in imported surface meshes. You find these tools on the Create
Entities menu on the Mesh toolbar and when right-clicking the main Mesh node.
• You can now import and export 3D surface meshes on the PLY format (the Polygon
File Format or Stanford Triangle Format) and the 3MF 3D printing format. You can
choose to export and import to and from *.ply files as a PLY binary file or PLY
text file and to and from *.3mf files as a 3MF file. You can also import and export
meshes on the Sectionwise format.
• When exporting meshes on the COMSOL Multiphysics binary and text formats, a
new Export as second-order elements check box is available. It is cleared by default,
which means that the exported mesh contains linear elements.
• The Adapt node has been enhanced with the following new functionality:
- For the General modification adaptation method, a Maximum coarsening factor
setting is now available under the Allow coarsening check box.
- For the Regular refinement and Longest edge refinement adaptation methods, a
Maximum number of refinements setting is now available.
- Under External changes, there is a Reevaluate with Updated Model button and an
Update when parameter is changed list for selecting the parameter to notice any
changes so that it affects the adaptation if it is used in a mesh size expression, for
example.
• Free quad meshes for planar faces and 2D domains with concave corners have been
improved using a new scheme in version 5.5. This new functionality is enabled by
default in the Free Quad and Swept operations. It can be disabled by selecting
Legacy version 5.4 under Tessellation in a Free Quad node or by selecting Quadrilateral
(legacy version 5.4) from the Face meshing method list under Sweep Method in a Swept
node.
• Logical expressions for mesh functionality now support the built-in variables h (the
local mesh size) and qual* (mesh quality measures).
COMSOL MULTIPHYSICS | 23
• 3D Rotated System coordinate systems are now also available in 2D so that you
define general rotations using 3D Euler angle inputs.
• In the Material Browser, you can now reload material libraries by right-clicking a
material library node and choose Reload Selected.
• For external material functions, there are new reserved return values: the return
value −1 is now interpreted as a normal exit with a warning message; the return value
−2 is interpreted as a normal exit with a log message. Both values previously
indicated an unspecified error condition. Also, you can now add two new
electromagnetic options: general H(B) relation and the General B(H) relation.
COMSOL MULTIPHYSICS | 25
study step’s Settings window to enter user-defined goal-oriented quantities and
their tolerances.
• For time-dependent adaptive mesh refinement, the General modification method and
Rebuild mesh methods are now available in the Adaptive Mesh Refinement node’s
Settings window. The general modification method can resolve sharp fronts with
fewer mesh elements in total compared to the previous methods.
• Select the new Plot the location of undefined values check box in the Settings window
for the main Study node to create a separate window that contains a plot that shows
the location of any undefined values, such as Inf or NaN, which can help you locate
a problematic part of the model.
• All model tree nodes that can appear in the Modify model configuration for study step
tree now include a Disable in All Studies option in their context menus if there is at
least one study step where the Modify model configuration for study step check box is
selected; this option simplifies disabling a model tree node in several study steps.
• In the Optimization study step’s Settings window, a new Enforce design constraints
strictly check box is available in the Constraints section for derivative-free
optimization solvers that support the penalty constraint handling method (Nelder–
Mead, Coordinate search, and Monte Carlo) and for COBYLA. If selected, the
solver evaluates all design constraints before the forward problem is run. If infeasible
constraints are found, the forward problem is not run, and the optimization solver
proceeds to the next iteration.
SOLVER FUNCTIONALITY
• A new Domain Decomposition (Schur) solver is now available to provide domain
decomposition using an exact Schur complement and an algebraic hybrid direct-
iterative solver. The Domain Decomposition solver in earlier versions of COMSOL
Multiphysics is now available as Domain Decomposition (Schwarz).
• It is now possible to stop iterative improvements if the residual is not reduced by
using the new Error ratio bound setting in the solver’s Settings window’s Error
section. By default, it is set to 0.5 (valid values are between 0 and 1; a lower value
means that the iterations terminate more quickly). When the Check error estimate
setting is set to Automatic, a single warning of Iterative refinement triggered
appears in the Log window if the iterative refinement is triggered.
• An Upper Limit node is now available under the Segregated solver node to specify an
upper limit for field values in a similar way as for the already available Lower Limit
node.
COMSOL MULTIPHYSICS | 27
• There is a new Keep solutions before and after stop condition check box under the
Stop condition field in the Parametric Sweep node’s Settings window under Job
Configurations. Using this option, you can store solutions for the parametric
solutions both before and after the stop condition has been satisfied.
• A new -batchlogout option for batch runs is available to direct the log to standard
out when storing on file.
• A new -norun option for batch runs is available for not running the model, which
can be useful if you, for example, just want to run -clearsolution or
-clearmesh for a model that already includes a solution or mesh and then save it,
without a solution or mesh, without computing the model first.
COMSOL MULTIPHYSICS | 29
Multiphysics, you can work with linked images between COMSOL and
PowerPoint. The installer registers the COMSOL Interface add-in with
PowerPoint. When the interface add-in is loaded, it provides the following additions
to the PowerPoint user interface:
- The COMSOL ribbon tab, where you can insert and update images.
- The COMSOL tab in the File Backstage View, where you can manage the source
references for the linked images.
- The COMSOL Image tools tab, where you can change image settings.
- The COMSOL contextual menu, where you can quickly access the most used
commands.
• In the Expression sections in the Settings windows for plot nodes, you can now use
Plot Next Expression and Plot Previous Expression buttons to step though all
predefined expressions in a group of expressions in the Replace Expression tree.
• You can now control how numbers are formatted in the title and the parameter
indicator. In the Title section for the plot group nodes, there is a new Number format
list with the following options: Default, Automatic, Engineering, Scientific, Stopwatch,
and Scientific stopwatch with associated settings for controlling the number format.
• Streamline plots now support interactive spheres (points) as well as interactive
arrows. It is also possible to generate animations of the interactive spheres and of
arrows that move with the field.
• The color scale in plots can now be defined as the gradient between two colors.
• You can now export 3D surface plots on the PLY format (the Polygon File Format
or Stanford Triangle Format) and the 3MF 3D printing format. You can choose to
export to *.ply files as a PLY binary file or PLY text file and to *.3mf files as a 3MF
file.
• For 3D image export in the glTF™ format, there is now an option to not include
line segments. Lines segments are not supported by all glTF viewers.
• In 1D plots, a new Manual option is available for placing the legend box freely in a
position that you provide as x- and y-coordinates.
• In plot titles, you can now evaluate expressions in manual parameter indicators.
• In Filter subnodes to plot nodes, a Use derivatives check box is now available when
the Element nodes to fulfill expressions setting is Smooth. Select it to use cubic
interpolation in, for example, postprocessing of topology optimization models.
• Arrow plots in 2D and 3D can now use double arrows to, for example, illustrate
moments in solid mechanics.
COMSOL MULTIPHYSICS | 31
section, you can define the displacements as Linear or Rectangular and select an
orientation of the displacements. You can also select a Show description check box to
add an annotation (the z-coordinate, layer, or interface numbering, depending on
the through-thickness location). Using this functionality, you can create a plot that
required several Layered Material Slice and Annotation plots in previous versions.
Layered Material Slice plots are now also available in 2D models and can, in 3D
Layered Material Slice plots, evaluate in Revolution 2D datasets that refer to 2D
axisymmetric solutions containing layered materials. There are also location input
and location definition settings in numerical evaluation nodes such as Volume
Average, Volume Integration, Volume Maximum, and Volume Minimum for 3D models
that contain a layered material.
• You can now add a Filter subnode to Through Thickness plots.
model.mesh("foo").feature("bar").image().set("selection", "main")
model.mesh("foo").feature("bar").image().set("selection",
<propname>)
specifies that a property selection,
model.mesh("foo").feature("bar").selection(<propname>), will appear in
the plot.
For mesh features that do not have any selection, the selection property is ignored
when plotting.
void setOnlyPlotWhenRequested(booleanvalue);
to set if plots selected in the Model Builder only should be updated when the user
explicitly requests it.
boolean isOnlyPlotWhenRequested();
returns true if plots selected in the Model Builder only should be updated when the
user explicitly requests it.
COMSOL Multiphysics version 5.5 can run Java® files saved from COMSOL
Multiphysics versions 4.0–5.4. However, the Java® files may need to be modified in
accordance with information following in this document and may need to be
recompiled with the comsol compile command in version 5.5.
INTERPOLATION CURVES
For the Interpolation Curve geometry feature, the default end conditions have been
changed from Zero curvature to None. In the API, the default has been changed from
zerocurv to none. In addition, the algorithm has been changed for the case when Type
is Open curve and Relative tolerance is 0, which can give a slightly different shape of the
curve.
COMSOL MULTIPHYSICS | 33
SCALING 2D GEOMETRY OBJECTS
In version 5.4, you could scale and move a set of selected 2D objects in the Graphics
window by dragging its bounding box. In version 5.5, you can still move objects by
dragging, but scaling requires adding a Scale feature in some cases.
In the API, the corresponding property name has been changed from
integrationFrame to densityFrame.
NO FLUX FORMULATION
The formulation of the No Flux feature has been changed in the Transport of Diluted
Species interface in version 5.4 so that the flux relative to the convective flux is set to
COMSOL MULTIPHYSICS | 35
In the API, the method importData() is obsolete for the geometry features
ParametricCurve, ParametricSurface, and Sweep. Instead, use the refresh()
method in the function features.
PARTICIPATION FACTOR
Support for participation factors in the eigenvalue solver has been replaced by a new
and improved Participation Factors feature, which is available under Definitions>Variable
Utilities in a model component for computing participation factors in structural
simulations.
INTERPOLATION CURVES
For interpolation curves, in the case when relative tolerance is zero (which is the
default), the algorithm in 5.3a has changed so that the shape of the curve becomes
somewhat different (while still interpolating the given points).
ITERATIVE SOLVERS
For the iterative solvers, the error handling mechanism has been improved to
contribute to a general robustness of the computation. The improved mechanism is
enabled per default and can give the following effects for nonlinear iterations:
STRESS/STRAIN PLOTS
Principal stress/strain plots now evaluate the stresses and strains in the centers of mesh
elements instead of in the mesh nodes.
FRAME DEFINITIONS
In version 5.3a, all frames are always defined. If you open models from version 5.2a or
earlier, there will be a Permanently Define All Frames button under Frames in the General
FRAME CONTROL
In previous versions of COMSOL Multiphysics, it was possible to apply multiple
frame-controlling physics on the same selection. For example, it was possible to add
two Solid Mechanics interfaces (with the Include geometric nonlinearity option enabled)
on the same selection and solve. In this case, an “override rule” was applied between
the controlling physics, effectively meaning that the last physics in the tree had control
of the frame deformation for the overlapping domains. This situation could cause
unexpected results.
In version 5.3, multiple physics interfaces controlling the same frame are not allowed
on the same selection and will cause an error when trying to solve. However, it is still
possible to use multiple frame-controlling physics with overlapping selection, but you
now have to explicitly disable frame control on all but one of the physics. This gives
you better control on what is going on. The functionality to disable frame control for
physics has been incorporated in the Settings window for study steps to allow choosing
different physics to control the frame in different study steps.
Frame-Scoped Variables
Certain variables pertaining to frame deformation are now defined with “frame
prefix”. For example, the relative element volume is now called spatial.relVol.
Previously, these variables were added by the physics interface controlling the frame
deformation so they used a “physics prefix” (for example, ale.relVol). For backward
compatibility of old models, the physics interfaces still define the old variables, but they
are aliases of the new frame variables.
feature("ftag").feature("prob1").feature("error1")
feature("ftag").problem("error1")
COMSOL MULTIPHYSICS | 37
Backward Compatibility with Version 5.2
CREATING SELECTIONS
In version 5.2, the selresult property replaced the createselection property.
createselection is still supported for backward compatibility.
MESH PARTS
For backward compatibility regarding STL/VRML import, and for COMSOL API
compatibility, the old user interface for mesh import (with a specified filename and
import properties) and the corresponding properties are available in the COMSOL
MESH IMPORT
The method used to automatically partition the boundary of imported meshes in 3D
has been improved. If you have an existing model, you can work with it without being
affected. However, if you click the Import button of the Import feature in the meshing
sequence, the file is read again and the new partitioning method is used. The exception
is if the Import feature had Boundary partitioning set to Manual. In this case, the
modified parameter values are preserved under the Feature detection setting, which
uses the same algorithm as in version 5.0.
COMSOL tries to map the old selection on boundaries to the new boundaries, but it
is not always possible to do accurately when new faces have appeared or old faces have
disappeared. You may have to manually review and update boundary, edge, and point
selections after reimporting the mesh.
If you have a Java® or MATLAB® program that imports meshes, the number of
geometric entities may have changed compared to older versions.
SECURITY SETTINGS
In version 5.2a, the Allow external process and libraries check box on the Security page
in the Preferences dialog box is cleared by default to not allow applications to start
external processes on the computer. The default setting in 5.0 is set to allow such
external processes.
COMSOL MULTIPHYSICS | 39
DISPLAY OF MAX/MIN MARKERS IN PLOTS
The display of max/min markers in plots is now off by default to make plots fit better
when using a small graphics canvas. In previous versions, the display of max/min
markers in plots was on by default.
When the interface is used for layered shell modeling, the equations are solved in a
product space spanned by the shell’s boundary selection in 3D and an extra dimension
that points in the shell’s normal direction. This accounts for both tangential and
normal electric fields in the shell. In this state, the interface can model conductors as
well as dielectrics. It supports Stationary, Frequency Domain, and Time Dependent
studies. Together with the MEMS Module or Structural Mechanics Module and the
add-on Composite Materials Module, this allows for modeling piezoelectric materials
in layered shells. For modeling layered shells, the interface replaces the Electric
Currents, Layered Shell interface released in version 5.4.
When used for nonlayered shells, only tangential electric fields are accounted for. It
then replaces the old Electric Currents, Shell interface, except for piezoresistive
modeling. The old Electric Currents, Shell interface has been renamed Electric
Currents, Single Layer Shell and is available in the Model Wizard and Add Physics
dialog under: AC/DC>Electromagnetics and Mechanics>Piezoresistivity.
For backward compatibility, models created in the old physics interfaces will open
using legacy versions of the same old physics interfaces.
AC/DC MODULE | 41
time, the velocity is taken from Solid Mechanics and applied in the Magnetic Fields
interface as a Lorentz velocity term.
The remanent flux density constitutive relation has been updated to support these new
materials. The magnitude of the remanent flux density is provided by the material,
while the direction is specified in the physics settings. This allows for quick and easy
modeling of devices with permanent magnets. By combining the materials together
with a Material Switch feature, you can sweep over different grades to investigate the
corresponding performance. A number of models in the AC/DC Module Application
Library have been updated to use the new materials.
AC/DC
• Soft Iron (Without Losses), B-H curve and Effective B-H curve
• Soft Iron (With Losses), B-H curve and Effective B-H curve
• Nonlinear Permanent Magnet, B-H curve.
Nonlinear Magnetic
• Silicon Steel NGO 35JN200
• Silicon Steel NGO 35PN210
• Silicon Steel NGO 35PN230
• Silicon Steel NGO 35PN250
• Silicon Steel NGO 50PN1300
• Silicon Steel NGO 50PN600
• Silicon Steel NGO 50PN700
• Silicon Steel NGO 50PN800
• Silicon Steel NGO M-22
• Silicon Steel GO 3%
• Silicon Steel GO 3413
• Silicon Steel GO 3423
• Silicon Steel GO Silectron 4 mil cross
• Silicon Steel GO Silectron 4 mil rolling
• Metglas Nano Finemet 50 Hz NoFieldAnnealed
• Cobalt Steel Vacoflux 50
• Nickel Steel 4750
• Nickel Steel Monimax Nonoriented
• Nickel Steel Mumetal 80% Ni
• Nickel Steel Square 50
• Nickel Steel Superperm 49
• Low Carbon Steel 50H470
• Low Carbon Steel Magnetite
• Low Carbon Steel Soft Iron
AC/DC MODULE | 43
• Low Carbon Steel Vacofer S1 Pure Iron
• Alloy Powder Core Hiflux 125 mu
• Alloy Powder Core Hiflux 160mu
• Alloy Powder Core Koolmu 125 mu
• Alloy Powder Core Koolmu 40 mu
• Alloy Powder Core Koolmu 75 mu
• Alloy Powder Core Koolmu 90 mu
• Alloy Powder Core MPP 60 mu
Note that materials added to a model prior to version 5.5 are not affected unless
reloaded from the material library.
PARAMETRIC HYSTERESIS
The Jiles–Atherton model for magnetic hysteresis has been extended to support
parametric stationary studies in addition to the previously available time-dependent
analysis. Ferromagnetic hysteresis is for low-to-moderate frequencies rate-independent
and can be analyzed using a parametric stationary study, for example, when studying
magnetization and demagnetization.
SMALL IMPROVEMENTS
A number of smaller improvements and fixes have been implemented.
• The Effective Nonlinear Magnetic Curves Calculator application will now generate
a curve where the saturation region has a differential relative permeability equal to
unity.
• The Transition Boundary Condition now allows for adding explicit surface current
density contributions on the up and down sides via a subfeature.
• Support for spatially dependent conductivity has been added to the domain Coil
feature when operated in single conductor mode.
• E-Core Transformer
• Electrodynamics of a Power Switch
• Electromagnetic Forces on Parallel Current-Carrying Wires
• Frequency Domain Study of Three-Phase Motor
• Heating Circuit
• Induction Heating of a Steel Billet
• Inductor in an Amplifier Circuit
• Magnet Falling Through Copper Tube
• Magnetic Damping of Vibrating Conducting Solids
(New Lorentz Coupling feature)
• Magnetic Signature of a Submarine
• Pacemaker Electrode
• Permanent Magnet
• Permanent Magnet Motor in 3D
• Piezoelectricity in a Layered Shell (New)
• Planar PCB Coil
AC/DC MODULE | 45
• Small-Signal Analysis of an Inductor
• Solid Multilayer Shell Comparison
• Topology Optimization of a Magnetic Circuit
• Touchscreen Simulator
COIL FEATURES
Multi-Turn Coil features in old models will be mapped to the new Coil feature using the
Homogenized Multi-Turn Conductor model. Single-Turn Coil features in old models
will import as is with a warning that the feature is obsolete and will be removed in
future versions.
The User Defined Coil Geometry subnode, which is available for 3D Coil nodes with the
User-Defined Coil type, is now a domain feature. You can now select coil input and
The Coil Geometry Analysis study step (formerly Coil Current Calculation) will now
solve for all of the coils in the active interfaces. To solve only for specific coils (specified
using the CoilName property), set the SpecifyCoil property to 1.
The default solver sequence generated by the Coil Geometry Analysis is different in
version 5.1. Code that accesses specific solver features in the generated solver sequence
may need to be reviewed.
model.physics("mf").feature("stcd1").create("hp1",
"CoilHarmonicPerturbation", -1);
Global features have no selections, so code that accesses the selection of the Harmonic
Perturbation features may need to be reviewed.
Some of the improvements in the 3D Multi-Turn Coil features may require a review of
existing code that uses the COMSOL API.
Subnodes required to set up the coil features are now added automatically. Existing
code that uses the coil features may need to be updated.
The parameters eCoil and length have been moved from the Multi-Turn Coil features
(boundary and domain) to the new subfeature UserDefinedCoilGeometry.
AC/DC MODULE | 47
OTHER IMPROVEMENTS
New functionality introduced in version 5.1 is disabled by default when opening
models created in previous versions:
This functionality can be enabled using the appropriate inputs in the Settings window.
Refer to the documentation for the individual features for more details.
Acoustic structure interaction (ASI) is modeled by combining the new elastic waves
interface with the Pressure Acoustics, Time Explicit interface and the Acoustic-Structure
Boundary, Time Explicit multiphysics coupling. For geometry assemblies, the Pair
Acoustic-Structure Boundary, Time Explicit can be used.
ACOUSTICS MODULE | 49
Dissipation plays an important role when modeling high-frequency applications like
ultrasound imaging and flowmeters. The new option exists for the Pressure Acoustics,
Time Explicit interface and the Convected Wave Equation, Time Explicit interface.
In Pressure Acoustics, Time Explicit, the Fluid model list now includes:
• Linear elastic
• Viscous
• Thermally conducting
• Thermally conducting and viscous
• General dissipation
• Ideal gas
In Convected Wave Equation, Time Explicit, the Fluid model list now includes:
• Linear elastic
• General dissipation
The Pressure Acoustics, Time Explicit interface has been improved with the addition of
a Material Discontinuity (interior) boundary condition and a Continuity pair feature.
Both are used to handle jumps in material properties for either a union with a
conforming mesh or an assembly using a nonconforming mesh, respectively.
ACOUSTICS MODULE | 51
analysis. The Lorentz Coupling feature requires the AC/DC Module but it is highly
relevant for modeling dynamic loudspeakers.
• Acoustic-Structure Boundary
• Thermoviscous Acoustic-Structure Boundary
• Aeroacoustic-Structure Boundary
• Porous-Structure Boundary
• Common iterative solver suggestions are now set up by the Acoustic BEM-FEM
Boundary, the Acoustic-Structure Boundary, the Thermoviscous Acoustic-
ACOUSTICS MODULE | 53
To get a better overview of the existing and many new tutorial models, the Application
Library has also been updated with following new categories:
• Elastic Waves
• Tutorials, Pressure Acoustics
• Tutorials, Pipe Acoustics
• Tutorials, Thermoviscous Acoustics.
• When you release rays from a grid of points using the Release from Grid feature, you
can now preview the initial ray positions in the Graphics window. In the Initial
Coordinates section of the Settings window, click the Preview Initial Coordinates
button to view the initial ray coordinates as a grid of points. Click the Preview Initial
Extents button to view the spatial extents of the initial coordinates as a bounding
box. These buttons allow you to check the initial ray positions before running a
study.
• When you release rays in a cone, a new type of Conical distribution is available,
Hexapolar. For the hexapolar cone type, rays are released at uniformly distributed
angles from the cone axis, with each ring having six more rays than the previous one.
• You can now select Isotropic scattering as the wall condition when rays hit surfaces
in the geometry. Like the Diffuse scattering condition, the Isotropic scattering
condition causes rays to be reflected with randomly sampled directions around the
surface normal. However, whereas the Diffuse scattering condition uses a probability
distribution based on the cosine law, the Isotropic scattering condition follows a
probability distribution that gives equal flux across any differential solid angle in the
hemisphere.
ACOUSTICS MODULE | 55
electromagnetic circuit. This response is included in a 3D model where the
vibroacoustic response of the speaker is analyzed and compared with measurements.
• The Wax Guard Acoustics: Transfer Matrix Computation tutorial is set up to
analyze the acoustic properties of a wax guard. A wax guard is a small perforated
mesh used to protect the receiver (the miniature loudspeaker in a hearing aid) used
for hearing aids. Because of the very small dimensions of the structure, the thermal
and viscous boundary layer losses need to be included in detail, and therefore the
Thermoviscous Acoustics, Frequency Domain interface is used. The transfer matrix
(or two-port) of the wax guard is computed using the Port Sweep functionality and
the Port boundary condition.
• The Head and Torso HRTF Computation tutorial model shows how to import a
3D scanned geometry of a human head and torso and compute the head-related
transfer function (HRTF). The scan is imported as an STL file and converted into a
COMSOL geometry. The HRTF is computed using the reciprocity principle and
the BEM method.
• The Shape Optimization of an Acoustic Demultiplexer model shows how shape
optimization can be used to design an acoustic demultiplexer. A demultiplexer is a
data distributing device; in this case, it will distribute acoustic energy.
• In the Ground Motion After Seismic Event: Scattering off a Small Mountain
tutorial, the propagation of elastic waves in the ground after a seismic event is
simulated using a 2D model and the Elastic Waves, Time Explicit interface.
• In the Isotropic-Anisotropic Sample: Elastic Wave Propagation tutorial, a test
sample consists on one side of an isotropic material and on the other side of a
heterogeneous anisotropic material (a transverse anisotropic zinc crystal). Elastic
waves in the sample are excited by a point-like force. The model is solved with the
Elastic Waves, Time Explicit physics interface.
• The Acoustics of a Pipe System with 3D Bend and Junction tutorial shows how to
model the propagation of acoustic waves in large pipe systems by coupling the Pipe
Acoustics interface to the Pressure Acoustics interface using the Acoustic-Pipe
Acoustics Coupling multiphysics feature. The tutorial is set up in both the time and
frequency domain.
• The Spherical Scatterer: BEM Benchmark tutorial is a classical BEM benchmark
model. A spherical scatterer is placed in a plane wave background field. When the
sphere is modeled as sound hard, the problem has an analytical solution. The model
compares the results using the Pressure Acoustics, Boundary Elements interface with
the analytical solution for several frequencies. The results show very good
agreement. The model results do not show any irregular modes.
model.physics("acpr").feature("pwr1").feature("ipf1").
set("c", "acpr.c_c");
ACOUSTICS MODULE | 57
• A new Lagrange multiplier variable (ta.lm_slip) has been added to the slip
conditions in the Thermoacoustics, Frequency Domain interface. If you run a
model with a segregated solver, you will need to add this variable to the group
containing the velocity degree of freedom. You can also regenerate the default
solver. In the API, you need to add comp1_ta_lm_slip to the declaration of the
segregated step; for example, adding:
model.sol("sol1").feature("s1").feature("se1").feature("ss1").
set("segvar", new String[]{"comp1_p", "comp1_u", "comp1_T",
"comp1_ta_lm_slip"});
• The Waveguide end impedance option has been removed from 2D, 1D
axisymmetric, and 1D as it had no physical meaning in these space dimensions.
• The CAD file import functionality included with these products has been extended
to support new versions for some of the supported file formats (see under Read from
File, CAD on www.comsol.com/products/specifications/cad).
• The CAD file import functionality now supports associative geometry import to
retain physics and other settings on the geometry after the file is imported again.
The import reads information in the CAD files to identify the geometric entities in
the file. This information is usually available when importing CAD files saved in the
native format of the software where it was created.
• The CAD file import functionality now generates selections based on the material
and layer assignments of the geometric objects when this is available in the CAD file.
Selections are also generated for assigned colors to geometric entities. The selections
are available in the appropriate input selection lists of features in the model tree.
• You can use the new Delete Holes defeaturing tool to search for and delete
cylindrical holes smaller then a specified radius.
• Support has been added to export geometry to the STEP and IGES formats.
CAD IMPORT MODULE, DESIGN MODULE, AND LIVELINK™ PRODUCTS FOR CAD | 63
New Functionality in LiveLink™ for AutoCAD® in Version 5.5
• The LiveLink interface now keeps track of the layer state of the synchronized CAD
file, and the same layer state is used for subsequent synchronizations.
• Layer selections, which are generated based on the layer name that the geometric
objects belong to in the CAD file, are now also available as object selections in the
appropriate input selection lists of geometry features following the LiveLink™
feature in a geometry sequence.
• The LiveLink™ interface now supports AutoCAD® 2020.
CAD IMPORT MODULE, DESIGN MODULE, AND LIVELINK™ PRODUCTS FOR CAD | 65
Backward Compatibility with Previous Versions
• The combination of the fillholes property set to on and the knit property set to
solid is equivalent to the knit property set to solid in previous versions.
• The combination of the fillholes property set to off and the knit property set
to surface is equivalent to the knit property set to surface in version 5.3a.
• The combination of the fillholes property set to on and the knit property set to
surface is equivalent to the knit property set to surface in version 5.3 and
previous versions.
The new fillholes property has been added for the Knit function. The Knit
function with the fillholes property set to on corresponds to the Knit function in
previous versions.
• If you have not set the relative repair tolerance repairtol, you will get the new
default repair tolerance type: auto. This will result in a valid geometry in almost all
cases. In extreme cases, the result can have a different topology than in 5.2.
• In rare cases, if you have set the repairtol tolerance, version 5.2a can fail when
building the geometry. If so, set repairtoltype to auto (select Automatic from the
Repair tolerance list) to get the 5.2 behavior.
CFD MODULE | 67
phases and the continuous phase, can be specified in the Mixture Model
multiphysics coupling node.
• In the Brinkman Equations and Free and Porous Media Flow interfaces, the Porous
Matrix Properties section in the Fluid and Matrix Properties domain feature now
contains a Non-Darcian option in the drop-down list for the Permeability model. This
option also replaces the old Forchheimer Drag subfeature.
• In the Darcy’s Law interface, the Matrix Properties section in the Fluid and Matrix
Properties domain feature now contains a Non-Darcian option in the drop-down list
for the Permeability model. This can be used to add a Forchheimer drag term to the
momentum equation. The Darcy’s Law interface also has a new setting, at the
interface level, for including gravity effects.
• Large Eddy Simulation (LES) interfaces for nonisothermal flow are now available in
the Model Wizard. The three new interfaces, LES RBVM, LES RBVMWV, and LES
Smagorinsky, are all based on variational multiscale methods. Additional subgrid
heat fluxes are added in the Nonisothermal Flow multiphysics coupling node in
consistency with the chosen variational multiscale method (RBVM, RBVMWV, or
Smagorinsky).
• The new physics interface, Compressible Euler Equations, has been added under
High Mach Number Flow in the Fluid Flow branch. It is applicable to transient,
isentropic flow of ideal gases at transonic and supersonic speeds.
model.component("comp1").physics("fp").feature("fmp1").
create("fd1", "Forchheimer", 2);
with
model.component("comp1").physics("fp").feature("fmp1").
set("ktype", "nonDarcianModel");
model.component("comp1").physics("fp").feature("fmp1").
feature("fd1").set("betaF", "value");
with
model.component("comp1").physics("fp").feature("fmp1").
set("cf", "value");
EULER-EULER MODEL
The results from models using the Euler-Euler Model interfaces may differ in version
5.5 due to the more general formulation for the viscous stress in the momentum
equation for the dispersed phase. The behavior in the old formulation may be
reproduced by dividing the dispersed phase viscosity, μD, by the variable ee.phidPos.
NO FLUX FORMULATION
The formulation of the No Flux feature has been changed in the Transport of Diluted
Species interface in version 5.4 so that the flux relative to the convective flux is set to
zero. The new formulation is used when opening a model from a previous session. In
the previous formulation, the total flux was set to zero.
CFD MODULE | 69
FULLY DEVELOPED FLOW REPLACES LAMINAR INFLOW AND LAMINAR
OUTFLOW
The Laminar inflow and Laminar outflow options on Inlets and Outlets, respectively,
have been replaced with the Fully developed flow option. Models built in versions prior
to 5.4 will contain warnings about obsolete functionality.
• New adsorption models for mass transport in porous media. The Toth and BET
models are now available in the Adsorption node.
This selects Ideal gas law in the Reactor pressure list in the Mixture Properties section.
When this is done, the User defined option is available in the Volumetric rate list in the
Mass Balance section.
remove entries for the wall functions variables of the kind comp1_tcs_wWall_name to
result in
model.sol("sol1").feature("s1").feature("se1").feature("ss1")
.set("segvar", new String[]{"comp1_w1", "comp1_w2"});
NO FLUX FORMULATION
The formulation of the No Flux feature has been changed in the Transport of Diluted
Species interface in version 5.4 so that the flux relative to the convective flux is set to
zero. The new formulation is used when opening a model from a previous session. In
the previous formulation, the total flux was set to zero.
Change this to
In version 5.1, the spatial direction indicator string (x, xy, and so on) has been moved
to the end of the variable name. This applies to all vector and tensor variables generated
by the interface.
For example, the diffusive flux vector components have changed (in 5.0 and earlier)
from
and the components of the diffusion tensor, defined by the Fick’s Law diffusion model,
have been changed (in 5.0 and earlier) from
model.physics("sr").feature("sp1").set("rho_0", "rhocb1");
model.physics("sr").feature("sp1").set("rho_1", "rhocb2");
Apply the Java® API syntax changes as shown in the example below:
DELAMINATION MODELING
A common failure mode in laminates is delamination. This can be modeled using the
new Delamination node in the Layered Shell interface. There are several different
displacement- and energy-based cohesive zone models available for describing the
damage together with different traction separation laws. When two layers are in a
delaminated state, either initially or after applying a load, a contact condition is used
to avoid penetration between the layers.
• Zinoviev
• Hashin-Rotem
• Hashin
• Puck
• LaRC03
These criteria are available for the Linear Elastic Material in the Layered Shell interface
and in the Layered Linear Elastic Material in the Shell interface.
The new interface is located in a group named Thermal Stress in the Add Physics dialog.
• Acoustics-Structure Boundary
• Thermoviscous-Structure Boundary
• Aeroacoustic-Structure Boundary
• Porous-Structure Boundary
• Fluid-Structure Interaction
The Layered Shell-Structure Cladding multiphysics coupling can be used to model cases
where the top or bottom surface of the layered shell is connected to a boundary in the
Solid Mechanics, Shell, or Membrane interfaces.
There are several material models that can be used together with the Layered Linear
Elastic Material; for example, viscoelaticity and plasticity. The nonlinear material models
require the Nonlinear Structural Materials Module.
For structural analysis in the Membrane interface, the ordering of the layers is not
important, since this is an equivalent single layer theory and the bending stiffness is
In the Linear Elastic Material in the Layered Shell interface, it is now possible to add
Plasticity. The same set of yield functions and hardening models as in the Solid
Mechanics interface is available. The formulation assumes small plastic strains, which
give a good approximation up to 10–20% strain.
• Viscoelasticity
• Plasticity
• Creep
• Viscoplasticity
Variable thickness layers are supported in the Layered Shell interface as well as in the
Layered Linear Elastic Material node in the Shell and Membrane interfaces.
• Symmetric
• Antisymmetric
• Repeated
These transformations are defined by the Transform option in the Layered Material Link
and Layered Material Stack nodes.
• Top interface
• Bottom interface
• Exterior interfaces
• All interfaces
In the Through Thickness plot, the locations of interfaces between layers can now be
drawn automatically. It is also possible to plot quantities that are only defined in certain
layers.
CORROSION MODULE | 85
• The following models have been updated to use the new Electroanalysis (tcd)
interface: impedance_spectroscopy, microdisk_voltammetry,
cyclic_voltammetry_1d, and co2_corrosion.
• The impedance_spectroscopy, microdisk_voltammetry, cyclic_voltammetry_1d, and
orange_battery models have been updated to use the new Nernst equation and
concentration-dependent exchange current density in Butler-Volmer kinetics.
ELECTROCHEMISTRY MODULE | 89
kinetics expression type, and Mass action law for exchange current density type. Java
API backward compatibility may be affected.
ELECTRODEPOSITION MODULE | 91
• The Thin Electrode Surface node is now available also in the Primary Current
Distribution interface.
• New and updated default plots have been added in the Transport of Diluted Species,
Tertiary Current Distribution, Nernst Planck, and Darcy’s Law interfaces.
• A new mass inflow boundary condition has been added to Darcy’s Law.
• Extended Inlet/Outlet boundary condition in the Darcy’s Law interface to include
Velocity (Inlet/Outlet), Pressure (Inlet/Outlet), and Mass flow (Inlet) options.
• The Darcy’s Law interface now supports frequency-domain studies (with licenses
for the Batteries & Fuel Cells Module, Corrosion Module, Electrochemistry
Module, and Electrodeposition Module).
• More accurate definitions of the internal cH and pH variables (in basic electrolytes),
and the cOH and pOH (in acid electrolytes) in the Tertiary Current Distribution,
Nernst-Planck (water-based charge balance option) and the Electrophoretic
Transport interfaces have been implemented.
• The implementation of the Donnan boundary conditions used by the Ion-Exchange
Membrane node has been improved.
• A new boundary condition formulation option has been added in the Film
Resistance section of the Electrode Surface, Internal Electrode Surface, and Thin
Electrode Surface nodes in the Primary Current Distribution interface.
• Default stoichiometric number for Dissolving-Depositing species changed to 0
(from 1).
ELECTRODEPOSITION MODULE | 93
Fatigue Module
New Functionality in Version 5.5
The advantage with the new design is that you do not need to select a domain in order
to do a fatigue evaluation on boundaries, edges, or points. This is particularly
important when evaluating fatigue life in shell models, since such models no longer
require the addition of superfluous domains.
In previous versions, the distinction between number of load reversals to failure and
number of load cycles to failure has not been clear, neither in the theory sections nor
in result output. In version 5.3a, the result is always in terms of cycles, and the
documentation has been clarified at a number of places.
The affected fatigue models are Basquin, Coffin-Manson, Combined Basquin and Coffin-
Manson, Morrow, Smith-Watson-Topper (SWT), Wang-Brown, and Fatemi-Socie.
For the Modified Structured Cam-Clay model, the angle of internal friction is no longer
available as an input, unless the Slope of critical state line is set to Match to Mohr-
Coulomb criterion.
For the Extended Barcelona Basic model, a new input for initial suction has been added.
The effect is that the volumetric strain is now based on changes in suction, rather than
on the total suction.
For the Hardening Soil model, the expressions for the cap yield functions and plastic
potential have been modified. Also, the expressions for critical deviatoric stress and
dilatancy angle have been updated.
GEOMECHANICS MODULE | 95
compressive/tensile loading. A hyperbolic stress-strain relation is recovered. It is also
verified that the asymptotic value of the axial stress is equal to the analytical value of
the failure stress.
In addition, subsystems may be defined once with the Subsystem Definition component
and then used several times in the circuit with the Subsystem Instance component.
This new set of functionality makes it possible to dramatically reduce the models’
complexity by using global features not requiring any geometry nor mesh definition.
The use of the new features is illustrated in the Composite Thermal Barrier, Lumped
Thermal System, Thermoelectric Cooler, Lumped Thermal System, Transient
Conduction in a Wall, Lumped Thermal System, and Buried Cables Heating
tutorials.
In addition, the new Radiative Source feature allows you to add a source term in the
radiative transfer equation by specifying either a Power density, a Directional power
density, or an Energy rate. It is available in the Radiation in Participating Media and
Radiation in Absorbing-Scattering Media interfaces.
Finally, the new Initial Values feature allows you to set a user-defined value for the initial
radiative intensity (discrete ordinates method) or incident radiation (P1
Approximation). It is available in the Radiation in Participating Media and Radiation
in Absorbing-Scattering Media interfaces. In the Radiation in Participating Media
interface, the blackbody formulation can be used for the specification of the initial
condition.
In addition, the Symmetry and External Radiation Source features are now available
when the Ray shooting radiation method is used. The Symmetry feature can be used to
define up to three symmetry planes or to define sector symmetry in order to reduce
the computational effort for the view factor computation. The External Radiation
Source feature can be used to define radiation coming from an object that is not
represented in the model geometry, like the sun. For time-dependent analysis, the
external radiation source position or direction may vary during the simulation.
Finally, a new option is available to control the view factor update for time-dependent
simulations, when the Ray shooting radiation method is used. The View Factors Update
section is available with the Advanced Physics Options in the Surface-to-Surface
Radiation interface. This allows to define a criterion based on a user-defined
Expression. This may considerably reduce the computation time of time-dependent
simulations.
For both formulations, the equations are numerically solved by using the relative
humidity (mt.phi) as the shape function. This information is now displayed under the
Dependent Variables section. Note that the definition of the relative humidity in the
Heat Transfer interface (ht.phi) is now consistent with the one of the Moisture
Transport interface, with no bounding applied when the relative humidity goes above
unity to allow for supersaturation conditions.
In addition, two new features are available to define flow conditions on the exterior
boundaries of moist air domains:
• The Inflow feature allows to specify upstream moisture conditions to define the
inflow of moisture that would be obtained if adding a virtual domain upstream of
the inlet. A Dankwerts condition is used to estimate the flux across the boundary.
• The Open Boundary feature behaves identically to the Inflow feature for an incoming
flow, and automatically switches to a zero diffusive flux condition (as with the
Outflow feature) for an outgoing flow. It provides also an alternative way of
specifying the inflow condition by using a Discontinuous Galerkin constraint on the
temperature.
The Relative tolerance has been increased in the stationary and time-dependent steps,
and a lower Tolerance factor is used in the Fully Coupled node to compensate. In
particular, this releases the constraint on time steps for time-dependent studies.
Finally, the Moist Air feature is now available within all the Heat Transfer interfaces and
can be found under the new Specific Media menu by right-clicking on the physics
interface node.
These updates apply to the Thin Layer, Thin Film, and Fracture features (and subfeatures)
in the Heat Transfer interface, and to the Heat Transfer in Shells, Heat Transfer in
Films, and Heat Transfer in Fractures interfaces (with all features), found under the
Heat Transfer>Thin Structures branch.
It is now possible to select any boundary or edge from the interfaces and features,
while only the geometric entities with a Layered Material defined were available for
selection in version 5.4. A Thickness value can be defined in the Material Contents table
of any material.
The Shell Properties section replaces the Layer Selection section in the interfaces and
(boundary and edge) features.
By selecting the Nonlayered shell option in the Shell type list, it is possible to set a user-
defined Thickness and to apply a classical material on the boundary, like for any other
boundary feature. This simplified approach allows an optimized computation of heat
transfer in a single-layer material with a lumped formulation. By default, the Layer type
uses such a lumped formulation, with the Thermally thin approximation option, in the
Solid, Fluid, and Porous Medium features of the Heat Transfer in Shells interfaces.
For the features applying on interfaces between layers, predefined sets of interfaces are
available in the Interface Selection section to ease the settings.
Finally, the definition of the coordinates system attached to a layered material has been
improved to speed up computation, in particular for models with a very large number
of boundaries.
Also, the Include viscous dissipation check box is now selected by default. This ensures
energy conservation with the default settings of the multiphysics coupling node. In
addition, it has been updated to give the possibility to couple a single heat transfer
interface to multiple fluid flow interfaces using multiple Nonisothermal Flow
Coupling features.
MISCELLANEOUS
• The Heat transfer in alloys and Heat transfer in biological tissue check boxes have been
removed from the Physical Model section of the Heat Transfer interface. The
Biological Tissue and Shape Memory Alloy features, activated by the abovementioned
check boxes, can be found under the new Specific Media context menu when right-
clicking on the physics interface node.
• The context menus of the Heat Transfer and Moisture Transport interfaces have
been reorganized with the addition of the following submenus for domain and
boundary features: Specific Media, Flow Conditions, Thin Structures, Heat Sources, and
Evaporation/Condensation.
In addition to these updates, some tutorials have been updated regarding physical
modeling:
The new default option in Thin Moisture Barrier feature is Vapor barrier material
properties, and the Moisture barrier material properties option has been removed. When
loading a MPH file that was created before version 5.3 this latter option will be cleared,
In the Equivalent Conductivity for Convection section of the Fluid node, the new
Automatic option for Temperature difference has become the default option. When
loading a MPH file that was created before version 5.3, the User defined option will be
set automatically with the previous value. However, for the API, it will be necessary to
update the code to set the User Defined option.
• When Solar position is selected in External Radiation Source, the new option Update
time from solver is selected by default. When loading an MPH file that was created
before version 5.2a this option will be cleared. However, for the API, for time-
dependent studies, it will be necessary to update the code to get the same behavior
as in previous versions. In most cases, removing the t term in the Second field is the
best option. Alternatively, clearing the Update time from solver option will ensure
that the same behavior as before is obtained.
• The crosswind stabilization of the heat transfer and fluid flow interfaces has been
updated. In general, the update reduces the smoothing induced by the stabilization
compared to previous version. In addition, when you use the Nonisothermal Flow
multiphysics coupling and the fluid is defined as incompressible, the uncoupled
versions of the streamlines and crosswind stabilization are used.
• Since Pair Thin Film and Pair Fracture are now pair features, their selection needs to
be redefined.
• The definition of the ht.feature.fc(RH.T,pA) function when Moist air fluid type
is used in Fluid feature has been corrected. This change can affect the results in
simulations where it is used.
• The frame support has been enhanced to support moving mesh combined with
deformed geometry in the same component.
The names of the thermal resistance and absolute thermal resistance variables have
changed in the Isothermal Domain Interface feature:
The name of the fluid viscosity variable has changed in the Local Thermal Non-
Equilibrium multiphysics coupling: ltne1.mu_f has become ltne1.mu.
OBSOLETE FEATURES
A number of features are now obsolete because they have been merged or replaced by
a more general features. However, when models from COMSOL 5.0 or before contain
these features, some of the obsolete features are visible in version 5.2a with a warning
sign notifying that the feature is now obsolete (see Table 1-1). Some features have
Updating the models is recommended. Use the new feature and remove the obsolete
feature to make sure that the model will remain compatible with future versions of
COMSOL Multiphysics.
Convective Heat Flux Heat Flux with the Convective heat flux option
selected
Surface-to-Ambient Radiation Diffuse Surface with Include surface-to-surface
radiation deselected
Surface-to-Surface Radiation Diffuse Surface with Include surface-to-surface
radiation selected
Highly Conductive Layer Thin Layer with Layer type set to Conductive
Thin Thermally Resistive Layer Thin Layer with Layer type set to Resistive
Note that it is not possible to add any of the obsolete features from the COMSOL
Desktop in version 5.2a. Only the new features are available.
• Heat Flux (ht.hf1.Tvar), Line Heat flux, Point Heat flux, and Out of plane heat flux.
• Heat Source (ht.hs1.Tvar), Boundary heat source, Line heat source, and Point heat
source.
• Diffuse Surface (ht.ds1.Tvar).
The fully scoped variables Ptot, Pbtot, Pltot, and Pstot become P0, Pb, Pl, and Ps,
respectively, in the following features:
• Heat Flux
• Inflow Heat Flux
• Line Heat Flux
• Heat Source
• Boundary Heat Source
• Line Heat Source
• Line Heat Source (Thin Rod subfeature)
• Line Heat Source on Axis
• Layer Heat Source (Thin Layer subfeature)
• Qfric, QfricPow, and Qrate become Qb, Pb, and Qbpart, respectively
• Qfric0, Qrate0, Econtact0, hrad0, hgap0, and hconstr0 are removed and
migrated to existing variables Qb, Qbpart, Econtact, hrad, hgap, and hconstr,
respectively, in old models.
The Change Effective Thickness feature from the Heat Transfer in Thin Shells interface
merges htsh.de into the existing variable htsh.ds.
The Heat Transfer in Thin Shells interface also merges the property de and variable
htsh.de into existing property ds and variable htsh.ds. An API command such as
model.physics("htsh").prop("de").set("de", [...]) now does not have any
effect.
In the Add Study dialog, the new study type Random Vibration (PSD) is available. When
selected, a set of three different studies is added to the model. Also, three nodes are
created under Global Definitions>Reduced-Order Modeling for specifying the spectra.
When one of these studies is selected, a set of two or three different studies is added
to the model. Also, two nodes are created under Global Definitions>Reduced-Order
Modeling for providing the input to the ROM.
The old study Modal Reduced-Order Model has been removed from the Add Study dialog.
It has been superseded by the more general Time Dependent, Modal Reduced-Order
Model. It is, however, still possible to add a Modal Reduced-Order Model study step
directly in the solver sequence if you want to access the old functionality.
When the Acoustics Module is available, there is also a new multiphysics interface,
Acoustic-Solid Interaction, Time Explicit, which combines an Elastic Waves, Time Explicit
interface in solid domains with a Pressure Acoustics, Time Explicit interface in adjacent
acoustic domains.
• Contact can be modeled from a physics interface toward any meshed surface, even
if that surface does not have any physics interface at all defined. This approach is
particularly useful when modeling contact with a rigid shape.
• The more robust penalty method has replaced the augmented Lagrangian method
as the default contact algorithm.
• The friction forces are now represented in a boundary coordinate system. As an
effect, the number of friction degrees of freedom when using the augmented
Lagrangian method is now two in 3D (previous version: three) and one in 2D
(previous version: two).
• Adhesion and Decohesion are now two separate subnodes under Contact.
• When using Adhesion, the adhesive layer stiffness can now also be given using elastic
material data by setting Adhesive stiffness to Use material data.
• In Decohesion, there are now new energy-based damage models. Also, you can now
include a viscous regularization in time-dependent analysis in order to mitigate the
inherent instable behavior when the material is losing stiffness.
In a model created in a previous version, the old type of Contact node will still be kept.
If you add another Contact node, it will be of the new type.
In all nodes where temperature-dependent properties are referenced, the default value
for the temperature in the Model Inputs section is now Common model input.
• It is now available also in 2D. If the generalized plane strain formulation is used,
then it is also possible to generate a global Material node, in the same manner as in
the 3D case.
• One separate global Material node is created for each Cell Periodicity node. This
makes it possible to evaluate several RVE cells in the same study.
• When using Cell Periodicity, a default evaluation group is generated for displaying the
computed material properties. This group contains a Global Matrix Evaluation node
where the elasticity or compliance matrix is shown.
• The Create button has been replaced by icons in a section toolbar and split into
separate operations for study generation and material node generation.
When using the External Stress-Strain Relation for a plane stress Solid Mechanics
interface in 2D, additional degrees of freedom for the transverse shear strains can be
activated by selecting the Allow transverse shear strains check box. This is needed for
some type of anisotropies in the material model.
The effect of this node is to make variables for phase and group velocities for elastic
waves available for result presentation. The solution as such is not affected, and the
variables will be available for any study type.
• The Shape Optimization of a Tesla Microvalve model makes use of the new shape
optimization tools to optimize the flow through a microvalve.
• The Parameter Optimization of a Tesla Microvalve model make use of the parameter
optimization to efficiently place obstructions in a microvalve to optimize the
forward vs. reverse flow rate.
NO FLUX FORMULATION
The formulation of the No Flux feature has been changed in the Transport of Diluted
Species and Transport of Diluted Species in Porous Media interfaces in version 5.4 so
that the flux relative to the convective flux is set to zero. The new formulation is used
when opening a model from a previous session. In the previous formulation, the total
flux was set to zero.
In addition, new variables exist for the total pressure, number density, and so on:
• Contact can be modeled from a physics interface toward any meshed surface, even
if that surface does not have any physics interface at all defined. This approach is
particularly useful when modeling contact with a rigid shape.
• The more robust penalty method has replaced the augmented Lagrangian method
as the default contact algorithm.
• The friction forces are now represented in a boundary coordinate system. As an
effect, the number of friction degrees of freedom when using the augmented
Lagrangian method is now two in 3D (previous version: three) and one in 2D
(previous version: two).
• Adhesion and Decohesion are now two separate subnodes under Contact.
• When using Adhesion, the adhesive layer stiffness can now also be given using elastic
material data by setting Adhesive stiffness to Use material data.
• In Decohesion, there are now new energy-based damage models. Also, you can now
include a viscous regularization in time-dependent analysis in order to mitigate the
inherent instable behavior when the material is losing stiffness.
In a model created in a previous version, the old type of Contact node will still be kept.
If you add another Contact node, it will be of the new type.
In all nodes where temperature-dependent properties are referenced, the default value
for the temperature in the Model Inputs section is now Common model input.
• Plasticity
• Creep
• Viscoplasticity
These material models are added as subnodes to the Layered Linear Elastic Material. If
the Composite Materials Module is available, the material models can also be used in
multilayered shells, and the individual layers can have different material models.
In the Linear Elastic Material in the Layered Shell interface, it is now possible to add
also Plasticity. The same set of yield functions and hardening models as in the Solid
Mechanics interface are available. The formulation assumes small plastic strains, which
give a good approximation up to 10–20% strain.
• Plasticity
• Creep
• Viscoplasticity
Since previous versions, the nonlinear material models are available for the standard
Linear Elastic Material in the Membrane interface.
The temperature distribution and thermal expansion caused by the heating generated
by the plastic deformation are also computed. In a separate study, the influence of
including a temperature dependency in the Johnson-Cook model is examined.
TOPOLOGY OPTIMIZATION
The Filter dataset can be used to transfer the results of a topology optimization to a
new component for a verification analysis. The process is more robust than exporting
and importing a STL file, and setting up the new component is easier, because the
selections from the old component can be recycled.
The Density Model feature introduced in version 5.4 fixes the material volume factor to
1 outside the selection of the Density Model. In version 5.5, the Prescribed Density
feature can be used to specify a value, θfix, for the material volume factor, and if the
Density Model uses Helmholtz filtering, the filter will be extended using θfix as the input
to the filter.
GENERAL SPEEDUP
Some particle tracing models are significantly faster than in version 5.4 and earlier.
There are two main factors in this speedup:
• When exerting forces on particles that depend on another field, such as the Electric
Force or the Drag Force, the coupled field is excluded from Jacobian contributions
whenever possible. In this case, the speedup is most significant when the coupled
field has a large number of degrees of freedom, which may occur if the field is solved
for on a very fine mesh.
• The default behavior of the Time-Dependent Solver for particle tracing is now to
select Minimal from the Jacobian Update list. The previous behavior was Once per time
step. Thus, the Jacobian is updated less often than before. It is not necessary to
update the Jacobian at every time step because the handling of algebraic errors when
solving for the particle trajectories has been made more robust in version 5.5.
Backward Compatibility
The old options to specify the Particle bulk modulus and Particle compressibility have
been removed. Now, the speed of sound will always be specified.
The option Discrete random walk, variable time step has been removed from the
Turbulent dispersion model list. When an old model using this obsolete option is loaded
in version 5.3a, the Discrete random walk option is now selected. However, Discrete
random walk actually behaves more like the old Discrete random walk, variable time step
model because it only samples the turbulent velocity perturbation at discrete time
intervals based on the eddy lifetime or eddy crossing time in the flow.
In the Sampling from phase space distribution list, Uniform has been renamed KV.
In the Longitudinal velocity distribution list, Uniform has been renamed None and
Gaussian has been renamed Normal.
The parameters Position refinement factor and Release distribution accuracy order have
been removed. Due to some changes in the algorithm for initializing particle positions,
in version 5.2a, the distribution of particle positions no longer depends on the finite
element mesh and may differ from the distribution in version 5.2.
• Stresses, strains, and axial deformations caused by internal overpressure are taken
into account.
• The default material model is Fluid and Pipe Materials, reflecting that both the
material in the pipe wall and the fluid are important.
• The Pipe Cross Section node has more and slightly different input parameters when
compared to the corresponding Cross Section Data node in the Beam interface.
• A special type of load, Fluid Load, is included. There, you enter pressure and drag
forces. These values can be taken directly from a Pipe Flow interface.
• A temperature gradient can be present through the pipe wall in the Thermal
Expansion node. The value can be taken directly from a Heat Transfer in Pipes
interface.
The Pipe Mechanics interface requires the Pipe Flow Module or the Structural
Mechanics Module. It is documented in the Structural Mechanics User’s Guide, which
is installed together with the documentation for the Pipe Flow Module.
NEW MODELS
• Electrostatic Precipitator
• Positive and Negative Corona Discharges
• Breakdown Between Spheres
• Positive Column with Space Dependent EEDF
• GEC Reference Cell with Space Dependent EEDF
• When electron impact reaction rate constants are computed from cross section data,
due to a bug, the result will be different for the Maxwellian or Druyvesteyn electron
energy distribution functions. For DC discharges, where Townsend coefficients are
recommended, this should not make much of a difference. For inductively coupled
or microwave discharges, the average electron density and plasma potential could
change by as much as 5%, but typically around 2%. If significant differences in the
solution are obtained, it is recommended that you contact [email protected].
• Surface species are no longer available from the context menu. Instead, surface
species will appear in the Model Builder when a surface reaction containing surface
species is added. If the surface reaction is deleted, then the dependent surface species
will also be deleted.
• The rate constant for a surface reaction that uses sticking coefficients has changed,
and is now proportional to the molecular weight of the reactant instead of the mean
molecular weight. In systems where the molecular weight is the same for all species,
this change won’t affect the results. In models containing species with very different
molecular weights, the surface reaction rates may change according to the square
root of the molecular weight of the reactant divided by the mean molecular weight.
In such systems, it is recommended to activate the new Mixture diffusion correction
property, which adds additional correction terms to the mass flux vector for the
heavy species. Overall discharge properties should not be significantly affected by
this change.
• The definition of surface site concentrations and surface reaction rate rates has been
corrected for models that include a surface chemical mechanism where the surface
species have different site occupancy numbers. This should only result in small
changes to the solution, if any. The total surface site concentration is now a property
on the physics interface level, rather than computed for each species on the feature
level.
• The equation to compute binary diffusion coefficients from characteristic length
parameters has changed. This may produce very slight changes in the diffusion
To use these features, first solve for the electric field in the immediate vicinity of a
radiation source using the Electromagnetics, Frequency Domain interface or the
Electromagnetic Waves, Beam Envelopes interface. Typically, the modeling domain is
only a few wavelengths or less in each direction. Then, use the electric field to initialize
the intensity and polarization of the released rays, which can then propagate for many
wavelengths without the need for a very fine mesh.
The Release from Far-Field Radiation Pattern feature sends rays in multiple directions
with an intensity profile that matches the radiation pattern computed by the Far-Field
Domain feature, allowing it to conveniently use antennas or waveguides as radiation
sources in Ray Optics models.
The Spot Diagram has built-in options to filter or sort the rays shown to automatically
locate a plane of minimal rms spot size and to insert text annotations into the plot.
The Optical Aberration plot has also been extended to include many of the same
filtering, sorting, and automatic focusing capabilities of the Spot Diagram plot.
GRATING IMPROVEMENTS
The existing Grating feature has been improved, and a new Cross Grating feature is now
available. Use the Grating for a substructure that is periodic in one direction and
homogeneous in the orthogonal direction. Use the Cross Grating when the
substructure is periodic in two different directions.
NEW PARTS
The Part Libraries for the Ray Optics Module have been considerably extended in
version 5.5.
Aspheres
New aspheric lens and mirror parts are now available:
The advantage of the Q-type polynomials is that all of their coefficients are of a similar
order of magnitude, whereas in the even and odd aspheres, the coefficients can change
by many orders of magnitude. Thus, the Q-type aspheres are arguably less susceptible
to roundoff error when very-high-order terms are included.
Polygonal Mirrors
The new polygonal mirror parts include the following:
Polygonal mirrors are frequently used in larger telescopes where a single larger mirror
is difficult or expensive to manufacture.
GREGORY–MAKSUTOV TELESCOPE
The Gregory–Maksutov telescope is a simple catadioptric telescope comprising a
spherical corrector lens and a spherical primary mirror. In this example, the corrector
lens and mirror are formed using the Spherical Lens 3D and Spherical Mirror 3D parts,
respectively, from the Ray Optics Part Library.
SCHMIDT-CASSEGRAIN TELESCOPE
The Schmidt–Cassegrain telescope demonstrated in this tutorial is a classic design
using an aspheric corrector lens and two spherical mirrors. The aspheric corrector is
created using the Aspheric Even Lens 3D part from the Ray Optics Part Library.
The Inlet on Axis feature has been renamed to Release from Symmetry Axis.
The old options Single layer, specified reflectance and Single layer, specified
transmittance have been renamed to Specify reflectance and Specify transmittance,
respectively. For both of these options and for the Anti-reflective coating option, which
has not been renamed, the Treat as single layer dielectric film check box is selected when
opening the model in version 5.3a. Otherwise, this check box is cleared, which is the
default behavior.
In the Settings window for the Release from Grid feature, the check box Suppress
interaction with coinciding exterior boundaries has also been removed.
• Linear Polarizer
For the Illuminated Surface, the Standard deviation of the angle of incidence parameter
has been renamed Surface slope error and is now used to define a Rayleigh distribution
for perturbations to the surface normal, rather than the angle of incidence of radiation.
To account for the different effect that the surface slope error has on the model, any
value or expression entered for the Standard deviation of the angle of incidence in version
5.2 or earlier will be divided by 2, before being used to specify the Surface slope error
in version 5.2a.
The Number of rays in wave vector space Nw,r has been removed. The effect of surface
roughness can no longer multiply the number of degrees of freedom created by a
release feature at each release point.
• Linear Polarizer
• Linear Wave Retarder
• Circular Wave Retarder
• Ideal Depolarizer
• Mueller Matrix
If any of these features is present in a model created in version 5.2 or earlier, and None
is selected from the Intensity computation list in the settings window for the
Geometrical Optics interface, then the feature will be automatically disabled when the
model is opened in version 5.2a. To enable these features, select any option other than
None from the Intensity Computation list.
RENAMED SETTINGS
The Wall condition Bounce has been renamed to Specular reflection.
Expressions involving the ray frequency must always be included within the noenv()
operator. Some expressions for user-defined refractive indices may fail to be evaluated
properly in version 5.2a unless this operator is applied.
MIXED-MODE S-PARAMETERS
The mixed-mode S-parameters are calculated using a full S-parameter matrix of a four-
port network that is composed of four single-ended lines. This describes the responses
of a circuit with balanced ports excited and terminated by two types of modes:
common and differential modes.
PORT UTILITY
RF MODULE | 159
can be useful when simulating a tightly focused (spot radius smaller than the
wavelength) Gaussian beam propagating away from the focus.
MULTI-SPOOL BEARING
Using the new feature Multi-Spool Bearing, it is possible to model vibrations in coaxial
rotors running at different speeds. This feature models the intershaft bearing between
two coaxial shafts. Such rotors are common in steam turbines in power plants, where
the system consists of a sequence of turbines having coaxial rotors running at different
speeds. Another example of multispool rotors is in turbofan engines, where an inner
shaft having a low-pressure turbine drives the fan, and an outer shaft having a high-
pressure turbine drives the compressor.
• By solving Reynolds equation for the pressure distribution in the film, thus
computing the net reaction forces and moments of the damper. For this type of
modeling, the new feature Squeeze Film Damper is provided in the Hydrodynamic
Bearing interface.
• By using an analytical expression for the forces and moments of the damper
obtained using the short length approximation. For this type of modeling, you can
add a Squeeze Film Damper subnode to the Journal Bearing and Radial Roller Bearing
nodes in the Solid Rotor and Beam Rotor interfaces.
There is also an option in the interface settings to include this graphical representation
in the stress and whirl plots.
DENSITY-GRADIENT FORMULATION
A new discretization option based on the density-gradient theory is introduced to
include the effect of quantum confinement in the conventional drift-diffusion
formulation. This provides an efficient alternative to other more sophisticated
quantum mechanical methods, which are computationally expensive.
SCHRÖDINGER-POISSON EQUATION
The range of weights for the Schrödinger-Poisson multiphysics coupling is extended
from 20 kT to 40 kT to cover cases with higher temperature ranges.
ACCURACY IMPROVEMENTS
The Caughey-Thomas Mobility Model formulation is updated to improve accuracy.
Default solver settings for time-dependent studies are updated for better accuracy.
Default scaling for quasi-Fermi level formulations are updated for better accuracy.
MODEL UPDATE
The mosfet_mobility tutorial model has been updated with the list of swept values
optimized for the continuation parameter of the field-dependent mobility models. An
unnecessary value is removed from the list to make the model solve faster and the file
size smaller.
In the Add Study dialog, the new study type Random Vibration (PSD) is available. When
selected, a set of three different studies is added to the model. Also, three nodes are
created under Global Definitions->Reduced-Order Modeling for specifying the spectra.
When one of these studies is selected, a set of two or three different studies is added
to the model. Also, two nodes are created under Global Definitions->Reduced-Order
Modeling for providing the input to the ROM.
The old study Modal Reduced-Order Model has been removed from the Add Study dialog.
It has been superseded by the more general Time Dependent, Modal Reduced-Order
Model. It is, however, still possible to add a Modal Reduced-Order Model study step
directly in the solver sequence if you want to access the old functionality.
• You can now model contact in all structural mechanics interfaces that are defined on
domains or boundaries: Solid Mechanics, Shell, Layered Shell, Membrane, and
In a model created in a previous version, the old type of Contact node will still be kept.
If you add another Contact node, it will be of the new type.
• The Thermal Stress, Shell interface couples a Heat Transfer in Shells interface with a
Shell interface.
• The Thermal Stress, Layered Shell interface couples a Heat Transfer in Shells interface
with a Layered Shell interface. This interface is only available with the Composite
Materials Module.
• The Thermal Stress, Membrane interface couples a Heat Transfer in Shells interface
with a Membrane interface.
As an effect of this, the old Thermal Stress multiphysics interface has been renamed to
Thermal Stress, Solid. All four thermal stress interfaces now reside in a group named
Thermal Stress in the Add Physics dialog.
• Stresses, strains, and axial deformations caused by internal overpressure are taken
into account.
• The default material model is Fluid and Pipe Materials, reflecting that both the
material in the pipe wall and the fluid are important.
• The Pipe Cross Section node has more and slightly different input parameters when
compared to the corresponding Cross Section Data node in the Beam interface.
The Pipe Mechanics interface requires the Structural Mechanics Module or the Pipe
Flow Module.
When the Acoustics Module is available, there is also a new multiphysics interface,
Acoustic-Solid Interaction, Time Explicit, which combines an Elastic Waves, Time Explicit
interface in solid domains with a Pressure Acoustics, Time Explicit interface in adjacent
acoustic domains.
Through the Layered Linear Elastic Material, several new materials models have been
implemented. Viscoelasticity is present in the Structural Mechanics Module, and with
the addition of the Nonlinear Structural Materials Module, there are also several
nonlinear material models such as plasticity.
There are also several new multiphysics couplings implemented through the Layered
Linear Elastic Material.
There are several material models that can be used together with the Layered Linear
Elastic Material — for example, viscoelasticity and plasticity. The nonlinear material
models require the Nonlinear Structural Materials Module. Since these material
models are already also available with the standard Linear Elastic Material, the main use
is for multilayered membranes.
In all nodes where temperature-dependent properties are referenced, the default value
for the temperature in the Model Inputs section is now Common model input.
• It is now available also in 2D. If the generalized plane strain formulation is used,
then it is also possible to generate a global Material node, in the same manner as in
the 3D case.
• One separate global Material node is created for each Cell Periodicity node. This
makes it possible to evaluate several RVE cells in the same study.
• When using Cell Periodicity, a default evaluation group is generated for displaying the
computed material properties. This group contains a Global Matrix Evaluation node
where the elasticity or compliance matrix is shown.
• The Create button has been replaced by icons in a section toolbar and split into
separate operations for study generation and material node generation.
Another improvement is that the limit for the number of parameters that can be passed
to an external material has been increased significantly.
When using the External Stress-Strain Relation for a plane stress Solid Mechanics
interface in 2D, additional degrees of freedom for the transverse shear strains can be
activated by selecting the Allow transverse shear strains check box. This is needed for
some type of anisotropies in the material model.
The load plots use standard plot types under Results. The options are chosen so that
you can easily customize the plots to get a good visual impression.
As part of this project, new variables containing the loads are defined in all load
features. These variables have names that are unified between all load features in all
structural mechanics interfaces. Any old variables are still available for backward
compatibility, with one exception: the variable solid.Fp, which was defined by the
Point Load node. Any expression in an existing model containing, for example,
solid.Fpy, must be replaced by solid.F_Py.
The Shell Local System node has also been added to the Rigid Domain material model in
2D axisymmetry.
FROZEN INCLUSION
This benchmark problem studies the melting process of an ice inclusion within a
porous medium, and it demonstrates how to couple the Darcy’s Law interface with the
Heat Transfer in Porous Media interface including phase change.
model.component("comp1").physics("fp").feature("fmp1").
create("fd1", "Forchheimer", 2);
with
model.component("comp1").physics("fp").feature("fmp1").
set("ktype", "nonDarcianModel");
model.component("comp1").physics("fp").feature("fmp1").
feature("fd1").set("betaF", "value");
with
model.component("comp1").physics("fp").feature("fmp1").
set("cf", "value");
NO FLUX FORMULATION
The formulation of the No Flux feature has been changed in the Transport of Diluted
Species and Transport of Diluted Species in Porous Media interfaces in version 5.4 so
PORT UTILITY
An almost collimated Gaussian beam is excited at the left boundary and exhibits total
internal reflection (TIR) at the interface between the waveguide and the surrounding
air. The beam exits the waveguide after propagating along the waveguide for 20 mm.
This type of light guide is useful for virtual reality (VR) simulation.
This phase distribution produces a Gaussian donut beam. The phase rotates around the
optical axis as the beam propagates. The resulting beam is called a vortex beam.
This model demonstrates the use of slit ports and shows how to use the Adaptive
Frequency Sweep study step.
DIRECTIONAL COUPLER
This model has been extended to include the following three parts:
FOCUSING LENS
This model has been updated to use the Transition boundary condition to represent
an antireflection (AR) coating on the lens boundaries.
UPDATED MODELS
Application Library Paths for Models Using the New Gaussian Beam Input Option for
the Scattering and Matched Boundary Conditions
• Wave_Optics_Module/Nonlinear_Optics/self_focusing
• Wave_Optics_Module/Optical_Scattering/beam_splitter
• Wave_Optics_Module/Optical_Scattering/brewster_interface
Application Library Paths for Models Using the New Polarization Plot
• Wave_Optics_Module/Gratings_and_Metamaterials/frequency_selective_surface_cs
rr
• Wave_Optics_Module/Gratings_and_Metamaterials/hexagonal_gratings
• Wave_Optics_Module/Verification_Examples/fresnel_equations
• Surface tension data has been added to 115 datasets as SurfF for the surface tension
coefficient.
• The thermal conductivity for 304 stainless steel above room temperature was
revised. Data from a new reference was added. The new values are the same as the
old values near 20°C but are 35% lower at 600°C.
• The thermal conductivity for 316 stainless steel above room temperature was
revised. Data from a new reference was added. The new values are within 5% of the
old values at all temperatures.
• Data was added for several Kynar grades — 460, 710, 720, 740, and 760 — and for
Pebax.
• Data was added for E glass and S-2 glass fibers and for MgB2.
• Data was added for the C18150, ZEK100, CMSX-4, NARloy-Z, GRCop-84, Cu-
4Cr-2Nb, Fe-22Mn, Fe-24Mn, API X80, 1144, and 4142 alloys.
• Data was added for Bi2Te3 (n- and p-type).
• The elastic properties for Ti-6Al-4V and Inconel 718 were refit. The largest change
was in Poisson’s ratio. For 718, the change was a few percent. For Ti-6Al-4V, the
change was approximately 15% near room temperature and close to 0 at 930°C.
• Data was added for RAFM steel (9Cr-1W), 304L weld metal, CMSX-4, CMSX-10,
Thermo-Span alloy, PWA 1485, SRR99, MAR M247, and Rene 94.
• Data was added for H13, Zn-48Sb, Modified 9Cr-1Mo, A316, 5115 steel, API X60
steel, Mg-4Li, CRONIDUR 30, and 409 wire.
• Data was added for FGH96, ZK60, AZ91, AZ91 Be, AM60, AMZ40, AJ62,
Nitinol, CMSX-4, 25MnCrSiVB6, 50CrMo4 (4150), 100CrMnMoSi8, Ir, Rh, Pt
alloys, Sn-8Zn-3Bi,ScF3, SrF2, LaNbO4, propylene glycol, Li7Sn3, Li13Sn5,
Li7Sn2, Li17Sn4, and ZrB2-B4C-SiC.
• The reference “E.P. Papadakis, Materials Science and Engineering, v. 10, p. 195
(1972)” was used for the expansion of several materials. This reference has been
replaced with new references for the affected materials: 317/317L, FS-85 (Nb-
28Ta-10W-1Zr), Cb-752 (Nb-10W-2.5Zr), Inconel 700, and ZrSiO4.
The following sections list new and improved functionality in LiveLink™ for
MATLAB®.
USER INTERFACES
The user interface mphnavigator has been updated with new functionality for updating
the properties and methods panes using a button on the toolbar.
There is a new tool for copying code to the clipboard that shows how to make a loop
for the currently selected node in the model tree. For a work plane, the copied code
may look like this:
tag1 = 'geom1';
tag2 = 'wp2';
tags = cell(model.geom(tag1).feature(tag2).geom.feature.tags);
for i=1:length(tags)
obj = model.geom(tag1).feature(tag2).geom.feature(tags{i});
end
This feature saves a lot of manual typing. The copied code can then be tailored to a
specific use and inserted in scripts and functions.
Mphmodellibrary, which is used to browse the Application Libraries, now also show
any user-defined libraries. You can add user-defined libraries using the COMSOL
Desktop.
PLOTTING
The function mphplot has been updated to support new plot types added to
COMSOL 5.5.
Mphplot and other plotting function have improved support for plotting in windows
created by the App Designer, which uses uiaxes for plotting instead of the regular axes
objects in MATLAB figures and user interfaces created by GUIDE.
MPHGETADJ
An extra output has been added to mphgetadj:
[n, m] = mphgetadj(model,geomtag,returntype,adjtype,adjnumber)
MPHMEASURE
Mphmeasure is a new function. It measures entities in a geometry.
[m1,m2]=mphmeasure(model,geomtag,entity,…)
Based on the entity, you can measure quantities such as distances, areas, and volumes
in a geometry.
MPHTABLE
This function now supports evaluation groups as well as tables.
• The combination of the fillholes property set to on and the knit property set to
solid is equivalent to the knit property set to solid in previous versions.
• The combination of the fillholes property set to off and the knit property set
to surface is equivalent to the knit property set to surface in version 5.3a.
• The combination of the fillholes property set to on and the knit property set to
surface is equivalent to the knit property set to surface in version 5.3 and
previous versions.
The new fillholes property has been added for the Knit function. The Knit
function with the fillholes property set to on corresponds to the Knit function in
previous versions.
model.geom("geom1")
model.component("comp1").geom("geom1")
to indicate which component the geometry belongs to. To keep the old syntax in
generated Model Java® files, clear the Use component syntax check box under Code
generation on the Methods page in the Preferences window. All old scripts and Java®
source code files will continue to work using the old syntax.
model.physics("mf").feature().create("mtcd1",
"MultiTurnCoilDomain", 3);
model.physics("acpr").feature("pwr1").feature("ipf1").
set("c", "acpr.c_c");
model.physics("cpf").feature("cpf1").set("gamma_mat", "userdef");
New syntax (includes the species name in the first argument of the set method):
model.physics("tcdee").feature("ice1").set("D_c1", new
String[]{"D1", "0", "0", "0", "D1", "0", "0", "0", "D1"});
model.physics("tcdee").feature("ice1").set("D_c2", new
String[]{"D2", "0", "0", "0", "D2", "0", "0", "0", "D2"});
model.physics("tcdee").feature("ice1").set("D_c3", new
String[]{"D3", "0", "0", "0", "D3", "0", "0", "0", "D3"});
• Accessing tensor components (in the definitions of other variables, for example).
Old syntax:
Dxx_c1, Dxy_c1, Dxz_c1...
New syntax (includes the species name in the first argument of the set method):
model.physics("tcdee").feature("reac1").set("R_c1", new
String[]{"R1"});
model.physics("tcdee").feature("reac1").set("R_c2", new
String[]{"R2"});
model.physics("tcdee").feature("reac1").set("R_c3", new
String[]{"R3"});
New syntax:
model.physics("tcdee").feature("init1").setIndex("initc", "c20",
1);
model.physics("tcdee").feature("init1").setIndex("initc", "c30",
2);
model.physics("tcdee").feature("init1").setIndex("initphil",
"V0");
• Selecting properties.
Old syntax:
model.physics("tcdee").prop("Convection").set("Convection", 1,
"0");
model.physics("tcdee").prop("ConvectiveTerm").setIndex("Convectiv
eTerm", "noncons", 0);
New syntax (the property name corresponds to the section in the user interface):
model.physics("tcdee").prop("TransportMechanism").
set("Convection", 1, "0");
model.physics("tcdee").prop("AdvancedSettings").setIndex("Convect
iveTerm", "noncons", 0);
For information about API backward compatibility for the Surface Reactions interface,
see the Chemical Reaction Engineering Module release notes.
• For ODB++® and ODB++(X) files (the type property is odb), new rules apply for
the initialization of the importlayer property of the Import function. Now, only
DOCUMENTATION
The COMSOL Multiphysics Programming Reference Manual replaces the
COMSOL API for Use with Java ® Reference Manual.
DEPRECATED METHODS
The following methods were deprecated in COMSOL 5.0:
TABLE 1-3: DEPRECATED METHODS AND THEIR REPLACEMENTS
com.comsol.model.OptFeature.field() OptFeature.comp()
com.comsol.model.OptFeature.field(String) OptFeature.comp(String)
com.comsol.model.Group.identifier() Group.paramName()
com.comsol.model.Material.identifier() ModelEntity.tag()
com.comsol.model.MaterialModel. ModelEntity.tag()
identifier()
com.comsol.model.ModelNode.identifier() ModelEntity.tag()
com.comsol.model.physics.Physics. Use tag() instead.
identifier()
com.comsol.model.physics. ModelEntity.tag()
MultiphysicsCoupling.identifier()
com.comsol.model.Group.identifier(String) Group.paramName(String)
com.comsol.model.Material. ModelEntity.tag(String)
identifier(String)
com.comsol.model.MaterialModel. ModelEntity.tag(String)
identifier(String)
com.comsol.model.ModelNode. ModelEntity.tag(String)
identifier(String)
com.comsol.model.physics.Physics. Use tag(string) instead.
identifier(String)
com.comsol.model.physics. ModelEntity.tag(String)
MultiphysicsCoupling.identifier(String)
com.comsol.model.ModelEntity.name() ModelEntity.label()
com.comsol.model.ModelEntity.name(String) ModelEntity.
label(String)
com.comsol.model.ParameterEntity. Use the 0-based version
set(String, int, double) (setIndex) instead.
com.comsol.model.ParameterEntity. Use the 0-based version
set(String, int, double) (setIndex) instead.
com.comsol.model.ParameterEntity. Use the 0-based version
set(String, int, double[]) (setIndex) instead.
com.comsol.model.ParameterEntity. Use the 0-based version
set(String, int, int) (setIndex) instead.
com.comsol.model.ParameterEntity. Use the 0-based version
set(String, int, int[]) (setIndex) instead.
com.comsol.model.ParameterEntity. Use the 0-based version
set(String, int, int, double) (setIndex) instead.
com.comsol.model.ParameterEntity. Use the 0-based version
set(String, int, int, int) (setIndex) instead.
com.comsol.model.ParameterEntity. Use the 0-based version
set(String, int, int, String) (setIndex) instead.
com.comsol.model.ParameterEntity. Use the 0-based version
set(String, int, String) (setIndex) instead.
com.comsol.model.ParameterEntity. Use the 0-based version
set(String, int, String[] (setIndex) instead.
This concludes the release notes for COMSOL Multiphysics version 5.5.
INDEX| 199
MEMS Module new functionality in 161
backward compatibility 121 new models in 163
new functionality in 115
S Semiconductor Module
Metal Processing Module 12
new applications in 166
Microfluidics Module
new functionality in 165
backward compatibility 122
Structural Mechanics Module
new models in 122
backward compatibility 180
Mixer Module
new functionality in 168
new functionality in 123
new models in 178
Molecular Flow Module
studies and solvers, new functionality in
backward compatibility 124
25
Multibody Dynamics Module
Subsurface Flow Module
new functionality in 125
backward compatibility 182
N Nonlinear Structural Materials Module new functionality in 181
new functionality in 130 new models in 182
new models in 132
W Wave Optics Module
O operators, functions, and definitions, new functionality in 184
new and updated 23 new models in 186
Optimization Module
new functionality in 133
200 | I N D E X