Scalable Solver

Introduction to the Scalable Solver

In an effort to continuously evolve the solution efficiency of the Autodesk® CFD, the Scalable Solver is available as a solver option. This solver is designed specifically for large simulations containing on the order of 10 to 50 million elements. Unlike the original Classic Solver, the Scalable Solver enables each process to run on multiple threads as a process/thread hybrid and is designed to optimize cache performance. The solver has shown significant solution time speedup for large models when using multiple compute nodes. The performance for smaller models on a single compute node is comparable to that of the default Classic Solver.

The Scalable Solver architecture is ideal for systems with large numbers of processors and clusters consisting of multiple compute nodes. It works well with systems that use standard network connectivity. Higher performance connectivity such as Infiniband further improve solution speed, but is not required to realize the benefits.

Supported Functionality

The Scalable Solver supports the following functionality:

Limitations

The following functional items are not supported by the Scalable Solver:

Additionally, for transient simulations, the value for Inner Iterations (found on the Solve dialog) should not exceed 1 when using the Scalable Solver.

Enable the Scalable Solver

Single Node

To run the Scalable Solver on a single node, select Scalable Solver as your Solver Computer on either the Solve, Solver Manager, or Solver Computers dialog.

Scalable Solver on the Cloud: Cloud Premium

To run a Scalable Solver simulation on the cloud, select Cloud Premium as your Solver Computer on either the Solve, Solver Manager, or Solver Computers dialog.

The Cloud Premium option is available only to Subscription customers.

If you are a Perpetual license customer, the Cloud Premium option will be visible, but if selected, a message appears indicating that you must be a Subscription customer to access this functionality. You can either change the solve type to Cloud, which uses the Classic Solver on the cloud, or run the Scalable Solver locally by selecting Scalable Solver as your Solver Computer.

To learn more about becoming a Subscription customer, click here.

Scalable Solver Settings

Autodesk® CFD automatically defines the following configuration options to enable the Scalable Solver:

Configuration Option

Description

Sockets / Node

Typically set to the number of sockets on a compute node. Note that one MPI process will be launched on each socket.

Cores / Sockets

This is the physical core count per socket, and defines the number of compute threads spawned per MPI process.

Hyper-threading

The Hyper-threading is only used when setting affinity; virtual cores are not loaded to do any work.

Affinity

Affinity locks each computational thread to a particular core. This may improve performance because it avoids having the operating system decide which core to use.

If the solution crashes or stops prematurely, particularly if there are two or more sockets, you may need to set the Affinity value to 0. To do this, perform the following steps:

1. Open the CFD2_default.xml file located in the C:\ProgramData\Autodesk\CFD 2018 folder.

2. Change the value of of the NoAffinity argument to 0. The line should appear as:

<NoAffinity>0</NoAffinity>

Convergence Criteria

This indicates the criteria cutoff to use for the calculation. A value of 0.01 is fine for most analyses

Time Step Size

This is used to set a fixed pseudo-time step size, and is rarely used.

Display Frequency

As the Scalable Solver runs, it sends results to the CFD user interface at the iteration interval defined by the Display Frequency. This allows you to review results while the simulation is computing in the same manner as with the default solver.

Sending results after every iteration is time consuming, so it is a good idea to set a value of 10 for efficient communication between the Scalable Solver and the user interface. If the visual updates occur too quickly, you can reduce the communication by increasing the Display Frequency to 100. This improves the parallel performance as well.

Cluster

To configure the Scalable Solver for use with a cluster, please contact the Sim Squad.

Continuing a Scalable Solver Simulation

There are several limitations regarding how Scalable Solver simulations can be stopped and continued.

A simulation cannot be stopped and continued if the solver is changed from the Classic to the Scalable Solver:

A Scalable Solver simulation cannot be stopped and continued if the simulation is "moved" either to or from the cloud:

Note: You can, however, continue from local Classic solver to cloud Classic solver: Solver Computer = MyComputer can be continued with Solver Computer = Cloud.

A simulation run with the Scalable Solver cannot be continued after the simulation is stopped and certain settings are changed:

Note: You can make such a change, however, with the Classic Solver (Solver Computer = MyComputer or Cloud).

Additional Notes