COMSOL Release Notes - 2
COMSOL Release Notes - 2
with an angle as the unit. When the checkbox is selected, your plot will show the
phase values without jumps.
• You can now add multiple Graph Marker subnodes to the same plot for applicable
plot types.
• The eval operator in Annotation plots has been improved. It now supports formats
of the %[flags][width][.precision] type. Allowed types are d, f, e, E, g, and
G. For example, eval(pi*1e10,,%+.3e) gives the output +3.142e+10, showing
the number with scientific format with 3 decimal values and with the sign of the
number shown.
• For Point plots, you can now display values as text. Evaluation can also be done not
only at points but also for other geometry levels: line, surface, and volume
(depending on the space dimension of the model). The evaluation can now also be
done at mesh nodes or Gauss points.
• For models that include a phase, the Solution at angle (phase) list in plot groups now
includes a Custom per plot option, which adds Solution at angle (phase) lists for all
plots in the plot group. You can then specify the phase individually for each plot.
• For a disabled plot, clicking Plot or pressing F8 no longer enables or plots the plot.
Clicking Plot plots all active and enabled plots in the plot group.
HASTAG METHOD
To check whether a feature with a given tag exists in a list, use the new hasTag method.
It will return true if the list contains a model entity with the given tag.
COMSOL Multiphysics version 6.3 can run Java® files saved from COMSOL
Multiphysics versions 4.0–6.2. 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.3.
COMSOL MULTIPHYSICS | 31
Device Feature node to a normal Device node. There are some complicated cases when
the migration fails to do a completely valid migration. It then adds a warning giving
more information about the problem.
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
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 | 33
Settings windows for Periodic Condition nodes. It can still be added from the API for
backward compatibility. The Destination Selection subnode was used for two purposes:
For more information about the API compatibility, see COMSOL 6.1 API Changes.
Computing the flux directly produces a high accuracy for the electric displacement
field and is particularly advantageous for calculating electromechanical forces in
geometries that contain sharp corners.
The D–V Formulation can be activated by going to the Discretization options in the
Settings window for Electrostatics and selecting any of the Mixed finite element options.
For the new multiphysics interfaces as well as the existing Electromechanics, Solid
interface, the contained Electrostatics interface is now configured to use the new
D–V Formulation by default — although, this can be reverted back to the regular
formulation if desired. Note that the new Electromechanics, Boundary multiphysics
coupling requires a license for the Structural Mechanics Module, together with either
the MEMS Module or the AC/DC Module.
AC/DC MODULE | 35
SUPPORT FOR HIGH-FREQUENCY LOSS IN MULTITURN COILS
The Homogenized multiturn conductor model in the Coil domain feature — as used in
the Magnetic Fields, the Magnetic and Electric Fields, and the Rotating Machinery, Magnetic
interfaces — has received multiple updates, most notably for modeling intrinsic loss
caused by skin and proximity effects in the coil.
In the Frequency Domain study when the Wire properties setting is using the From
conductivity option, a new High-frequency effective loss model is available (enabled by
default). This loss model introduces an effective wire conductivity and an effective
complex permeability in the coil such that the field distribution and the AC resistance
resemble that of a fully resolved coil consisting of hexagonally packed wires with skin
and proximity effects. For Stationary and Time Dependent studies, the loss model reverts
back to the DC approximation, as used in previous COMSOL® versions.
For both the Time Dependent and Frequency Domain studies, a new Wire properties
option is available, called From resistance and mutually coupled circuit. It couples the
coil to a lumped circuit. When the circuit parameters are properly tuned, the resistive
and inductive effects modeled by the circuit resemble those coming from a fully
resolved skin and proximity effect.
The advantage of this approach is that it supports both the Frequency Domain and Time
Domain study and is therefore more versatile. The disadvantage is that the circuit needs
to be tuned. Oftentimes, an educated guess is possible, but fitting gives more accurate
results. Fitting is typically done by matching the average loss to that of an equivalent
fully resolved model, or to measurements.
When the Litz wire properties setting uses the From conductivity option, the Number of
strands setting can be specified, along with the Litz wire DC resistance per unit length.
The latter is used to compensate for the increase in DC resistance caused by the
twisting or weaving pattern. (Note that the homogenized multiturn conductor model
assumes untwisted wires.) Like the Homogenized multiturn conductor model, the
Homogenized litz coil conductor model supports High-frequency effective loss.
When the Litz wire properties setting is using the From resistivity option, the wire
resistance per unit length can be set explicitly. The wire resistance can be taken from a
Note that at higher frequencies, the total net AC resistance will depend on both skin
and proximity effects within the litz coil (intrinsic effects) and the inductive coupling
between the coil and its environment (external effects).
The Symmetry specification feature can be used when sector symmetry or mirror
symmetry is used, and the model represents only a fraction of the actual device. It can
be useful for setting up stator coil configurations for motor models (for cases where
the Multiphase Winding feature is not applicable). Another application of interest is the
2D modeling of fully resolved litz coils: The symmetry factors can be used in
combination with the Coil group option in 2D to model the strands fully resolved with
skin and proximity effects included. These 2D models can then be used to verify the
High-frequency effective loss model in 3D or to fine-tune the circuit parameters used in
the From resistance and mutually coupled circuit option.
AC/DC MODULE | 37
NEW MULTI-TERMINAL CONDUCTOR FEATURE
The Magnetic Fields, Currents Only interface has a new Multi-Terminal Conductor feature.
This feature is similar to the existing Conductor feature and can be used as an easy way
to apply current sources, especially in connection with the Stationary Source Sweep with
Initialization study step and for conductors containing multiple current inputs to sweep
onto. The Multi-Terminal Conductor feature has several subnodes (Terminal, Ground, and
Electric Insulation) that can be used to define the boundary conditions for the current
distribution.
The new features provide a more user-friendly implementation that helps to ensure
that the appropriate material models and the appropriate coordinate frames of
reference are used for liquids, gases, and vacuum as well as for solid objects.
Furthermore, the features allow for a more intuitive setup of multiphysics couplings.
Multiphysics couplings designed for solids, such as the Electromechanics coupling, are
only applicable in domains where the corresponding solid feature is active, whereas
AC/DC MODULE | 39
multiphysics couplings designed for liquids, such as the Magnetohydrodynamics
coupling, are only applicable in domains where the corresponding fluid feature is
active.
For the Magnetic and Electric Fields interface, the Free Space feature also now comes
with a built-in Stabilization option. The Automatic setting adds an artificial conductivity
term that keeps the model from becoming singular (1 S/m for Stationary and Time
Dependent studies, and 0 S/m for Frequency Domain studies). A user defined option is
available, too, for manual tuning of the stabilization.
Note that replacing the default feature has an impact on backward compatibility:
Model methods, Java® code, and MATLAB® code that have been saved using
previous COMSOL® versions may need to be revised in order to function properly.
This functionality has now been extended to most instances of Coils in domains,
Terminals in domains and on boundaries, and Lumped Ports in the Electrostatics,
Electrostatics, Boundary Elements, Electric Currents, Magnetic Fields, Magnetic and Electric
Fields, and Rotating Machinery, Magnetic features. Furthermore, it is now supported by
the public API, meaning that the Split By Connectivity action can be included in apps,
plug-ins, or model methods.
Furthermore, the existing Multipole Debye dispersive material model can now be used
in combination with the new Biological Tissues material data. The Biological Tissues
folder in the AC/DC material library branch contains values for the electric conductivity,
relative permittivity, and reference temperature, together with the relaxation times and
relative permittivity contributions of several Debye poles, for 54 biological tissue types.
The dispersion models are available in the Dispersion subnode. This subnode is located
under the Charge Conservation in Solids feature (for Electrostatics) and the Current
Conservation feature (for Electric Currents, assuming that the feature’s Material type is
set to Solid). The subnode will become visible when the parent feature’s Dielectric
model is set to Dispersion.
AC/DC MODULE | 41
Note that the Dispersion subnode is now contributing. This implies that the effect of
several dispersion models can be combined by adding multiple Dispersion subnodes.
Note that the Cole–Cole and Havriliak–Negami material models require the AC/DC
Module, while the Multipole Debye and User defined models are also available for the
MEMS Module.
Furthermore, the default Constraint type used in the Continuity pair feature — as used
in the Rotating Machinery, Magnetic interface — has now changed from Pointwise
constraints to Weak constraints, allowing for coarser meshes on the pair boundaries.
(To see the Constraint Settings section, enable Show More Options > Advanced Physics
Options.)
Note that changing the default discretization and the default constraint type has an
impact on backward compatibility: Model methods, Java® code, and MATLAB® code
that have been saved using previous COMSOL® versions may need to be revised in
order to function properly.
MISCELLANEOUS IMPROVEMENTS
• The Stationary Source Sweep study now supports cluster distribution.
• The Lumped Port feature — as used in the Magnetic Fields interface, the Magnetic and
Electric Fields interface, and the Rotating Machinery, Magnetic interface — now
supports specifying the excitation direction by means of a Reference edge.
AC/DC MODULE | 43
CIRCUIT EXTRACTOR (UPDATED ADD-IN)
The Circuit Extractor add-in allows for automated extraction of lumped circuits by
analyzing the lumped resistance, capacitance, and inductance matrix retrieved from the
finite element model. The resistance networks extracted by the add-in have been
updated to better follow the SPICE standard.
AC/DC MODULE | 45
with a manually configured solver saved in COMSOL 6.2 and earlier may need to
have their solver configurations reset, to benefit from the new defaults.
• The variable names used in the Electrical Circuit interface have been updated from
using an underscore convention to using a dot-separated convention — for example
“cir.R1_p_v” is now “cir.R1.p.v”. Custom expressions containing these names
— including those used in model methods, Java® code, and MATLAB® code —
may need to be revised in order to function properly.
ACOUSTICS MODULE | 47
are essential when performing a modal expansion of measured sources, as well as when
computing modal transmission loss of flow ducts.
ANISOTROPIC POROACOUSTICS
A new Anisotropic Poroacoustics material model has been added to the Pressure
Acoustics, Frequency Domain interface. The new model defines a porous domain
(equivalent fluid model) with a porous material that has anisotropic properties.
Anisotropic properties can be defined for the relevant poroacoustic properties, namely
the flow resistivity, the tortuosity factor, and the viscous characteristic length.
• Explicit handling of data at zero frequency (DC), if included in the input data
• Exact computation of residues
• New advanced stop conditions based on Iterations and Tolerance or iterations.
• New advanced option to automatically detect and remove Froissart doublets
(unstable poles)
These new options allow for more robust fitting of noisy data as well as better control
of the fitting.
• For the PML, the variable acpr.P_pml gives the total radiated power from the
physical domain to the PML. The variable is useful for identifying the performance
of the PML.
ACOUSTICS MODULE | 49