COMSOL ReleaseNotes
COMSOL ReleaseNotes
Release Notes
COMSOL Multiphysics Release Notes
© 1998–2023 COMSOL
Protected by patents listed on www.comsol.com/patents, or see Help>About COMSOL Multiphysics on the
File menu in the COMSOL Desktop for less detailed lists of U.S. Patents that may apply. Patents pending.
This Documentation and the Programs described herein are furnished under the COMSOL Software License
Agreement (www.comsol.com/sla) and may be used or copied only under the terms of the license
agreement.
COMSOL, 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 6.2
Contact Information
Visit the Contact COMSOL page at www.comsol.com/contact to submit general inquiries
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 on the COMSOL Access
page at www.comsol.com/support/case. Other useful links include:
COMSOL Multiphysics 10
New General Functionality . . . . . . . . . . . . . . . . . . . 10
New Functionality in the Model Manager . . . . . . . . . . . . . . 10
New Functionality in the Model Manager Server . . . . . . . . . . . 14
New Functionality in the Application Builder . . . . . . . . . . . . 16
New and Improved General Functionality in COMSOL Multiphysics . . . 18
New Geometry and Mesh Functionality . . . . . . . . . . . . . . 22
New Functionality in the Physics Interfaces . . . . . . . . . . . . . 25
New and Updated Operators, Functions, and Definitions . . . . . . . 26
New Functionality in Studies and Solvers . . . . . . . . . . . . . . 30
New and Improved Results and Visualization Functionality . . . . . . . 35
®
New Java API Methods . . . . . . . . . . . . . . . . . . . . 39
New COMSOL Server Functionality . . . . . . . . . . . . . . . 40
General Backward Compatibility Considerations . . . . . . . . . . . 40
Backward Compatibility with Version 6.1. . . . . . . . . . . . . . 40
Backward Compatibility with Version 6.0. . . . . . . . . . . . . . 41
Backward Compatibility with Version 5.6. . . . . . . . . . . . . . 43
AC/DC Module 45
New and Improved Functionality in Version 6.2 . . . . . . . . . . . 45
New and Updated Models in Version 6.2. . . . . . . . . . . . . . 50
Backward Compatibility with Version 6.1 and Earlier . . . . . . . . . 52
Acoustics Module 54
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . . 54
New and Updated Model Examples in 6.2 . . . . . . . . . . . . . 60
Backward Compatibility with Version 6.1. . . . . . . . . . . . . . 61
CONTENTS |3
CAD Import Module, Design Module, and LiveLink™ Products
for CAD 67
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . . 67
New Functionality in the Design Module in Version 6.2 . . . . . . . . 67
®
New Functionality in LiveLink™ for AutoCAD in Version 6.2 . . . . . 68
®
New Functionality in LiveLink™ for Inventor in Version 6.2 . . . . . . 68
New Functionality in LiveLink™ for PTC Creo Parametric™ in
Version 6.2. . . . . . . . . . . . . . . . . . . . . . . . 68
® . . . . . . . . . . . . . . 69
LiveLink™ for PTC Pro/ENGINEER
®
New Functionality in LiveLink™ for Revit in Version 6.2 . . . . . . . 69
®
New Functionality in LiveLink™ for Solid Edge in Version 6.2 . . . . . 69
CFD Module 70
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . . 70
New Models in Version 6.2 . . . . . . . . . . . . . . . . . . . 71
Backward Compatibility with Version 6.1 and Earlier . . . . . . . . . 72
Backward Compatibility with Version 6.0 and Earlier . . . . . . . . . 72
Backward Compatibility with Version 5.6 and Earlier . . . . . . . . . 73
Corrosion Module 81
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . . 81
New and Updated Models in Version 6.2. . . . . . . . . . . . . . 82
Electrochemistry Module 84
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . . 84
4 | CONTENTS
Electrodeposition Module 86
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . . 86
New Model in Version 6.2 . . . . . . . . . . . . . . . . . . . 87
Fatigue Module 88
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . . 88
New Model in Version 6.2 . . . . . . . . . . . . . . . . . . . 88
Geomechanics Module 92
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . . 92
New Models in Version 6.2 . . . . . . . . . . . . . . . . . . . 93
CONTENTS |5
Multibody Dynamics Module 113
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . 113
New Models in Version 6.2 . . . . . . . . . . . . . . . . . . 115
RF Module 135
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . 135
New and Updated Models in Version 6.2. . . . . . . . . . . . . 139
6 | CONTENTS
Rotordynamics Module 141
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . 141
®
LiveLink™ for Excel 173
New Functionality in Version 6.2 . . . . . . . . . . . . . . . . 173
CONTENTS |7
®
The COMSOL API for Use with Java 177
COMSOL 6.2 API Changes . . . . . . . . . . . . . . . . . . 177
COMSOL 6.1 API Changes . . . . . . . . . . . . . . . . . . 177
COMSOL 6.0 API Changes . . . . . . . . . . . . . . . . . . 178
COMSOL 5.6 API Changes . . . . . . . . . . . . . . . . . . 179
Index 181
8 | CONTENTS
1
Release Notes
9
COMSOL Multiphysics
New General Functionality
All COMSOL programs running on Windows® now use the native Windows-ROOT
keystore as the default trust store for HTTPS connections. This is convenient when the
Windows keystore contains custom root certificates for an organization (for example,
due to firewalls intercepting encrypted traffic).
MAINTENANCE IMPROVEMENTS
The Model Manager now supports computing the total disk space usage; clearing
built, computed, and plotted data; and permanently deleting models and data files via
multiple selections. You can also collect various subsets of versions you want to
perform such maintenance operations on in the Maintenance window, which now
supports showing versions belonging to multiple items instead of just a single item. A
subset may, for example, be specified as all versions matching the current search in the
Model Manager window. Maintenance operations that automatically target all versions
in the Maintenance window are available from a new contextual Maintenance toolbar.
Search Filters
New filters have been added to the Filters menu in the Open, Select File, Select Model,
and Model Manager windows: The Part filter matches versions containing reusable
geometry parts; the Commit Comment filter matches versions on the optional comment
written when they were saved; the Size filter matches versions on their size in bytes; and
the Computed Data filter matches versions based on the size of their built, computed,
and plotted data.
The Last Modified and Last Modified By filters have been replaced by the equivalent
filters Saved and Saved By. They correspond, respectively, to the instant in time when a
version was saved and the user that saved the version. The former filters are still
supported in the Model Manager search syntax.
Search History
You can reapply previous searches made in a Model Manager database via a new Search
History menu list. Each list entry contains the search term used in the search field as
well as any applied filters.
COMSOL MULTIPHYSICS | 11
General Search Improvements
• You can temporarily disable an added search filter. When disabled, the filter is not
applied when clicking Search.
• When changing to, for example, a search mode in which an already applied filter is
not supported, that filter is automatically disabled. A warning icon is also shown for
the filter.
• You can set the page size used for results in Model Manager via a new Result page
size preference. The default page size is 100 — the same as in earlier versions.
INSERT PARAMETERS
In the Contents section of the Settings window, the new Insert into Model button can
be used to insert parameters into the model opened in the COMSOL Desktop. You
will be asked to either overwrite or rename parameters if there is overlap between the
names of new and existing parameters.
• An entire folder containing file resources can be added via a new Add Folder option.
• The Replace button no longer changes the filename of a replaced file resource, only
its contents.
• A new Preview File button enables you to open a selected file resource with the
default application for its file type.
SECURITY IMPROVEMENTS
A new security preference, Allow access to Model Manager databases, has been added to
the Security page of the COMSOL Multiphysics installer. When the Enforce security
restrictions check box is selected and the Allow access to Model Manager databases check
box is cleared, methods and Java® libraries are disallowed from accessing Model
Manager databases. This includes both reading data from and writing data to a Model
Manager database. The same security preference has also been added to the Preferences
dialog box under Security>Methods and Java Libraries.
GENERAL IMPROVEMENTS
• You can now connect to a nondefault Model Manager database hosted by a Model
Manager server by providing its server database alias via the server address field.
HTTPS by Default
In version 6.2, the Model Manager will always attempt to connect to a Model Manager
server using a secure connection via HTTPS. Only if the connection fails and the
Require secure connection check box is cleared will a nonsecure connection attempt via
HTTP be made.
The terminology used to characterize a model, application, physics, file, fileset, or tag
version has changed from item type to item version type. The corresponding field
expression used in the Model Manager search syntax is now
@itemVersionType:<value> instead of @itemType:<value>. The old terminology
and syntax remain but are now meant to match the type of an item itself and not the
type of a version of an item. The supported values in this case are model, file, and tag.
COMSOL MULTIPHYSICS | 13
New Meaning of Branch Search Option
The Only text and tags option found in the Search list in the Settings window for a
branch has been replaced with Only item fields. The old option meant that no search
data was indexed for versions saved on the branch. This is no longer true — search data
corresponding to basic field settings is always indexed for all versions in the database.
The new option means that the contents of model versions are not indexed. When such
a branch is selected in the Model Manager window, for example, all filter options related
to model contents will be disabled in the Filters menu. Other filter options remain
enabled.
Related Assets
Links to other related assets can be added on the Asset page. Clicking a link opens the
corresponding page for that asset.
GENERAL IMPROVEMENTS
• If an account has been automatically mapped as a member of groups via a login
configuration, those groups are now shown in the External Group Memberships field
on the My Account page.
• Root administrators can assign an alias to a Model Manager server database. This
enables users in COMSOL Multiphysics to connect to that database even if it is not
set as the current default database.
• When running on Linux®, the data directories for a managed SQL database server
can now be placed on a network file system if using NFS mounted in hard mode.
Using a physical disk is still the recommended setup for performance reasons.
• The username associated with authenticated requests now appears in the Model
Manager server access log.
• The key aliases of certificates available in a PKCS#12 keystore, a Windows native
certificate store, or a macOS native keychain can now be selected from a list when
adding a connector.
• If no TLS host configuration for a connector uses the Default option for the Hostname,
the first configuration in the list will be used for all connections for which the
hostname of a connecting client does not match any Custom hostname — effectively
changing it to use the Default option.
• A Model Manager server now uses a temporary resource upload directory within the
resources directory of each of its databases, instead of using the system temporary
directory for all resource uploads. This reduces the disk space usage in the system
temporary directory when, for example, saving large models to a server database.
COMSOL MULTIPHYSICS | 15
COMPATIBILITY BETWEEN VERSIONS
File Types
You can create a new type of declaration, File Type, from: the More Declarations menu
in the ribbon, the Declarations node’s context menu, or the settings of File Import form
objects. Such file types are available to use in File Import or as arguments to methods
that open file browsers.
Timer Feature
A new Timer feature is available from the Events context menu. You can use it to
regularly run an arbitrary command sequence without user interaction. The Timer
feature makes it possible for apps to automatically respond to state changes outside of
the model object.
It was already possible to zoom in the Method Editor, but the user interface has now
been changed so that it is similar to that of the Form Editor. A preference for the zoom
level has been added, and it is now synchronized between method editors.
• You can now write method code to show plots from models other than the app’s
model. Use loadModel to load the other model. Then, you can use the method
useGraphics to show a plot group from the loaded model. For example:
Model m = loadModel(...);
useGraphics(m.result("pg1"), "/form1/graphics1");
COMSOL MULTIPHYSICS | 17
Note that only plot groups from other models are supported by useGraphics. It is
not possible to plot the geometry, mesh, or other entities.
The toolbar for these plots does not have all of the buttons that appear for plots
from the app’s model. This is because these actions are not supported in this case.
• There is a new utility method, formattedDateTime, to convert a time given in
milliseconds since the epoch to a readable date and time string:
String dateString = formattedDateTime(long epochInMs);
You can also activate gamma correction for more realistic lighting, especially when
shadow effects are used (ambient occlusion or direct shadows). Select the Gamma
You can also switch floor shadows and gamma correction on and off from the Scene
Light menu in the Graphics toolbar.
MARK-OF-THE-WEB SECURITY
Security has been improved when opening models and apps downloaded from the
internet. On the Security>Internet page in the Preferences dialog box, you can choose
to use a restrictive security policy (“Mark of the Web”) for these files. You can add
trusted sites for which this policy will then not apply. If a model or app that originates
from an untrusted site is opened in the COMSOL Desktop®, a banner appears,
notifying you that the security preferences have been temporarily restricted. To restore
the normal values and close the banner, you can click the Remove Restrictions button
in the banner or on the Security pages in the Preferences dialog box. This functionality
is not available on Linux®.
COMSOL MULTIPHYSICS | 19
MULTISELECTION IN THE QUICK ACCESS TOOLBAR
When choosing which buttons to show in the Quick Access Toolbar, it is now possible
to select multiple actions in the lists under More Commands in the toolbar menu or in
the Preferences dialog box. All selected actions can then be added, removed, or moved
at once.
ADD-IN IMPROVEMENTS
The Add-in Libraries window includes a new Add Add-in button. It opens a file browser
dialog box where you can select an add-in that you want to add to the default User Add-
in Library. There is also a new predefined add-in library for user-defined add-ins,
located in .comsol/6.2/addins. When you use the Add Add-in button to add an add-
in, the MPH file will be copied into .comsol/6.2/addins and show up in the tree
under a User-Defined Library node.
You can add this functionality in the Preferences dialog box under
Preferences>User Interface>Log and Messages using the Store in file check box. You can
also specify retention time for old solver log files. In the Log window, you can then click
the Store in File button to store the log in a file. You can also click the Open Log File
button to open the log file on your computer in, for example, Notepad.
®
FASTER SAVING ON WINDOWS
The writing of MPH files on Window®s, especially when saving to network drives, is
now faster.
COMSOL MULTIPHYSICS | 21
New Geometry and Mesh Functionality
GENERAL FUNCTIONALITY
• The geometry and mesh file type descriptions All 2D Importable Files and All 3D
Importable Files used in earlier versions of COMSOL Multiphysics have been
replaced with descriptions that additionally distinguish between mesh and geometry
files types: All 2D Importable Geometry Files, All 2D Importable Mesh Files, All 3D
Importable Geometry Files, and All 3D Importable Mesh Files.
• There is now a Selection List button on the Geometry, Mesh, and Definitions ribbon
tabs that opens the Selection List window.
GEOMETRY FUNCTIONALITY
• Use the new Distance Measurement and Centroid Measurement features to create
parameters for the distance between entities or parameters for the centroid of
selected vertices, respectively. The parameters can be used in downstream geometry
construction and in physics. For a 2D geometry with constraints and dimensions
enabled, it is better to use the Distance dimension feature instead of the Distance
Measurement feature.
• The Sweep operation has been improved with better control of the twisting of a cross
section by specifying a direction vector to follow. This makes it easy to create a
tunnel where the floor has a slope only in the sweep direction, for example. You can
now sweep points and edges, and it is possible to align the sweep to an existing
object at the end of the spine curve. In the user interface, the Settings window has
been reorganized for better usability, and the sweep direction is determined
automatically by default.
• Exact geometric edges are now used, which is important in physics interfaces that
require high accuracy in the normal, such as the Ray Optics interface. Previously, the
edges were approximated when meshing, giving an approximation error that could
not be decreased by refining the mesh.
• 3D Boolean operations are faster in COMSOL Multiphysics version 6.2, and the
operations find intersections between faces that are tangent to each other at one of
the endpoints of the intersection edge, for example, when intersecting two
cylindrical faces.
• There is now an option to hide the visualization of the local coordinate system of a
work plane.
• Add a Logical Expression Selection feature in the geometry sequence to use a logical
expression to combine other selections. For example, the expression (sel1 ||
For a geometry part that is already loaded under Global Definitions>Geometry Parts,
there is a new Browse From option using the Browse button under the filename. This
new option makes it possible to browse for another geometry part using the same
fullscreen Select Model window used for the Load Part From option.
For a geometry part loaded from a database, using either the new Load Part From or
Browse From options, the field that refers to the filename now refers to the loaded part
via an icon and the label of the database from which the geometry part was loaded.
Geometry parts that are referenced by the model object now show up in the Auxiliary
Data window. For a geometry part that is loaded under Global Definitions>Geometry
Parts (including those loaded from database), the Auxiliary Data window now shows a
corresponding entry supporting the same types of actions as it does for other types of
input files.
COMSOL MULTIPHYSICS | 23
When you create a geometry part in version 6.2, it contains a Local Parameters node.
Use this node to specify parameters that are used within the part but should not be
specified by users of the part.
MESHING FUNCTIONALITY
• In 3D, a new option has been added to the Free Triangular operation: Resolve narrow
domain regions. When it is activated, the Free Triangular operation creates the same
mesh on selected faces as it would if the Free Tetrahedral operation were run on
adjacent domains. This option is useful in sequences that define their own geometric
model, where face mesh is edited before domain mesh is created.
• For the Swept operation, support for more general topology of linking faces has
been added. For example, a linking face can now have a rectangular imprint in the
middle of the face. This new functionality works as long as edges are either
sufficiently tangent to or perpendicular to the local sweep direction.
• The Identical Mesh attribute lets you specify pairs of groups of faces or edges where
you need identical mesh, for example, for periodic boundaries. It is supported for
the Free Tetrahedral, Boundary Layers, Free Triangular, Free Quad, Edge, Remesh Faces,
and Remesh Edges operations.
• It is now possible to specify how the source mesh of a Copy operation is transferred
to the destination by adding an Edge Map, Two-Point Map, or One-Point Map attribute
node. This functionality provides more control when copying mesh between
geometries.
• The Boundary Layers operation has been significantly improved and now allows
faster generation of thicker high-quality boundary layer meshes.
• Use the new Corner Properties attribute to gain full control of the corner handling
in selected corners for your boundary layer mesh.
• The Boundary Layer Properties option Adjust layer directions has been removed and
has been replaced by the Method option on the Boundary Layers node. It is no longer
possible to control this option for individual boundaries.
• The Distribution attribute now has an Equidistant option when generating a fixed
number of elements. With this option selected, the resulting mesh will have equally
sized elements along edges (in 3D) or boundaries (in 2D).
• The Adjust Edge Mesh functionality in the mapped mesher has been improved to
avoid small edge elements and to reduce skewness by moving points (if possible)
along edges in the same edge group.
COMSOL MULTIPHYSICS | 25
USER-DEFINED NAME FOR GLOBAL EQUATIONS
There is a new Name field under the Label field in the settings for the Global Equations
nodes. The text in the Name field must be a valid variable name, and it is used to set
the field name attribute. This name is used as an identifier for the corresponding solver
feature under Dependent Variables. This means that you can now set a deterministic
name (identifier) than can also be more descriptive than the old default (ODE1, ODE2,
and so on).
COMSOL MULTIPHYSICS | 27
NEW PARAMETER OPERATORS
There is a new set of parameter operators that makes it possible to easily perform
simple pointwise operations over a set of solutions corresponding to different
parameter values:
In these function calls, p is the name of the parameter. p1 and p2 must be real scalars.
PATCHEVAL OPERATOR
The new patcheval(expr, exorder) operator provides a continuously smoothed
version of the expression expr as follows: For each mesh vertex, a patch of surrounding
mesh elements is formed, and a polynomial of degree exorder is fitted to the values
of expr in a set of sampling points in these elements. The value of patcheval at a
given evaluation point is a weighted average of the values given by the polynomials
corresponding to the vertices of the containing mesh element.
These change may have implications for existing models and API code, in particular if
you have compensated for undefined dimensions by explicitly introducing unit syntax
in definitions as well as results and visualization.
COMSOL MULTIPHYSICS | 29
TOLERANCES FOR COMPATIBLE MESHES
For identity pairs and periodic boundary conditions, if you have selected On or Require
compatible meshes from the Elementwise mapping for compatible meshes list, a Tolerance
for compatible meshes field now appears, where you can specify the relative tolerance
compared to the mesh element size for when mesh elements are to be considered as
compatible. (Default: 0.001.)
PERFORMANCE IMPROVEMENTS
• More accurate time derivatives have been implemented for the backward differential
formula (BDF) solver. This change leads to more efficient time stepping for some
models.
• The ArmPL (Arm Performance Libraries) have been updated, providing improved
performance on the glnxarm64 platform, especially with a direct solver running
with multiple CPU cores.
• The ArmPL is now available as an option on Apple silicon (using -blas armpl).
ArmPL provides better performance than the default option but can sometimes be
less stable.
COMSOL MULTIPHYSICS | 31
direct and iterative solvers (such as Stationary Solver and Time-Dependent Solver
nodes).
• The eigenvalue type of study steps and solvers have a number of improvements:
- The All (filled matrix) method in the ARPACK solver in earlier versions of COMSOL
Multiphysics has been replaced with the LAPACK (filled matrix) solver.
- When you choose the FEAST solver, there is a new Stochastic Estimation button in
the Study Settings section header, which you can use to estimate the number of
eigenvalues within a defined ellipse or half ellipse, without actually computing the
eigenvalues.
• Adaptive tolerance in the linear solver is now available for the fully coupled and
segregated solvers. Based on an estimate of the global convergence, the algorithm
tries to find an optimal tolerance for the linear solver. Three different convergence
estimators are available from the Method list: Full error estimate, Partial error
estimate, and Nonlinear residual. Using an adaptive tolerance avoids expensive
oversolving of the linear system when still far away from global convergence. This
functionality is only available for the Constant (Newton) nonlinear methods.
• Also, for domain decomposition solvers, there is a new Only visualize the domains
option, which can be used for visualization of the domains during results processing
and visualization (instead of the computed solution).
• New heuristics for adaptive tolerance have been added to the time-dependent
solvers for the minimal Jacobian update of the constant Newton method. The new
heuristics is turned on by default when the Use linear heuristics for adaptive tolerance
check box is cleared. The new heuristics use a stricter tolerance at each Newton
iteration step when the Jacobian is not updated. Therefore, more nonlinear
iterations might be required in each time step, and more Jacobian updates might be
needed. When the Use linear heuristics for adaptive tolerance check box is selected,
the minimal Jacobian update behaves as in earlier versions of COMSOL
Multiphysics.
• The Modal Solver and Modal Reduction solver now support using left eigenvectors.
This method is preferable when you perform model reduction for nonsymmetric
problems.
• The Spread setting in the Parameter list type list in the Frequency Domain, Modal study
step now works as expected. Also, to make the spread parameter list type more
useful, you can specify a Minimum frequency or Maximum frequency, which limits the
output frequencies to solve for (By default there is no limit). An extra list of
frequencies can also be supplied in a new Additional frequencies field. They will be
COMSOL MULTIPHYSICS | 33
• In the settings for the Advanced node, you can now choose Keep while expression is
constant from a new Method list under Reuse sparsity pattern. If you know a global
expression for which the sparsity pattern needs to be recomputed when it is changed
(for instance, t in a time-dependent problem), you can switch to Keep while
expression is constant. Using this method, the pattern will be recomputed when the
expression has changed value by more than 1012. Reusing the sparsity pattern this
way can improve the solver performance.
• In the settings for the Advanced node, the new Optimize element data initialization
check box is selected by default. Some elements (components of the discretization
of the problem) then attempt to optimize the parallelization of their initialization.
Currently, this default optimization is only implemented for contact problems and
reduced-order modeling. You can turn it off by clearing the Optimize element data
initialization check box.
• There is a new hybrid method for handling of constraints. Like the orthonormal
method, the hybrid method handles constraint blocks in a parallel way. For
constraint blocks whose estimated complexity of using singular value decomposition
(SVD) factorization exceeds the orthonormal block limit, the Gaussian-elimination-
based sparse method will be used, while other blocks are treated by SVD
factorization. To use the new hybrid method, select Hybrid from the Null-space
function list in the Advanced node. In addition, the Orthonormal block limit setting is
now shared by the Automatic and Hybrid methods, and you can adjust its value using
a slider.
• In the Advanced node, there are now improved ways to control the frequency of
reading from and writing to recovery files. Using the Recovery saving list, you can
choose to save on every iteration or use a saving ratio. You can also use a manual
setting Force save of recovery to force the recovery file to save at a specified interval.
The settings are also available as preference settings on the Files>Recovery page, and
the default is to use the settings from the preferences.
• You can now choose a static distribution of assembly blocks by selecting the new Use
static distribution of assembly blocks check box in the Assembly Settings section of the
settings for the Advanced node.
• The parameter step size for continuation, CMPpcontstep, and the step size for time
stepping, timestep, are now available as results processing variables. For
continuation, the step size is also written to the Log window.
COMSOL MULTIPHYSICS | 35
• You can now import data into results tables using a new Import From option on the
Import menu in the Data section of the Settings window for Table nodes. Choosing
the Import From option opens a fullscreen Select File window, where you can select
a file from many sources, such as recent files, the current model, local and remote
databases, or by browsing the file system.
• You can now hide the local coordinate system axes of a work plane by clearing the
Show in graphics check box in the Local Coordinate System section of the settings for
Work Plane nodes.
• For rendering of materials using built-in material types, the following types are new:
Glass (Tinted), Aluminum (Matte), Aluminum (Polished), Sand, Titanium (Brushed), and
PCB. The PCB (Green) and PCB (Brown) material types from previous versions of
COMSOL Multiphysics have been removed.
• The LaTeX parser now supports the \makebox command for creating a box just
wide enough to contain the specified text.
• DirectX® is no longer available as a rendering option on Windows® computers.
COMSOL MULTIPHYSICS | 37
• It is now possible to restrict Table Graph plots to a subset of the x- and y-axis data
using range settings.
• You can now control the maximum width of the graph legend in 1D plot groups.
• It is now possible to add Filter subnodes to Table Graph plot nodes, with which you
can exclude points from the plot using logical expressions.
• For animations of 1D graph plot groups where you have a time-dependent,
parametric, or eigenvalue solution, you can now use the Cumulative list to control
whether the animation should use the last time or parametric tuple or a cumulative
list of such tuples.
• You can now include the plot’s label in graph plot legends.
• For graph plots that include a color expression, it is now possible to use number
format settings.
• Pellets plots now support a varying radius in the pellets plot to model shrinking core
phenomena.
• For Impulse Response, Line Segments, and Polarization plots, you can now choose to
include or omit the description of the solution from the automatic legend.
• For Table Graph and Sobol Index plots, there is now an option for whether the
column headers should be included in graph legends.
• When applicable, the Solution at angle (phase) setting is now available in Plot Group
nodes, not just in Solution datasets.
• Octave Band plots are now also available with a license for the Structural Mechanics
Module or MEMS Module.
• A new nonlogarithmic option is available in the Octave Band plots. There is also a
new Domain list with the options Frequency and Time, which means that Octave Band
plots now also support time-domain expressions.
• Graph Marker plots now include the possibility to export the bandwidth, Q-factor,
and damping ratio into a table.
• You can now use Parameterized Surface and Embed 2D datasets in Streamline Surface
plots. For such plots, you can now also choose On selected edges to uniformly place
seed points.
model.component(<tag>).measure().MeasurementMethod;
model.component(<ctag>).geom(<tag>).measure().MeasurementMethod;
model.component(<ctag>).mesh(<tag>).measure().MeasurementMethod;
DatasetFeature.createPlot();
model().ode(<tag>).create(<tag>, <fname>)
COMSOL MULTIPHYSICS | 39
model().ode(<tag>).field(<fname>)
model().ode(<tag>).field()
COMSOL Multiphysics version 6.2 can run Java® files saved from COMSOL
Multiphysics versions 4.0–6.1. However, the Java® files may need to be modified in
accordance with information in this document and may need to be recompiled with
the comsol compile command in version 6.2.
In the Video and Web Page form objects, there is now a Native browser on Windows
option in the settings to determine if the Internet Explorer®-based .NET WebBrowser
component from earlier versions should be used instead. The default value for the
native browser is Chromium™ (CEF) but all existing models have the setting set to
Internet Explorer® by default to maintain the functionality from earlier versions. Use
the launcher flag cs.legacywebbrowser=true as a way to keep the previous browser
component instead of CefSharp.
The CefSharp browser component stores user data such as cookies, browser history,
and local storage in a folder. This cscefcache folder is placed among the temporary
files of the client and persist between COMSOL and browser sessions. You can delete
the cscefcache folder to clear this data. The CEF log output is written to
Users\[user]\.comsol\6.2\logs\cef.log. The log level can be controlled using
the cs.cefloglevel launcher argument, which accepts the values info, warning,
error, and fatal.
TIME-EXPLICIT SOLVER
The Time-Dependent Solver node settings now includes the time-explicit methods from
the Time-Explicit Solver node that was available in the Model Builder in earlier versions.
The Time-Explicit Solver node is still available in models created in earlier version of
COMSOL Multiphysics. It is also available in the COMSOL API.
COMSOL MULTIPHYSICS | 41
MODEL REDUCTION STUDY STEP
The Study step for eigenmodes and Study step for constraint modes settings in version
6.1 correspond to Defined by study step in previous versions because it is not possible
to use one study step for two different solution types.
For more information about the API compatibility, see COMSOL 6.1 API Changes.
PAIR FEATURES
The new framework for pair features can affect old models, although the goal is that
the effect is as small as possible. When opening an old model in the Model Builder, pair
features are migrated using the following main steps:
1 Add a default pair feature with the Disconnect pair check box selected to ensure that
the default pair feature does not contribute any new constraints or equations to the
model.
2 Move all fallback features that were located under the pair features in 5.6 to the level
below the physics interface. The selection of these moved features will typically get
the same active selection as the pair feature they belonged to in 5.6. Because those
moved features now have an overlapping selection with that pair feature, they will
act as an equivalent fallback feature to the pair feature.
3 Optimize all moved fallback features by merging exact duplicates into one feature,
including existing features such as the default features. In many situations, the result
will be that only the default feature of the physics will remain because most fallback
features under pair features in 5.6 were identical to the default feature of the physics
interface.
Potential Issues
If the optimization in Step 3 above cannot merge all features, some moved fallback
features will remain and be placed before their pair feature. Normally, a pair feature in
5.6 overrode all features before it, so if the moved fallback also overrides these features,
the selections should not change for them. However, there can be configurations
where the selection may change because of special schemes for overriding and
contributing between features. One example is shell interfaces that have pair features
on the same level as the physics interface. The pair feature can then contribute with a
feature that the moved feature will override. Such cases are difficult to detect during
migration and can create a discrepancy in some selections between the versions.
COMSOL MULTIPHYSICS | 43
PHYSICS AND VARIABLES SELECTIONS
The Discretization column is removed from the table to the more advanced tree option,
which is shown when the Modify model configuration for study step check box is
selected.
The time-periodic approach assumes temporal periodicity, but not necessarily single
harmonic excitation (as is the case for a frequency-domain analysis): Any excitation can
be used, including static excitation (permanent magnets) and pulse or wave forms
containing many harmonics at once. Nonlinear material models are supported in the
exact sense — as opposed to effective or cycle-averaged for a frequency-domain
analysis. Unlike the time-dependent solver, the time-periodic approach solves for all
time frames at once. This is a particularly powerful method for cases where the entire
period needs to be solved many times, for instance, because the period is contained in
a Parametric Sweep or an Optimization solver.
Another common use case is a magnetic machine model that needs to run many cycles
to reach nominal operating conditions: An ordinary time-dependent solver would
need to resolve the entire transient, while the time-periodic approach solves for the
steady-state conditions directly.
This multiphysics interface requires a license for the Structural Mechanics Module.
AC/DC MODULE | 45
NEW MULTIPHYSICS COUPLING AND NEW MULTIPHYSICS INTERFACE:
MAGNETIC–RIGID BODY INTERACTION IN ROTATING MACHINERY
A new multiphysics interface and a new multiphysics coupling for modeling electric
motors and generators has been added. This multiphysics interface, Magnetic–Rigid
Body Interaction in Rotating Machinery, combines a Multibody Dynamics interface
with a Rotating Machinery, Magnetic interface through the new Magnetic Forces,
Rotating Machinery multiphysics coupling. This functionality can be used to compute
how deformations and stress originating from air gap forces are distributed in both the
stator and rotor of an electric motor. Some common applications are magnetic
bearings and machines with unbalanced rotors.
This multiphysics interface requires a license for the Multibody Dynamics Module.
The new Magnetomechanics multiphysics coupling requires a license for the MEMS
Module, the Structural Mechanics Module, or the Acoustics Module.
The Ampère’s Law in Fluids feature comes with a set of material models that is suitable
for liquids (including, for example, the relative permittivity and permeability), while
the Ampère’s Law in Solids feature supports Jiles–Atherton hysteresis and remanent flux
density, for example. Together, the two new features cover the same range as the
original Ampère’s Law feature. Furthermore, the features allow for a more intuitive
setup of multiphysics couplings, with the Ampère’s Law in Fluids feature allowing for
couplings with magnetohydrodynamics or plasma physics, for example, and the
Ampère’s Law in Solids feature allowing for magnetomechanical couplings.
The Free Space feature comes with a built-in Stabilization option, improving numerical
stability. The stabilization adds an artificial conductivity term to limit the contrast
between the free space domains and the conductors typically included in the model.
This conductivity term can be deduced automatically by choosing a skin depth that is
an order of magnitude larger than the modeled device at its typical operating frequency
AC/DC MODULE | 47
— a conductivity that results in such a large skin depth is assumed to have little or no
impact on the result quality while still improving solver reliability and speed. A User
defined option is available, too, for manual tuning of the stabilization.
Note: Replacing the Magnetic Fields default feature has an impact on backward
compatibility. Any model method, Java® code, and MATLAB® code that has been
saved using previous COMSOL versions may need to be revised in order to function
properly.
Note: At higher frequencies, the total net AC resistance will depend on both skin and
proximity effects within the (litz) coil and the inductive coupling between the coil and
its environment.
Note that this feature only applies a constraint; it does not introduce (or require) a
reduced field formulation.
Note that this material model requires a license for the AC/DC Module or the MEMS
Module.
In addition to a license for the Structural Mechanics Module, this feature requires a
license for either the AC/DC Module or the MEMS Module. If you have a license for
the Composite Materials Module, the material model can be used in multilayered
shells, and the individual layers can have different material properties.
AC/DC MODULE | 49
NEW PHASE SECTION IN PLOT GROUP SETTINGS
When creating plots for frequency-domain simulations, it is now possible to specify the
Solution at angle (phase) directly in the plot group settings. Previously, this setting
could only be specified on the datasets. Now, the same dataset can be used for different
plot groups, displaying results for different phase settings.
The model demonstrates how to couple the Magnetic Machinery, Rotating, Time
Periodic interface with solid mechanics and acoustics to produce a Campbell diagram.
The results provide insight into which of the magnetic force harmonics creates the
most prominent motor noise at various speeds. This insight also correlates this with the
natural frequencies of the motor structure.
This model demonstrates the coupling between the Solid Mechanics and Rotating
Machinery, Magnetic interfaces that is used to perform electromagnetic and
mechanical analysis of an IPM motor. A motor with 10 rotor poles and 12 stator slots
is modeled in 2D. The magnets are embedded in a V-shaped configuration inside the
rotor core. The connection between the magnets and the rotor core is modeled as
springs. The results provide insight into magnetic flux density and stress distribution
in the system.
AC/DC MODULE | 51
electromagnetic phenomena and the fluid flow are fully coupled through the Lorentz
force and the electromotive force. The example demonstrates the modeling of an
MHD flow in the duct of a liquid metal blanket, coupled with the heat transfer.
The series investigates four different background magnetic field regimes consisting of
a static background magnetic field and three time-varying fields at 60 Hz, 20 kHz, and
13.56 MHz. Each of these regimes shows unique behavior, has unique underlying
assumptions, and utilizes different modeling techniques.
• The Ampère’s Law feature in the Magnetic Fields interface has been deprecated and
replaced with Ampère’s Law in Solids and Ampère’s Law in Fluids features.
• The Magnetic Forces, Lorentz Coupling, and Magnetomechanical Forces multiphysics
couplings have been deprecated and replaced by a single multiphysics coupling
called Magnetomechanics.
• The Electric Currents, Single Layer Shell interface has been deprecated and replaced
by the Electric Currents in Shells interface.
AC/DC MODULE | 53
Acoustics Module
New Functionality in Version 6.2
In Pressure Acoustics, Transient and Pressure Acoustics, Time Explicit, the Impedance
boundary condition can now be used to model realistic surface properties, such as
those of an absorbing panel or any other surface that has frequency-dependent
absorbing properties. This new functionality is essential for realistic full-wave room-
acoustic simulations and more.
The Partial Fractional Fit function (available with the COMSOL Multiphysics base
package) transforms frequency-domain data into a form that is suitable for the time-
domain analysis. The function performs a rational approximation of frequency-domain
responses. This makes it possible to compute its inverse Fourier transform analytically
and thus obtain the time-domain impulse-response function. The fitting algorithm can
be used for any data, but it is particularly important and useful for surface-impedance
data in acoustic simulations.
ACOUSTICS MODULE | 55
the fluid–fluid interface. The feature is important when modeling small curved
interfaces between two different immiscible fluids, like microbubbles or microdrops.
ACOUSTICS MODULE | 57
Updates to the Octave Band Plot
The Octave Band Plot can now be used to analyze results based on transient simulations.
The transient data is transformed to the frequency domain before being analyzed. The
Octave Band plot now also has a General (non-dB) input type that can be used to analyze
absorption data in acoustics or vibration velocity data in structural-vibrations models.
• The evaluation of the BEM kernel for complex-valued wave numbers (models with
damping) has been optimized. As an example, the evaluation of the Radiation
Pattern in the Submarine Target Strength model in the Application Library is now
25% faster. The speedup depends on the model size.
• Load balancing for BEM models run on clusters has been significantly improved. As
an example, solving the Submarine Target Strength model at 6 kHz on six nodes on
a cluster is now 7.5 times faster in COMSOL 6.2 when compared with the previous
version, now solving in 55 min instead of 7 h 30 min. The peak memory and
memory balancing has also been greatly improved. This is a substantial speedup for
solving large acoustic problems (the specific speedup is problem- and hardware-
dependent).
• An improved solver is now available for solving models using the stabilized BEM
method in noncluster configurations (on a regular workstation). As an example, the
Submarine Target Strength model now solves in 16 min as compared to 25 min in
the previous version. The actual speedup is problem- and hardware-dependent.
• There is now an option for improved thin gap integration handling.
ACOUSTICS MODULE | 59
New and Updated Model Examples in 6.2
NEW MODELS
The following models are new in version 6.2:
UPDATED MODELS
The following models have been updated in version 6.2:
This line should be added directly after the line where the physics interface is
created.
• In the Prescribed Displacement feature in the Poroelastic Waves interface, notice that
the General notation option has been removed.
• The Poroelastic Waves interface has been updated to improve the overview of the
features and their functionality. A new feature, Impervious Layer, the homogeneous
ACOUSTICS MODULE | 61
Neumann condition for the pressure, is now added by default. This feature
corresponds to a sound hard wall or a no-flow condition.
The following backward compatibility issues can be seen in certain, less common
models:
- The override rules have been improved for the Porous, Free and Septum Boundary
Load boundary conditions, which only appear if you open a model created in an
earlier version of COMSOL Multiphysics. The Porous Free node has been
renamed Free, Sound Soft.
- Most predefined pair conditions have been removed from the Poroelastic Waves
interface. Add the corresponding nonpair boundary conditions instead if needed.
- The Symmetry condition is now only available on exterior boundaries. To get a
roller condition for the porous matrix, add the Roller condition.
- The symmetry settings have been removed from the Roller condition. Use a
Symmetry condition instead.
Then, set the selection to the boundaries where the Porous, free condition should
be active, for example, for boundaries 1 and 2:
model.component("comp1").physics("pelw").feature("pfree").
selection().set(new int[]{1, 2});
- The default material model in the Poroelastic Waves interface has changed. To
retrieve the old behavior, add the following line when the interface has been
created and replace all references to "pelm1" by "pelm_def":
model.component("comp1").physics("pelw").
create("pelm_def", "PoroelasticWavesMaterial", 3);
GENERAL
• The Electrode domain node has been renamed Current Conductor in the current
distribution interfaces.
• Contact resistance can now be included in the Electric Ground, Electric Potential,
Electrode Current, and Electrode Power external boundary condition nodes in the
Electrochemistry interfaces.
• An issue related to linearizing concentration dependence for the Lumped Multistep
kinetics type in the Tertiary Current Distribution interface has been fixed.
• The Knudsen diffusion check box in the interface top node in the Transport of
Concentrated Species interface has been renamed Include pore-wall interaction and
moved to the Fluid subnode (under the porous-media nodes). Pore-wall interaction
is now also supported for the Maxwell–Stefan Diffusion model. In addition, the
Kinetic gas theory option has been renamed Knudsen diffusivity.
• A Contributing Velocity node can now be added to the Porous Medium node in
Darcy’s law. This node is typically used together with pore-wall interactions to add
the wall (diffusion slip) velocity stemming from the wall interactions to the Darcy
fluid velocity. The wall velocity variable is only available when using the Maxwell–
Stefan diffusion model in the Transport of Concentrated Species interface.
• The Transport of Concentrated Species interface now supports anisotropic
Tortuosity in porous media. The new functionality allows for specifying different in-
plane and through-plane effective gas diffusivities.
• To model diffusion in solid phase materials, a new Solid feature has been introduced
in the Transport of Diluted Species interface. The new feature supports anisotropic
diffusion as well as translation and deformation of the solid domain.
• The new Free and Porous Media, Darcy multiphysics interface is now available from
the Model Wizard. The interface combines the Darcy’s Law and Laminar Flow
interfaces and is used to compute fluid velocity and pressure fields of single-phase
flow in models including both free flow and porous media.
• The Free and Porous Media interface has been renamed and is now available under
the name Free and Porous Media, Brinkman.
CHEMISTRY INTERFACE
• An issue related to converting concentrations to partial pressures has been fixed.
• An issue was fixed in the Electrode Reaction node. The issue resulted in the local
current density variable not being properly defined if a user-defined equilibrium
potential was combined with, for example, Butler–Volmer.
Reaction formulas entered in a Reaction feature are now automatically updated in the
following manner:
• When the same species occurs several times in a formula, all contributions on the
left-hand side and the right-hand side are separately summed.
• When the type of a species is changed to a surface species, the phase indication (ads)
is added after the species name in all reactions in which it participates. When
changing it to another type, the phase indication is removed.
• To make the formula easier to read, a space is added around all participating species.
• The CAD file import and export functionality included with these products has
been extended to support new versions for some of the supported file formats (for
details, see under Read from File, CAD on
www.comsol.com/products/specifications/cad/).
• The Import node for 3D STEP files now includes the setting Import body names
with the options Automatic, On and Off to control whether the body names are
included in the object names after the import. With the Automatic option the body
names are only included in the names of objects imported from multibody parts.
• The settings for the Cap Faces feature now include the option Group adjacent edges
that will automatically select all edges in a loop when clicking on an edge.
• The CAD file import functionality now also supports the import of
SOLIDWORKS® files on a supported Linux® operating system with an Intel® 64-
bit processor.
• When using the CAD kernel, the automatic tolerance setting for the Form Assembly
operation has been adjusted to a relative tolerance of 1e-5 that yields better pair
detection for small overlaps.
CAD IMPORT MODULE, DESIGN MODULE, AND LIVELINK™ PRODUCTS FOR CAD | 67
makes it easier to use the output of Interpolation Curve features as profiles for the
loft.
• A new check box Propagate selections to resulting objects is available with the Loft,
Offset Faces, Thicken, and Transform Faces operations. Clear this check box if you
want that named selection refer only to the input objects when you choose to keep
those.
• The settings for the Offset Faces feature now include a check box Subtract input
objects. Select this check box to, after the faces are offset, subtract the input objects
from the corresponding offset objects.
CAD IMPORT MODULE, DESIGN MODULE, AND LIVELINK™ PRODUCTS FOR CAD | 69
CFD Module
New Functionality in Version 6.2
• The Large Eddy Simulation (LES) and Detached Eddy Simulation (DES) interfaces
are now also available for weakly compressible and compressible flows.
• Turbulent flow interfaces for all RANS models have been added under the High Mach
Number Flow section in the Fluid Flow branch.
• Physics interfaces for Incompressible Potential Flow and Compressible Potential
Flow have been added to the Fluid Flow branch. These interfaces can be used to
model irrotational flows or to get initial values for more complex fluid-flow
simulations.
• A new option, Limit small time steps effect on stabilization time scale, in the
Consistent Stabilization section in the Settings window for the Single-Phase Flow
interfaces, can be used to avoid the loss of pressure stabilization during initialization
and for small time steps. This option is selected by default for the LES and DES
interfaces.
• By default, the LES and DES interfaces get the Maximum step constraint set to
Expression with the Maximum step set to spf.dt_CFL in the Time-Dependent Solver
node when using automatic solver settings.
• The Free and Porous Media Flow interface has been renamed to Free and Porous
Media Flow, Brinkman. Models created with earlier versions containing the Free and
Porous Media Flow interface will keep the old name for the interface.
• The new Free and Porous Media Flow, Darcy predefined multiphysics interface
under the Porous Media and Subsurface Flow section in the Fluid Flow branch couples
a Darcy’s Law interface and a Laminar Flow interface using the new Free and Porous
Media Flow Coupling multiphysics coupling node.
• The new Multiphase Free and Porous Media Flow predefined multiphysics interface
under the Porous Media and Subsurface Flow section in the Fluid Flow branch couples
Laminar Flow, Darcy’s Law, and the new Phase Transport in Free and Porous Media
Flow interfaces.
• The new Thin-Film and Porous Media Flow interface, under the Porous Media and
Subsurface Flow section in the Fluid Flow branch, couples the Thin-Film Flow and
Darcy’s Law interfaces using the Thin-Film and Porous Media Flow multiphysics
coupling node.
CFD MODULE | 71
SELF-LUBRICATING JOURNAL BEARING
This verification example describes how to model the self-lubricating phenomenon of
a liquid lubricant in a journal bearing to which a porous bush has been press fitted and
impregnated with the lubricant.
Similarly, the identifier for the Phase Field, Thin-Film Flow, Shell (pftffs), and Phase
Field, Thin-Film Flow, Edge (pftffs) needs to be manually changed from pftffs to
pftff.
CFD MODULE | 73
Chemical Reaction Engineering
Module
New Functionality in Version 6.2
The Vapor Inflow feature can be used to prescribe vapor inlet conditions injected from
an upstream system involving liquids.
The Laminar Vapor Flow, Concentrated Species multiphysics interface and the
Laminar Vapor Flow, Concentrated Species, Moving Mesh multiphysics interface are
available with a license for the Chemical Reaction Engineering Module. When your
license also included the CFD Module or the Heat Transfer Module, interfaces that
support turbulent flow are also available.
FLUID–FLUID INTERFACE
The Fluid-Fluid Interface feature in the fluid-flow interfaces is now available with a
license for the Chemical Reaction Engineering Module. This feature defines the initial
position of an interface separating two fluid phases and includes equations to track the
evolution of the interface. It can be combined with vapor–liquid interface features to
track the interface motion due to evaporation and condensation.
PARAMETER ESTIMATION
Functionality for performing parameter estimation is now included with a license for
the Chemical Reaction Engineering Module. The Parameter Estimation node and its
Global Least-Squares Objectives subnode can be used to define objectives for parameter
estimation. The Parameter Estimation study node can be used to perform the
estimation.
ANISOTROPIC TORTUOSITY
It is now possible to use an anisotropic tortuosity when modeling mass transport in
porous media with the Transport of Concentrated Species interface. An anisotropic
tortuosity factor can be applied in the Fluid subnode when using any of the Porous
Medium, Porous Catalyst, and Packed Bed features.
A Contributing Velocity subnode can now be added to the Porous Medium node in the
Darcy’s Law interface. This subnode is typically used together with pore-wall
interaction to add the wall (diffusion slip) velocity stemming from the wall interactions
to the Darcy fluid velocity. The wall velocity variable is only available when using the
Maxwell–Stefan diffusion model in the Transport of Concentrated Species interface.
The Free and Porous Media interface is now available under the name Free and Porous
Media, Brinkman.
• When the same species occurs several times in a formula, all contributions on the left
side and the right side are summed, respectively.
• When the type of a species is changed into a surface species, the phase indication
(ads) is added after the species name in all reactions it participates in. If you change
it into another type, the phase indication is removed.
• To make the formula easier to read, a space is added around all participating species.
TURBULENT MIXING
This model has been updated to use the new Periodic values of variables not solved for
option in the time-dependent solver. The fluid-flow field is solved in a time-dependent
analysis until a quasi-steady flow field is developed. When modeling the turbulent
mixing of a trace species, the fluid that flows from the last revolution of the impeller is
sequentially reused by applying the new solver option.
STEFAN DIFFUSION
The new Comparison node, available for line graphs, is used to compute the root-mean
square difference between the computed results and the imported experimental
results.
This feature requires a license for the AC/DC Module or the MEMS Module. If the
license also includes the Composite Materials Module, the material model can be used
in multilayered shells, and the individual layers can have different material properties.
MISCELLANEOUS
• For the Contact feature in the Layered Shell interface, a predefined plot for contact
forces is added. The predefined plot shows contact pressures and friction forces on
the destination boundaries.
• The selection of variables representing the normal vector in various edge level
features in Layered Shell interface is changed to the base selection.
Ten different microstructures represented by unit cells are available. The dimensions
and the properties of the constituent materials are given by the user of the app. The
app calculates the homogenized density, elasticity matrix, coefficient of thermal
expansion, heat capacity, and thermal conductivity.
The computed data can be stored in an MPH file or an XML file that can subsequently
be imported into a COMSOL Multiphysics model.
GENERAL
• The Electrode domain node has been renamed Current Conductor in the current
distribution interfaces.
• Contact resistance can now be included in the Electric Ground, Electric Potential, and
Electrode Current external boundary condition nodes in the Electrochemistry
interfaces.
• An issue related to linearizing concentration dependence for the Lumped Multistep
kinetics type in the Tertiary Current Distribution interface has been fixed.
• To model diffusion in solid phase materials, a new Solid feature has been introduced
in the Transport of Diluted Species interface. The new feature supports anisotropic
diffusion as well as translation and deformation of the solid domain.
• The new Free and Porous Media, Darcy multiphysics interface is now available from
the Model Wizard. The interface combines the Darcy’s Law and the Laminar Flow
interfaces and is used to compute fluid velocity and pressure fields of single-phase
flow in models including both free flow and porous media.
• The Free and Porous Media interface has been renamed and is now available under
the name Free and Porous Media, Brinkman.
CORROSION MODULE | 81
Current Point feature to actively control the electrode potential at the location of the
connection point.
• A new External Short point feature is now available as subnode to an Edge Electrode
for more flexible connection options between various points in a model.
• An issue related to duplicate parameter or variable name errors when using multiple
Connection Point subnodes has been fixed.
• A current contribution sign error for the Floating potential electric potential option
in the Edge Electrode and Sacrificial Edge Anode features has been fixed. (Also fixed in
Update 2 for COMSOL Multiphysics version 6.1.)
CHEMISTRY INTERFACE
• An issue related to converting concentrations to partial pressures has been fixed.
• An issue was fixed in the Electrode Reaction node. The issue resulted in the local
current density variable not being properly defined if a user-defined equilibrium
potential was combined with, for example, Butler–Volmer.
Reaction formulas entered in a Reaction feature are now automatically updated in the
following manner:
• When the same species occurs several times in a formula, all contributions on the
left-hand side and the right-hand side are separately summed.
• When the type of a species is changed to a surface species, the phase indication (ads)
is added after the species name in all reactions in which it participates. When
changing it to another type, the phase indication is removed.
• To make the formula easier to read, a space is added around all participating species.
GENERAL
• The Electrode domain node has been renamed Current Conductor in the current
distribution interfaces.
• Contact Resistance can now be included in the Electric Ground, Electric Potential, and
Electrode Current external boundary condition nodes in the Electrochemistry
interfaces.
• An issue related to linearizing concentration dependence for the Lumped Multistep
kinetics type in the Tertiary Current Distribution interface has been fixed.
• To model diffusion in solid phase materials, a new Solid feature has been introduced
in the Transport of Diluted Species interface. The new feature supports anisotropic
diffusion as well as translation and deformation of the solid domain.
• The new Free and Porous Media, Darcy multiphysics interface is now available from
the Model Wizard. The interface combines the Darcy’s Law and the Laminar Flow
interfaces and is used to compute fluid velocity and pressure fields of single-phase
flow in models including both free flow and porous media.
• The Free and Porous Media interface has been renamed and is now available under
the name Free and Porous Media, Brinkman.
CHEMISTRY INTERFACE
• An issue related to converting concentrations to partial pressures has been fixed.
• An issue was fixed in the Electrode Reaction node. The issue resulted in the local
current density variable not being properly defined if a user-defined equilibrium
potential was combined with, for example, Butler–Volmer.
Reaction formulas entered in a Reaction feature are now automatically updated in the
following manner:
• When the same species occurs several times in a formula, all contributions on the
left-hand side and the right-hand side are separately summed.
ELECTROCHEMISTRY MODULE | 85
Electrodeposition Module
New Functionality in Version 6.2
GENERAL
• The Electrode domain node has been renamed Current Conductor in the current
distribution interfaces.
• Contact Resistance can now be included in the Electric Ground, Electric Potential, and
Electrode Current external boundary condition nodes in the Electrochemistry
interfaces.
• An issue related to linearizing concentration dependence for the Lumped Multistep
kinetics type in the Tertiary Current Distribution interface has been fixed.
• To model diffusion in solid phase materials, a new Solid feature has been introduced
in the Transport of Diluted Species interface. The new feature supports anisotropic
diffusion as well as translation and deformation of the solid domain.
• The new Free and Porous Media, Darcy multiphysics interface is now available from
the Model Wizard. The interface combines the Darcy’s Law and the Laminar Flow
interfaces and is used to compute fluid velocity and pressure fields of single-phase
flow in models including both free flow and porous media.
• The Free and Porous Media interface has been renamed and is now available under
the name Free and Porous Media, Brinkman.
CHEMISTRY INTERFACE
• An issue related to converting concentrations to partial pressures has been fixed.
• An issue was fixed in the Electrode Reaction node. The issue resulted in the local
current density variable not being properly defined if a user-defined equilibrium
potential was combined with, for example, Butler–Volmer.
Reaction formulas entered in a Reaction feature are now automatically updated in the
following manner:
• When the same species occurs several times in a formula, all contributions on the
left-hand side and the right-hand side are separately summed.
ALLOY DEPOSITION
A new Alloy Deposition (alloy_deposition) model has been added.
ELECTRODEPOSITION MODULE | 87
Fatigue Module
New Functionality in Version 6.2
GENERAL
• The Electrode domain node has been renamed Current Conductor in the current
distribution interfaces.
• Contact Resistance can now be included in the Electric Ground, Electric Potential,
Electrode Current, and Electrode Power external boundary condition nodes in the
Electrochemistry interfaces. The nonisothermal_pem_fuel_cell and
pemfc_serpentine_flow_field models have been updated to use the new features.
• An issue related to linearizing concentration dependence for the Lumped Multistep
kinetics type in the Tertiary Current Distribution interface has been fixed.
• The Knudsen diffusion check box in the interface top node in the Transport of
Concentrated Species interface has been renamed Include pore-wall interaction and
moved to the Fluid subnode (under the porous-media features). Pore-wall
interaction is now also supported for the Maxwell–Stefan diffusion model. In
addition, the Kinetic gas theory option has been renamed Knudsen diffusivity.
• A Contributing Velocity node can now be added to the Porous Medium node in
Darcy’s law. This node is typically used together with pore-wall interactions to add
the wall (diffusion slip) velocity stemming from the wall interactions to the Darcy
fluid velocity. The wall velocity variable is only available when using the Maxwell–
Stefan diffusion model in the Transport of Concentrated Species interface.
• The Transport of Concentrated Species interface now supports anisotropic
Tortuosity in porous media. The new functionality allows for specifying different in-
plane and through-plane effective gas diffusivities.
• To model diffusion in solid phase materials, a new Solid feature has been introduced
in the Transport of Diluted Species interface. The new feature supports anisotropic
diffusion as well as translation and deformation of the solid domain.
• The new Free and Porous Media, Darcy multiphysics interface is now available from
the Model Wizard. The interface combines the Darcy’s Law and the Laminar Flow
interfaces and is used to compute fluid velocity and pressure fields of single-phase
flow in models including both free flow and porous media.
• The Free and Porous Media interface has been renamed and is now available under
the name Free and Porous Media, Brinkman.
CHEMISTRY INTERFACE
• An issue related to converting concentrations to partial pressures has been fixed.
• An issue was fixed in the Electrode Reaction node. The issue resulted in the local
current density variable not being properly defined if a user-defined equilibrium
potential was combined with, for example, Butler–Volmer.
Reaction formulas entered in a Reaction feature are now automatically updated in the
following manner
• When the same species occurs several times in a formula, all contributions on the
left-hand side and the right-hand side are separately summed.
• When the type of a species is changed to a surface species, the phase indication (ads)
is added after the species name in all reactions in which it participates. When
changing it to another type, the phase indication is removed.
• To make the formula easier to read a space is added around all participating species.
ENHANCEMENTS TO CONCRETE
• A new Coupled damage-plasticity model is available under the Concrete node.
• The Mazars damage model is available under the Concrete node.
• A new control Failure criterion has been added. You can choose between the Mohr–
Coulomb, Matsuoka–Nakai, and Panteghini–Lagioia criteria.
• A new control named Mobilized dilatancy angle has been added. You can choose
between the expressions Soreide, Rowe, Modified Rowe, Wehnert, Li–Dafalias, Rowe–Li–
Dafalias, and User Defined.
• A new material property Reference stiffness for primary loading has been added.
• The cap of the yield surface is now centered at the tip of the cone of the p-q curve
instead of at the (0,0) coordinate.
• The combination of yield functions has been smoothed.
GEOMECHANICS MODULE | 93
TRIAXIAL TEST WITH THE HARDENING SOIL SMALL STRAIN MATERIAL
MODEL
In this example, monotonic and cyclic triaxial tests are simulated using the Hardening
Soil Small Strain material model. The model captures the effects of small strain stiffness
and hysteresis under cyclic loading. The stress–strain relationship matches the
hyperbolic curve reported in a reference.
This feature greatly simplifies the setup of such models by eliminating the need to
create a separate Lumped Thermal System interface for a thermal resistor or capacitor
between two boundary selections.
For more advanced connection where a Lumped Thermal System interface is needed
between the two boundary selections, only one Thermal Connection feature is now
required instead of two Lumped system connector features.
NONISOTHERMAL FLOW
The High viscous dissipation at wall thermal wall function, available in the Nonisothermal
Flow coupling, has been updated to automatically calculate the critical wall distance.
The critical wall distance, which depends on turbulence parameters, gives the location
of the switch between the linear and logarithmic behaviors in the boundary layer. This
will improve the accuracy of the viscous heat flux calculation by the thermal wall
function with nondefault turbulence parameters.
MISCELLANEOUS IMPROVEMENTS
• In the Radiation in Participating Media and Radiation in Absorbing-Scattering
Media interfaces, the Pair Continuity and Periodic Condition features have been
corrected in 2D axisymmetric geometries to ensure continuity or periodicity,
respectively.
• The model input used in the Surface-to-Surface Radiation, Orbital Thermal Loads,
Radiation in Participating Media, and Radiation in Absorbing-Scattering Media
interfaces has been changed to wavelength instead of length.
• All features of the physics interfaces in the Heat Transfer Module with a Constraint
Settings section available have been harmonized and now follow the same naming as
interfaces in other modules. Notably, Classic constraint has been changed to
• The Nonisothermal Turbulent Flow over a Flat Plate model is now using the SST
turbulence model.
• The Lumped Composite Thermal Barrier model is now using the new Thermal
Connection feature.
• The Parasol, Orbit Calculation, Spacecraft Thermal Analysis, and Orbit
Thermal Loads models are now using the Define properties for all bands option.
• The Condensation Risk in a Wood-Frame Wall model is now using the Around
location option for Ambient Properties.
• The Radiation in a Cavity model is now using the Thermal Insulation, Edge feature.
• The Orbit Calculation, Spacecraft Thermal Analysis, and Orbit Thermal Loads
models are now using the new Orbital Thermal Loads interface with the Events
Timeline feature.
• All models have been updated with the new default plots, and many have been
updated to use the new predefined plots.
LIMITED DISPLACEMENT
For details, see Limited Displacement in the release notes for the Structural Mechanics
Module.
RENAMED FEATURES
Several features have been renamed in order to get a more consistent naming structure.
These are:
CALCULATION OF HARDNESS
Functionality for calculating Vickers hardness (HV), after quenching, has been added.
The hardness calculation is based on the chemical composition of the steel and the rate
of cooling.
PERFORMANCE IMPROVEMENTS
The calculations of TRIP strains and plastic recovery have been improved by local
integration of the underlying ODEs. Memory consumption is reduced, and a
significant speedup typically ensues.
EMBEDDED REINFORCEMENT
Using the Embedded Reinforcement multiphysics coupling, it is possible to embed
elements from a Wire interface into a flexible solid domain to act as reinforcements.
When using a Multibody Dynamics interface with a license for the Structural
Mechanics Module, it is also possible to insert edge elements from the Truss or Beam
interfaces as well as surface elements from the Membrane interface into a domain.
PARAMETER ESTIMATION
New functionality for parameter estimation has been implemented. The addition of a
larger family of solvers, including, for example, the Levenberg–Marquardt and IPOPT
solvers, can greatly improve performance for some parameter estimation studies for
uniaxial, biaxial, or cyclic load cases. Three models have been added to showcase this
new functionality.
• Three new viscoplastic models are introduced: the Bergstrom–Boyce model, the
Bergstrom–Bischoff model, and the Parallel network model. It is also possible to
define User defined viscoplastic models.
• The new framework can handle large viscoplastic strains, and it is based on the
multiplicative decomposition of deformation gradients.
HYPERELASTICITY IMPROVEMENTS
The following improvements have been made to hyperelastic materials:
• It is now possible to define the strain energy density for the Arruda–Boyce model in
terms of the inverse Langevin function.
• Plasticity has been added to Hyperelastic Material, Layered material model in the Shell
interface.
ENHANCEMENTS TO PLASTICITY
• The user interface for the Plasticity node has been updated. The Formulation combo
box has been removed from the Plasticity and Porous Plasticity nodes. The
formulation is now controlled in the parent node.
• Kinematic hardening is also available for large strain plasticity.
• A new predefined plot shows the stress-temperature phase diagram. The plot shows
the austenite to martensite transition, and it is useful for understanding the behavior
of the SMA with respect to changes in material parameters.
• The penalty method for enforcing the upper bound for the transformation strain has
been improved. There is a new setting in the Advanced section for both the Lagoudas
and the Souza–Auricchio models for better control of the penalty constraint in the
pseudoplastic domain.
• The Prager–Lode yield surface is now available for the Souza–Auricchio model. The
new formulation makes possible it to model a situation where the martensite start
stress differs between tension and compression.
• Large strain plasticity is available for the Souza–Auricchio model.
• The material parameters for the phase transformation can now be entered as start
and finish stresses or start and finish temperatures.
IMPROVEMENTS TO FIBER
• Compressible fibers are available in the Holzapfel–Gasser–Ogden hyperelastic
material model.
• Thermal Expansion is available as a subnode under Fiber for hyperelastic materials.
• The Uniaxial data material model for nonlinear stress–strain relations is available for
Fiber under Linear Elastic Material and Nonlinear Elastic Material.
The first parametric study displays the pseudoelasticity effect at different temperatures.
In the second study, a partial loading–unloading cycle is added. The third study shows
the shape memory effect in a low-temperature loading cycle followed by a temperature
increase.
HDPE is used to make liners for damaged pipes in oil and gas applications and to
manufacture hydrogen storage vessels for fuel cells. In these application areas, the
TIRE INFLATION
This example showcases how to use fibers in thin layers to model thin anisotropic
composites embedded in a solid, without explicitly drawing either the layer of material
or the reinforcing fibers. In particular, this is used to model steel cords in tire belts that
are used to provide structural support to the tire below the tread. A curvilinear
coordinate system is used to define the anisotropic material properties of the carcass
ply.
The model also makes use of the “twist” degree of freedom in 2D axisymmetry to
capture the azimuthal displacement induced by the orientation of the cords during
inflation of the tire.
ADDITIONAL IMPROVEMENTS
• Shape optimization was previously limited to symmetry box bounds for the
maximum displacement, but now it is also possible to have a circular or Euclidean
bound or to specify asymmetric bounds on individual components, optionally in a
custom coordinate system.
• The Control Variable Field feature has been extended with a discretization that is
constant over geometric entities, and it is now possible to group these entities when
vertices are shared. The user interface for the boundary conditions of the Control
Function feature has been changed to increase the number of options and improve
New model that solves the heavy species energy conservation equation:
The new model Microwave Cavity Plasma Reactor uses a Frequency-Stationary study
step to parameterize the input power.
This multiphysics interface requires a license for the Structural Mechanics Module.
BIPHASIC POROELASTICITY
A new Biphasic poroelasticity model has been added to the Poroelasticity multiphysics
coupling node. The new option is suitable for modeling the coupling between fluid
flow and deformation in hydrogels and soft biological tissues for which both solid and
fluid constituents can be assumed materially incompressible.
The default Elastic Predeformation node that was added with the Poroelasticity, Large
Deformation, Solid interface has been removed as the default feature.
Fluid flow through macropores and micropores is described by the Richards’ Equation
interface and is solved separately for both systems. This accounts for the heterogeneous
nature of unsaturated porous media flow, where the presence of two distinct and
interconnected systems significantly affects fluid flow.
One system possesses significantly larger pores (macropores), in which the fluid flow
takes place. This system is interconnected with a second system of smaller pores
(micropores).
RENAMED INTERFACE
The Free and Porous Media Flow physics interface has been renamed to Free and
Porous Media Flow, Brinkman. Models created with earlier versions containing the Free
and Porous Media Flow interface will keep the old name.
When opening an old model, these new options will be used. When building a model
using the API, the new default option will also be used. This is true even if, for
example, a Java® file created from an older version is used when the Porous Medium or
Unsaturated Porous Medium nodes uses the Linearized or Poroelastic storage model and
the default gas/liquid fluidType is used. If you want to achieve full backward
compatibility using the API, and you have code such as
model.component("comp1").physics("dl").feature("porous1").set("st
orageModelType", "poroelastic");
model.component("comp1").physics("dl").feature("porous1").feature
("fluid1").set("rho_mat", "userdef");
model.component("comp1").physics("dl").feature("porous1").feature
("fluid1").set("rho", "1000[kg/m^3]");
model.component("comp1").physics("dl").feature("porous1").set("st
orageModelType", "poroelastic");
model.component("comp1").physics("dl").feature("porous1").feature
("fluid1").set("fluidType", "compressibleLinearized");
model.component("comp1").physics("dl").feature("porous1").feature
("fluid1").set("rhoref_mat", "userdef");
model.component("comp1").physics("dl").feature("porous1").feature
("fluid1").set("rhoref", "1000[kg/m^3]");
REFACTORING OF GRAVITY
The user input for Acceleration of gravity in the Gravity Effects section in the Darcy’s
Law, Richards’ Equation, Fracture Flow, and Layered Darcy’s Law interfaces has been
removed. Instead, the variable dl.g for the acceleration of gravity is by default set to
g_const if gravity effects are excluded in the physics interface. If gravity effects are
included, the acceleration of gravity can be edited in the Gravity feature.
BOUSSINESQ APPROXIMATION
Boussinesq approximation for the Nonisothermal Flow multiphysics couplings is now
available. The approximation assumes that density variations are only contributing to
buoyancy effects.
PAPERBOARD ROLL
This example demonstrates how to model moisture transfer and induced swelling in a
paperboard roll subjected to varying ambient conditions. The material properties of
the paperboard are anisotropic.
• Wall, when Wall Condition is set to either Specular reflection, Diffuse scattering,
Isotropic scattering, Mixed diffuse and specular reflection, or General reflection
• Mirror
• Illuminated Surface, when Rays to release is set to Reflected and Reflection coefficient
calculation is set to Using absorption coefficient in the Ray Direction Vector section
MICHELSON INTERFEROMETER
This tutorial model demonstrates how to plot the interference pattern from the
combination of two rays with slightly different optical path lengths. A simple
Michelson interferometer is used to achieve a change of optical path length by slightly
moving one of the mirrors.
RF MODULE | 135
ASSESSMENT OF SPECIFIC ABSORPTION RATE (SAR) FOR 1G AND 10G
MASS
In the Electromagnetic Waves, Frequency Domain interface, when using the Specific
Absorption Rate feature, postcomputation provides the predefined variables SAR1g and
SAR10g, representing SAR values for 1 g and 10 g of mass, respectively. These values
are commonly used in industrial applications to measure radiation exposure levels.
model.component("comp1").physics("emw").feature("port1")
.runCommand("addDiffractionOrders");
where “comp1”, “emw”, and “port1” are the tags for the model component, the
physics interface, and the excited port, respectively, and model is a model object.
RF MODULE | 137
possible to specify functions that depend on spatial coordinates, like g(x), where x is
a spatial coordinate. Material property variables, like mat1.rfi.n11, for example, can
now be used as part of other user-defined material property expressions. Here, mat1 is
the material tag, rfi is a material property group identifier, and n11 is a tensor element
(in this case, a refractive index element).
RF MODULE | 139
LIGHTNING SURGE ANALYSIS OF AN OFFSHORE WIND FARM
This model simulates the effects of a lightning strike on one turbine and its resulting
induced electric fields on adjacent turbines. The simulation aids in understanding the
potential impacts of lightning on interconnected turbines within an offshore wind
farm. Through analysis of these fields, engineers and researchers can gauge potential
overvoltages and transient effects, thereby informing design for protection measures,
wind turbine layout optimization, and continuous farm operation.
• A new predefined bearing type for modeling step thrust bearings has been
implemented in the Hydrodynamic Thrust Bearing feature.
• For a thrust bearing, the equilibrium position can now be determined based on a
force balance between an external load and the resulting force from the pressure
field. This functionality is available by selecting Load under Collar Properties in the
settings for the Hydrodynamic Thrust Bearing node.
• It is now possible to specify a User defined bearing center in all the different bearing
nodes in the Hydrodynamic Bearing interface.
• The finite-element, log formulation with linear shape function significantly reduces
the degree of freedom required for tetrahedral meshes in 3D.
• Unlike the finite volume formulation, the 3D finite element formulation does not
necessitate a swept mesh.
• In general, continuation studies with the finite element formulation are more
efficient compared to the finite volume formulation.
• The finite element formulation demands less stringent initial conditions for current
terminals (metal contact).
DOPING FEATURES
The Analytic Doping Model and Geometric Doping Model features now include preview
buttons for visualizing doping profiles before solving the model equations. Two
preview buttons, Plot Doping Profile for Selected and Plot Net Doping Profile for All are
accessible in both the toolbar and the context menu. Plot Doping Profile for Selected
illustrates the dopant concentration added by the selected doping feature, while Plot
Net Doping Profile for All displays the absolute value of the net dopant concentration.
P-type and n-type regions are easily distinguishable by their red and blue coloring,
respectively.
You can explore this new functionality in tutorial models such as bipolar_transistor,
bipolar_transistor_3d, mosfet, trench_gate_igbt_3d, and
gaas_pn_junction_infrared_led_diode.
OPTICAL TRANSITIONS
An information message will now appear if optical physics are provided by the
Semiconductor Electromagnetic Waves multiphysics coupling. Additionally, a schematic
image has been added to the Equation section within the Semiconductor Electromagnetic
Waves Coupling feature.
DEFAULT PLOTS
A plot group visualizing the net doping profile has been added to the default plots for
the Semiconductor interface. This net doping profile displays the absolute value of the
net dopant concentration.
UPDATED MODELS
Several models have been updated to showcase the advantages of the improved finite
element formulations. These updated models are not only easier to set up but also
demonstrate more efficient solutions. These models include bipolar_transistor,
bipolar_transistor_3d, bipolar_transistor_thermal.
This feature requires a license for the Porous Media Flow Module.
This feature requires a license for the Porous Media Flow module.
In all structural mechanics interfaces, a new feature, Inertia Relief, has been added.
Using this feature, you can automate the setup of a special study sequence that
computes the acceleration field, the corresponding inertia forces, and the resulting
stresses.
COMPUTATION OF WARPAGE
In some applications, it is important to determine to what extent an originally planar
surface deviates from its intended shape after deformation. Using the new Warpage
node, available in the Solid Mechanics, Shell, and Layered Shell interfaces, the
deviation from the original shape of a boundary can be automatically computed.
FLUID-FILLED CAVITIES
A new feature, Enclosed Cavity, has been added to the Solid Mechanics interface. It can
be used to model closed, fluid-filled cavities without the need to mesh the cavity itself.
The pressure in the cavity acts as a load on the structure, and the volume of the cavity
is controlled by the structural deformations. There are several available equations of
state for the contents of the cavity, such as isothermal or adiabatic gas, or
incompressible fluid.
LIMITED DISPLACEMENT
In the Prescribed Displacement node in the Solid Mechanics, Multibody Dynamics,
Shell, Layered Shell, and Membrane interfaces, the Limited Displacement option has
been added. Using this option, it is possible to prescribe a maximum allowed
displacement in a certain direction.
In models created in versions prior to 6.2, Thin Elastic Layer nodes are still functional,
but it is not possible to add such nodes from the UI. You are encouraged to replace
Thin Elastic Layer by Thin Layer in existing models.
This feature requires a license for the Porous Media Flow Module.
• The functionality is now also available in the Shell interface. In this context, fibers
can also be assigned a bending stiffness and a through-thickness location.
• The material model of the fiber can now be a general nonlinear function between
stress and strain.
• The Fiber subnode can now also be added to material models in a Thin Layer.
• The variable that is, by default, plotted for fibers has been changed from second
Piola–Kirchhoff stress to Cauchy stress.
When opening a model created in version 6.1, the conversion is automatic. However,
it is not possible to perform an automatic conversion when models are created using
the API. If this is the case, you may need to modify the script in order to adhere to the
new convention.
• Rigid Connector
• Rigid Domain
• All types of gears in the Multibody Dynamics and Solid Rotor interfaces
In the Mass and Moment of Inertia nodes, there is now a new section named Frame
Acceleration Forces, in which you can select whether or not to include this contribution
using the Exclude contribution check box. When you add a new node, the default is that
the force contribution is included. If, however, you open a model created in version
6.1 or earlier, the Exclude contribution check box is selected. The reason is that in a
The frame acceleration forces can come from any of these features:
• Gravity
• Rotating Frame
• Base Excitation
• Linearly Accelerated Frame
• The possibility to use homogeneous boundary conditions has been added, both for
displacements and for tractions. Using the new Type list, you can now choose
between Periodic and Homogeneous boundary conditions.
• It is now also possible to define a parametric sweep. This is controlled from the
Advanced section.
• In the special study generated from Cell Periodicity, there is now also a solver
suggestion for an iterative solver.
PREDEFINED PLOTS
Several of the multiphysics couplings between different structural mechanics physics
interfaces have options for automatically selecting coupled regions. New predefined
plots indicating the regions that are actually connected have been added.
The predefined stress plot created by an Embedded Reinforcement node has been moved
from the Solid Mechanics branch in the plot tree to the Multiphysics branch.
The variables that are visible in a certain context can be controlled using the Show All
Variables check boxes in the Show More Options dialog box.
The features where this new possibility has been introduced are:
• Rigid Material
• All gears
• All joints
• Rigid Connector
• Attachment
• The default behavior can be controlled from the Advanced Settings section in the
settings for the physics interface.
• The default behavior can, however, be overridden for each individual feature by
using a selection in the Advanced section in the feature itself.
When opening an old model, the grouping will be turned off in order to maintain full
compatibility with the previous version. When building a model using the API, the
new default will be used. This is true even if, for example, a Java® file created from an
older version is used. If you want to achieve full backward compatibility using the API,
you need to add lines similar to
model.component("comp1").physics("solid").prop("AdvancedSettings").
set("GroupPhysOdesRd", false);
In the unlikely situation that the previous behavior was used in an old model, the
boundary conditions that are applied will change if it is solved in version 6.2. You will
have to restructure the constraints or use the Modify model configuration for study step
control in the settings for the study.
RENAMED FEATURES
Several features have been renamed in order to get a more consistent naming structure.
These are:
PART LIBRARIES
The Representative Volume Elements folder has been renamed to Unit Cells and RVEs.
The structure inside this folder has been changed, and a number of new geometries
have been added. These geometries include five different types of corrugated sheets
and a gyroid.
This formulation can be useful when the scatterer is in the far field of the source, such
that the probing wave resembles a plane wave. In this case, including the source would
require an unnecessarily huge computational domain to be meshed. Both P and S
plane waves are thus used as incident fields in the model.
Moreover, the model shows how to numerically compute the field emitted by a point
source, and then use the solution as the known incident field for a subsequent study
where the scattering problem is solved.
A gyroid TPMS-based unit cell is subjected to periodic boundary conditions to get the
homogenized material properties. The effects of negative Poisson's ratio and different
volume fractions on the homogenized properties are analyzed.
• Stress stiffening
• Change in size
• Constraint effects
• Temperature-dependent Young's modulus
Results shows a very good fit to analytical values based on the small changes in
geometry caused by the thermal expansion.
LADDER FRAME
This model illustrates how to perform eigenfrequency and static analyses of a ladder
frame structure for a light truck. The example shows how to convert a solid geometry
to a shell model, implement a distributed load by specifying the corresponding
resultant, and verify a weld junction.
In this example, the coupling between Solid Mechanics and Rotating Machinery,
Magnetic for performing electromagnetic and mechanical analysis of an IPM motor is
demonstrated. A motor with 10 rotor poles and 12 stator slots is modeled in 2D. The
magnets are embedded in a V-shaped configuration inside the rotor core. The
connection between magnets and rotor core is modeled as springs. The results give
insight into magnetic flux density and stress distribution in the system.
One system possesses significantly larger pores (macropores) in which the fluid flow
takes place. This system is interconnected with a second system of smaller pores
(micropores).
RENAMED INTERFACE
The Free and Porous Media Flow physics interface has been renamed to Free and Porous
Media Flow, Brinkman. Models created with earlier versions containing the Free and
Porous Media Flow interface will keep the old name.
When opening an old model, the new implementation will be used. When building a
model using the API, the new default will also be used. This is true even if, for example,
a Java® file created from an older version is used when the Porous Medium or
Unsaturated Porous Medium node uses the Linearized or Poroelastic storage model and
the default gas/liquid fluidType is used. If you want to achieve full backward
compatibility using the API, and you have code such as
model.component("comp1").physics("dl").feature("porous1").set("st
orageModelType", "poroelastic");
model.component("comp1").physics("dl").feature("porous1").feature
("fluid1").set("rho_mat", "userdef");
model.component("comp1").physics("dl").feature("porous1").feature
("fluid1").set("rho", "1000[kg/m^3]");
model.component("comp1").physics("dl").feature("porous1").set("st
orageModelType", "poroelastic");
model.component("comp1").physics("dl").feature("porous1").feature
("fluid1").set("fluidType", "compressibleLinearized");
model.component("comp1").physics("dl").feature("porous1").feature
("fluid1").set("rhoref_mat", "userdef");
REFACTORING OF GRAVITY
The user input for Acceleration of gravity in the Gravity Effects section in the Darcy’s
Law, Richards’ Equation, Fracture Flow, and Layered Darcy’s Law interfaces has been
removed. Instead, the variable dl.g for the acceleration of gravity is by default set to
g_const if gravity effects are excluded in the physics interface. If gravity effects are
included, the acceleration of gravity can be edited in the Gravity feature.
BOUSSINESQ APPROXIMATION
Boussinesq approximation for the Nonisothermal Flow multiphysics couplings is now
available. The approximation assumes that density variations are only contributing to
buoyancy effects.
This example showcases seawater intrusion in a coastal aquifer where a pumping well
is located at some distance from the shoreline. The model incorporates a dual porosity
approach in order to account for the distinctive condition, where a low-conductivity
aquifer intersects with highly conductive “lava tubes”.
model.component("comp1").physics("ewfd").feature("port1").runComman
d("addDiffractionOrders");
where “comp1”, “ewfd”, and “port1” are the tags for the model component, the
physics interface, and the excited port, respectively, and model is a model object.
WAVEGUIDE S-BEND
This model demonstrates how to simulate the propagation of guided waves in a
dielectric S-bend optical waveguide. The model demonstrates that the phase
approximation, required by the Electromagnetic Waves, Beam Envelopes interface, can
be numerically calculated by solving an additional partial differential equation.
• Data has been added for over 600 glasses and over 500 polymers.
• Data has been added for several solders, graphites, and thermoelectric materials.
• Data has been added for several glasses, several PMMAs, Colmonoy, Haynes 6B,
Haynes 6K, Hastelloy HYBRID-BC1, Haynes G-35, Haynes NS-163, Haynes HR-
224, Haynes 233, Haynes HR-235, and Haynes 25.
• Data has been added for several superalloys, magnetic materials, and sealing glasses.
• Data has been added for CMSX-2 Plus, IN-939, and Inconel 718.
• The refractive index versus wavelength and temperature are now available as new
properties.
• New references for H2O and KCl were incorporated, and some of the values
changed by a few percent.
• Added stress–strain curves for Al 6005, Al 6111, Al 7075, 1035 steel, Ti-6Al-4V,
C37700, and 34CrNi3MoV.
• A new reference has been added for H11 tool steel thermal properties.
• The expansion data for several Corning glasses (1415, 1416, 1417, 1990, 7046,
7056, 7070, 7555, 7556, 7567, 7568, 7570, 7572, 7574, 7575, 7576, 7578,
7580, 7583, 7585, 7586, 7589, 7590, 7595, 7597, 7598, 7599, 7723, 7732,
7761, 8161, 8445, 8463, 9010, 9013, 9108, and 9119) were high by a factor of
10. These values have been fixed.
• The -N fatigue data for 314 stainless steel, the UTS/YS data for Mg alloy HM31
F temper, and the thermal diffusivity for the 4 compacted graphitic irons were
incorrect. These values have been fixed.
• The thermal expansion data for Ti-4Al-4Mo-2Sn (IMI550) was incorrect and has
been corrected. The correct values are 5% to 10% lower.
• The creep data for Hytrel 4556 were incorrect. These values have been fixed.
• The thermal conductivity of Inconel HX/Hastelloy X/Nimonic PE13 was too high
by a factor of 100. This value has been fixed.
IMPROVED PLOTTING
When plotting using mphplot, mphgeom, and mphmesh, the plots now show the axes
labels for the x-, y- and z-axes. In addition, the following view setting are used: lighting
and hiding. This leads to plots in MATLAB® that are closer to the plots seen inside of
COMSOL Multiphysics. This behavior could previously be obtained using the view
property when calling these functions, but the behavior is now on by default.
CHANGING PARAMETERS
Changing parameter values and re-solving a model is probably the most used feature
of LiveLink™ for MATLAB®. The mphsetparam function has been added to make it
easier to set such parameters and to pass parameter values between functions. The
setparam function permits setting parameter values (real or complex) using the
numerical types in MATLAB® as well as using strings. Values can be set using cell
arrays, structs, and dictionaries, which all make it easy to transfer parameters from one
function to another all, contained in a single variable name. Parameter groups and
parameter cases are supported.
All functions that were named after the names of color tables (prism, heat, spectrum,
and so on) that have been deprecated for some time have been removed. Use the
mphcolortable function instead to get information and data about color tables that
are distributed with the COMSOL Multiphysics software, stored on disk, or
embedded inside models. The colortable function is deprecated but can still be used.
COLOR TABLES
All functions that have to do with color tables (for example, cividis, cyclic, and
disco) except for colortable have been deprecated. When using the colortable
function, you can use autocompletion to get a list of available color tables. As an
alternative to using, for example, cividis you can instead use
table = colortable('cividis');
warning('off','COMSOL:DEPRECATED')
A periodic condition:
PhysicsFeature pc = model.physics("ec").feature("pc1");
pc.feature("dd1").selection().all();
The result of this statement typically differs between versions 6.0 and 6.1:
In version 6.0, only the automatic destination entities from the parent’s automatic
destination selection were returned. Now, the software returns all entities that overlap
with the parent selections (source and destination). The interpretation of the all
boundaries flag being set is still the same: making the periodic condition use the
automatic destination. The only difference is what the API returns for the selection of
the destination domains.
GEOMETRY EXPORT
The following method now sets the file format of the geometry export:
model.component(<ctag>).geom(<tag>).export().setType(<format>);
To get the file format that is set for the geometry export, use:
PAIR FEATURES
The removal of the fallback features under pair features can break API code that you
have written that accesses those features. The presence of a default pair feature may also
create a different configuration compared to what previous API runs did.
Java® or MATLAB® program that accessed fallback features under a pair feature will
not work anymore. This is a necessary limitation because any attempt to support such
API backward compatibility will be both unintuitive and unsafe. For most physics
created from the API, the default feature from the physics will act as the fallback to the
pair features. As long as the default fallback feature in 5.6 was of the same type, the
behavior in 6.0 will be equivalent. If you used a special fallback feature for a pair feature
in 5.6, you now place it either before or after the pair feature and use the same selection
as the pair feature. Placing the fallback feature afterward makes it possible to use the
pair feature’s selection directly. The example below shows such code for 5.6 and how
the equivalent code in 6.0 can be written:
When a physics interface is created from the API in 6.0, it will also add default pair
features that did not exist in 5.6. As long as the final model uses all created pairs, the
behavior will be the same in 6.0; otherwise, it may be necessary to disconnect the
default pair feature with an extra command. Below is an example for the Electric
Currents interface, but the actual set operation is identical for all interfaces.
model.component("comp1").physics("ec").feature("dcont1").
set("pairDisconnect", true);
This concludes the release notes for COMSOL Multiphysics version 6.2.
INDEX| 181
new functionality in 104 ty in 35
new models in 107 RF Module
Metal Processing Module new functionality in 135
new functionality in 109 Rotordynamics Module
new models in 115 new functionality in 141
Microfluidics Module
S Structural Mechanics Module
new functionality in 110
new functionality in 146
updated applications in 111
new models in 156
Mixer Module
studies and solvers, new functionality in
new functionality in 112
30
Model Manager Server, new functionality
Subsurface Flow Module
in 14
new and updated models in 163
Model Manager, new functionality in 10
new functionality in 160
Multibody Dynamics Module
U Uncertainty Quantification Module
new functionality in 113
new functionality in 164
N Nonlinear Structural Materials Module
W Wave Optics Module New and Updated
new functionality in 116
Models in Version 6.2 139, 168
new models in 119
Wave Optics Module New Functionality
O operators, functions, and definitions,
in Version 6.2 165
new and updated 26
Optimization Module
backward compatibility 123
new functionality in 122
182 | I N D E X