Studies and Solvers Updates


COMSOL Multiphysics® version 6.3 introduces significant performance improvements as well as new functionality. Highlights include GPU support for time-explicit pressure acoustics and deep neural network (DNN) surrogate model training. Additionally, the nonlinear eigenvalue solver widens the scope of eigenfrequency analysis, and the efficient global optimization (EGO) solver addresses optimization in simulations involving multiple local optima. Learn more about these updates below.

Support for NVIDIA® GPUs

GPU support has been added for pressure acoustics and surrogate model training. This functionality is available for systems equipped with a compatible NVIDIA® GPU.

GPU Acceleration for Time-Explicit Pressure Acoustics

Linear time-explicit pressure acoustics models can now be solved using an accelerated formulation that supports realistic impedance boundary conditions. This acceleration can be significant increased when the formulation is used with an NVIDIA® GPU card, though performance gain depends on the hardware. To enable this functionality, a CUDA® Toolkit must be installed. (The toolkit's path can be specified during installation.) This functionality can be seen in the Acoustics of an Open-Plan Office Space tutorial model. For more details, see the Acoustics Module release highlights.

The COMSOL Multiphysics UI showing the Model Builder with the Pressure Acoustics, Time Explicit node highlighted, the corresponding Settings window, and an office space model in the Graphics window.
The accelerated solver options can be found in the Settings window for the Pressure Acoustics, Time Explicit interface. The office space model with 50 million degrees of freedom (DOFs) runs up to 25x faster on an NVIDIA RTX-A6000 GPU compared to an Intel® Xeon® w5-2455x with 12 cores.

GPU Acceleration for DNN Surrogate Model Training

GPU support for training DNN surrogate models has been added, significantly speeding up the training process and enabling faster development of surrogate models for use in apps and various simulation contexts. To activate this functionality, ensure that the CUDA DNN Support option is selected on the Products page of the COMSOL Installer. Additionally, the NVIDIA® CUDA® Toolkit must be installed, which can be downloaded from the NVIDIA® website.

Improvements for Surrogate Model Data Generation

Generating space-, time-, and frequency-dependent data for use in DNN surrogate models is now significantly easier.

A Geometry Sampling option is available under the new Surrogate Model Sampling submenu within the Definitions for model components. This feature enables data sampling directly in domains, at boundaries, along edges, or at vertices, eliminating the need for file export or import workflows.

Additionally, a new Study-dependent input option in the Surrogate Model Training study enables the inclusion of time-dependent or frequency sweep results in the training data. This simplifies the incorporation of dynamic or frequency-dependent data into surrogate models.

The COMSOL Multiphysics UI showing the Model Builder with the Surrogate Model Training node highlighted, the corresponding Settings window, and a 1D plot in the Graphics window.
A new field in the Quantities of Interest section of the Surrogate Model Training node settings enables times to be specified. The graphs compare the results of a full model of a lithium-ion battery during a charge–discharge cycle with a surrogate model. Overlapping dashed and solid plot lines show the close agreement between the models.

Optimization

Discrete Adjoint Solver Type

A new Time discrete adjoint solver type is available for optimal control and time-dependent parameter estimation. This solver type is based on a discrete sensitivity method, which provides enhanced robustness, improved accuracy, and faster performance for gradient-based optimization with the Time-Dependent Solver.

In transient parameter estimation problems, significant speed improvements are achieved with the sparse nonlinear optimizer (SNOPT) or interior point optimizer (IPOPT) solvers. This is due to the aggregated sensitivity of the entire objective being computed in a single pass instead of separate calculations for each measurement point. The previous continuous sensitivity method is still available, but it is no longer the default for transient optimization.

Both the discrete and continuous methods reduce memory consumption through checkpointing, which involves recomputation of the forward solution. In addition, there is a new Out-of-core option that can alternatively be used for forward solution handling, which instead uses temporary disk space to avoid recomputation.

The COMSOL Multiphysics UI showing the Model Builder with the Shape Optimization node highlighted, the corresponding Settings window, and a chemical etching model in the Graphics window.
Settings for the Shape Optimization study step using a Time Dependent study step for the optimization of a chemical etching process where the objective is obtaining a symmetric trench as a result of the etching.

Efficient Global Optimization

A new gradient-free optimization solver that uses the efficient global optimization (EGO) algorithm has been introduced. This solver is well suited for tackling optimization problems with several local optima, as it does not require an initial guess for the control parameters and is less prone to getting trapped at a local minimum — making it especially useful for challenging optimization problems, such as those encountered in frequency-domain analyses.

While the EGO solver is slower than local optimization methods due to its global search strategy, it provides valuable robustness in navigating complex solution landscapes. After running the EGO solver, it is recommended to further process the results using a local optimization method to refine the solution. Additionally, the solver enables the inspection of the underlying surrogate model used for the analysis, providing further insight into the optimization process.

Nonlinear Eigenvalue Solver and Improved Sorting

A new nonlinear eigenvalue solver based on the ARPACK library is now available as an option within the eigenvalue solver, eliminating the need for manual iterations when solving for nonlinear eigenvalues. This is useful for structural analysis with viscoelastic materials, electromagnetic mode analysis, and more.

Additionally, a new Filtering and Sorting section has been added to the settings of the Eigenvalue, Eigenfrequency, and Boundary Mode Analysis study steps. This makes it possible to apply filter expressions, such as real(freq) + 1e-6 > 0, and sort eigensolutions by various criteria, such as real or imaginary parts, their magnitudes, or absolute values, in ascending or descending order. Sorting options are also available in the Eigenvalue Solver and Combine Solutions feature nodes when working with eigenvalue-type solutions.

The COMSOL Multiphysics UI showing the Model Builder with the Eigenfrequency node highlighted, the corresponding Settings window, and a viscoelastic damper model in the Graphics window.
Settings for the Eigenfrequency study step, where the ARPACK nonlinear solver can be selected as the eigenfrequency solver. The Graphics window shows the eigenmodes in a structural analysis of a viscoelastic damper.

Proper Orthogonal Decomposition (POD) Reduced-Order Model

A new model reduction technique, POD, has been added. The main idea of POD is to use snapshots of a model to perform a decomposition of a physical field using ideas from principal component analysis. POD can be useful for problems that are parameterized in the frequency domain.

Solver Improvements

Adaptive Tolerance for Linear Solvers

When solving nonlinear problems, it is now possible to enable the tolerance in the linear solver to vary adaptively. This can lead to substantial speedups. This method uses error estimation from the nonlinear solver to solve with lower accuracy when far from the solution and higher accuracy when approaching convergence. Adaptive tolerance in the linear solver is supported for the Constant damping method. It is also supported together with the pseudo-time-stepping method popular for stationary CFD problems.

The COMSOL Multiphysics UI showing the Model Builder with the Segregated Step node highlighted, the corresponding Settings window, and a blood pump model in the Graphics window.
Improvements in the adaptive tolerance for linear solvers can reduce the computation time of the FDA blood pump model by up to 50%.

Scaling for the Algebraic Multigrid (AMG) Method

Row scaling for the AMG method can now be determined automatically. Enabling Row equilibration under the Advanced node of the Stationary Solver node will result in the automatic selection of an appropriate scale for the multigrid solver.