Coupling Algorithms

The coupling algorithm defines the sequencing of field exchanges between the clients and any interface calculations performed.

This page discusses:

When deciding on the coupling algorithm, you should consider solution stability and accuracy, as well as the impact on your computing resources. The SIMULIA Co-Simulation Services provides an open framework for implementing and customizing your own coupling algorithms.

The SIMULIA Co-Simulation Services coupling algorithms fall into three broad categories:

Basic coupling algorithms
The basic coupling algorithms are classical coupling techniques (for example, Gauss-Seidel and Jacobi scheme) with no interface treatment. These algorithms are suitable for physics that have weak-to-moderate coupling strength.

The basic coupling algorithms serve as a starting point to customize more sophisticated algorithms, where a particular client can control and provide interface treatments.

For more information, see Explicit Coupling Schemes and Implicit-Iterative Coupling (Basic).

Advanced coupling algorithms
The advanced coupling algorithms are more sophisticated coupling algorithms and might include interface calculations performed by the SIMULIA Co-Simulation Services. These algorithms are suitable for physics that have moderate-to-strong coupling strength.

For more information, see Implicit-Iterative Coupling with Interface Treatment.

Proprietary coupling algorithm
The proprietary coupling algorithms are highly specialized coupling algorithms and require interface computation to be performed by the clients. These algorithms are suitable for physics that have very strong coupling.

Proprietary algorithms are not available to third-party applications. However, a third-party might develop their own proprietary coupling using the SIMULIA Co-Simulation Services

For more information, see Proprietary Coupling Algorithms.

No matter which coupling algorithm you use, the SIMULIA Co-Simulation Services API is embedded into the client in a “neutral” manner; that is, the client should not have any coding logic specific to the number of clients it is coupling with, the physics being solved, the coupling scheme, and the interface treatment.

Coupling algorithms are specified in the Co-Simulation Configuration file through the model of computation element (see Model of Computation).

Explicit Coupling Schemes

Explicit coupling schemes define coupling algorithms where the fields are exchanged once per coupling step, and no convergence check is performed prior to advancing to the next coupling step. These coupling schemes are suited for physics with weak-to-moderate coupling strength; for example, an aeroelasticity simulation where you have air interacting with a relatively stiff structure.

The clients can be executed concurrently (commonly referred to as the Jacobi scheme) or sequentially (commonly referred to as the Gauss-Seidel scheme). The Jacobi scheme might use computing resources more effectively; however, it is less stable because both solutions lag by one coupling step. The Gauss-Seidel scheme is more stable because only one client lags by one coupling step.

Explicit coupling is numerically less costly because no coupling iterations are performed. However, it requires smaller coupling step sizes to reduce the lag between the solutions to remain stable. The Dual Mass-Spring example (see Dual Mass-Spring Systems) provides a study of coupling step sizes for explicit coupling.

Implicit-Iterative Coupling (Basic)

Implicit-iterative coupling is applicable if all clients use implicit time integration. The clients are executed in a staggered manner, and one analysis leads while the other analysis lags at the first exchange. At target times, multiple exchanges (referred to as coupling iterations) are performed until converge is achieved. The additional coupling iterations remove the lag between the solutions, prior to advancing to the next coupling step.

Implicit-iterative coupling requires multiple solution passes with updated interface conditions. The benefit is that a larger coupling step size can be used. Implicit-iterative coupling is recommended for physics with moderate-to-strong-coupled physics.

In the basic form, specify a maximum number of coupling exchanges prior to proceeding to the next coupling step. A client might end the coupling exchanges prior to reaching the maximum limit and implement its own interface treatment.

Implicit-Iterative Coupling with Interface Treatment

The SIMULIA Co-Simulation Services support enhanced implicit-iterative coupling algorithms with extrapolation, accelerators, and field convergence checks.

Extrapolation

Extrapolation uses the previous coupling step solution, x ˜ , to provide an initial guess for the current coupling step, x ˜ n + 1 0 , where the superscript 0 refers to the initial guess and the subscript n + 1 designates the coupling step. You can select between zero-order, first-order, and second-order extrapolation:

Zero-order extrapolation uses the previous coupling step solution as an initial guess:

x 0 = x ˜ n .

First-order extrapolation uses a linear extrapolation based on the solution of the previous two coupling steps:

x 0 = t ⁢ − t n − 1 t n − t n − 1 x ˜ n + t ⁢ − t n t n − 1 − t n x ˜ n − 1 .

Second-order extrapolation uses a second-order extrapolation based on the solution of the previous three coupling steps:

x 0 = ( t ⁢ − t n − 1 ) ( t ⁢ − t n − 2   ) ( t n − t n − 1 ) ( t n − t n − 2 )   x ˜ n + ( t ⁢ − t n − 2 ) ( t ⁢ − t n ) ( t n − 1 − t n − 2 ) ( t n − 1 − t n )   x ˜ n − 1 + ( t ⁢ − t n ) ( t ⁢ − t n − 1 ) ( t n − 2 − t n ) ( t n − 2 − t n − 1 )   x ˜ n − 2 .

Accelerators

An accelerator enlarges the convergence radius from a stability point of view and reduces the number of coupling iterations. The SIMULIA Co-Simulation Services support two classes of accelerators: relaxation methods and quasi-Newton methods.

Relaxation Accelerator Methods

Relaxation is a simple numerical technique employed commonly to improve the stability of a computation. Using a relaxation factor less than one improves the stability at the expense of slower convergence. Relaxation works well for weak-to-moderate-strength physics coupling.

The SIMULIA Co-Simulation Services support the constant relaxation and Aitken’s relaxation methods. Constant relaxation uses a constant user-specified relaxation factor. Constant relaxation is always used for the initial exchange with the Aitken and Quasi-Newton methods. It is available for use for all coupling exchanges (for completeness); however, you should use the Aitken's method or one of the Quasi-Newton methods instead. In the Aitken's method, the relaxation factor is adapted based on the residuals from past coupling iterations. The Aitken's relaxation method works well for moderate-strength physics coupling, and the interface computation is less expensive than the Quasi-Newton methods.

Quasi-Newton Relaxation Methods

The quasi-Newton relaxation methods approximate an inverse Jacobian at the interface. If sufficient past residual information is retained, the quasi-Newton method can deliver close to an exact inverse Jacobian. The quasi-Newton methods incur a larger interface cost but can significantly reduce the number of coupling iterations. The methods are best suited for strongly coupled physics.

The SIMULIA Co-Simulation Services support the Anderson and the Broyden implementations. The Broyden implementation can deliver a close to exact inverse Jacobian if sufficient past residual information is provided. The Broyden implementation involves an advanced Singular Value Decomposition (SVD) factorization to limit memory requirements and avoid computations of full SVD. The Anderson method requires marginally more coupling iterations; however, it is computationally less intensive.

Convergence Checks

The advanced implicit-iterative schemes support field convergence checks performed by the SIMULIA Co-Simulation Services. The convergence criteria are specified for outgoing fields participating in iterative exchanges.

The following convergence criteria are available:

Absolute Criterion

The absolute criterion prevents the co-simulation from failing if there is no correction. This might occur at the start of a coupled simulation when there is insignificant load (for example, when a smoothed ramping curve is used):

C a b s : ‖ u ˜ k n − u k n ‖ ⁢ ≤ ξ a b s .

Relative Criterion

The relative criterion applies when the coupled simulation is established.

There are two relative criteria referred to as the initial norm and step norm criteria. The initial norm criterion normalizes the correction with respect to the first coupling iteration. This ensures convergence of mathematical properties; specifically, the comparison is performed with respect to a constant value:

C r e l 1 : ‖ u ˜ k n − u k n ‖ ⁢ ≤ ξ r e l 1 × ‖ u ˜ 0 n − u n − 1 ‖ .
The step norm criterion normalizes the correction with the total solution increment, which might evolve during the iterations:
C r e l 2 : ‖ u ˜ k n − u k n ‖ ⁢ ≤ ξ r e l 2 × ‖ u ˜ k n − u n − 1 ‖ .

The solution is converged when either the absolute criterion or both of the relative criteria have converged:

C a b s ⁢ | |   ( C r e l 1 ⁢ & &     C r e l 2 ) .  

The field criteria should not be more severe than the solver’s solution criteria. You can change the convergence criteria on a field-by-field basis in the Co-Simulation Configuration file (see Field Tolerances).

Proprietary Coupling Algorithms

You can create specialized coupling algorithms by using SCXML state machine programming and writing solver-specific services. These algorithms are proprietary and require specialized services written for the solvers. Examples of proprietary coupling algorithms include the enhanced subcycling method used by Abaqus/Standard-to-Abaqus/Explicit and Abaqus-to-Simpack co-simulation. These algorithms represent strong physics coupling, where each client uses different time integration methods. Specialized treatment at the interface, especially if constraints exist, is implemented by the solvers.

Defining specialized coupling is beyond the scope of this guide and will require a service project.