System Coupling Analyses Using Maxwell

Ansys System Coupling™ facilitates and manages the execution of coupled simulations between multiple physics solvers, coupling active cosimulation participants using either System Coupling's graphical user interface (GUI) or its command-line interface (CLI).

The Maxwell application can engage as a coupling participant in thermal cosimulations with Ansys Fluent® and Ansys Mechanical™ applications and in electrical arc modeling simulation with Ansys Fluent, Ansys Motion™, and Ansys Twin Builder® applications. System Coupling provides enhanced control over coupled simulation processes, including automatic starts and restarts for participants, the ability to manipulate the System Coupling data model, an interactive solution workflow, and multiple output formats for reviewing and postprocessing results.

In System Coupling analyses, each participant completes its physics and coupling setups in its own user interface generating a Participant Setup (.scp) file along with its solver file(s). The coupled analysis itself includes loading participants, setting values for coupling-related settings, specifying coupled analysis settings, and starting the run. Once the solution has started, System Coupling directs the execution of the coupled analysis – including general coupling management, participant communications, and transfers of data between participants.

Note: For detailed information on System Coupling in general, refer to the System Coupling User’s Guide. For details on working in System Coupling's GUI or CLI, refer to the Using System Coupling's User Interfaces section.
Note: For examples of Maxwell participating in cosimulations, review the coil-and-core induction heating, bar-and-coil induction heating, bus bar, and electric motor examples in System Coupling Tutorials. Also see Electrical Arc Modeling Using System Coupling.

Supported Capabilities and Limitations

The following capabilities are supported for System Coupling analyses with Maxwell:

The following are known limitations when using System Coupling with Maxwell:

Using HPC Distribution Settings for Coupled Analyses

System Coupling supports the use of Maxwell's automatic and manual HPC distribution parameters for distributed coupled analyses. Each of these Execution Control settings corresponds to one of Maxwell's distributed analysis parameters.

When auto-distribution is disabled, the following manual settings are available:

For more information, see Using AEDT HPC Distribution Options in the System Coupling User's Guide.

Variables Available for System Coupling

The following variables will be available on convective boundaries:

Name / Internal Name Transfer Direction Data Type Physical Type
Loss / Loss Output Scalar Heat Rate
Temperature / Temperature Input Scalar Temperature

The following variables will be available for magnetostatic simulations:

Name / Internal Name Transfer Direction Data Type Physical Type
Arc Voltage Output Scalar Voltage
Arc Current Input Scalar Current
Loss / Loss Output Scalar Heat Rate
Lorentz Force Output Vector Force
Electrical Conductivity Input Scalar Electrical conductivity
Temperature Input Scalar Temperature

System Coupling Related Settings

System Settings

To enable coupling with Maxwell, the environment variable ANSYSEM_ROOT252 must be set to the location of your Ansys Electromagnetics installation.

Note: The environment variable name is ANSYSEM_ROOT<major><minor>, where <major> is the two digit major version number (the last two digits of the year); and <minor> is the one digit minor version number. For example, for the Ansys Electronics 2025 R1 release, the environment variable name is ANSYSEM_ROOT252. For the Student Version of the software, the variable name is ANSYSEM_ROOTSV<major><minor>.
Note: The environment variable must be set on all hosts if the analysis is distributed to multiple hosts. For Windows, this environment variable must generally be set as a System environment variable (not a user environment variable) for distributed analysis so that it is set for the Ansoft RSM Service. For Linux, the user must ensure that the environment variable is set for the AnsoftRSM Service daemon processes.

You must also integrate Maxwell with Ansys: from the Start menu, select Ansys EM Suite 2025 R2 Modify Integration with Ansys 2025 R2.

Maxwell Settings

Solution Type:

Must be set to one of the following:

Materials:

Bodies to receive temperature data must have temperature-dependent properties. Note that when the same materials are used in multiple participants, common properties (e.g., conductivity) must be consistently defined.

Motion:

Motion must be appropriately and consistently defined for all bodies involved in the analysis.

Stationary bodies must not move from the reference position or participate in multiple reference frames during the cosimulation.

Motion should be defined with a (rigid body) displacement.

For more information, see Additional Participant Setup Considerations in the System Coupling User’s Guide.

Creating a System Coupling Setup

The System Coupling Setup enables the exchange of data between participants by creating an interface between regions on the participant models.

To create a coupling setup, select ( Optimetrics > Add > System Coupling Setup), and do one of the following:

Generating a System Coupling Participant Setup File

System Coupling uses each participant's Participant Setup (.scp) file and the corresponding Python (.py) configuration file to load the participant and its information into the data model.

To use System Coupling, you must generate a System Coupling participant file (.scp). Once the Maxwell setup is complete, generate the file using either of the following options:

In both cases, the configuration files needed by System Coupling (an .scp file and a .py file) are generated at the same time and in the same location as the Maxwell project file.

Licensing Considerations when using System Coupling

A distinct license is required for each coupling participant product, but no additional licenses are required for the System Coupling infrastructure itself.

Note, however, that Ansys EnSight is required for the postprocessing of System Coupling’s interface results. If you are using a Multiphysics Licensing Bundle that does not include an EnSight license (e.g., the Ansys Mechanical Maxwell bundle), you will need a separate EnSight license to visualize cosimulation results.

For more information on applicable licenses, see Product Licensing Considerations in the System Coupling User's Guide.