Running the Co-Simulation

Prepare the simulations as described in the previous sections, then run the co-simulation.

Prior to running the co-simulation, the external regions and boundaries must be created:
  1. Right-click the External Links > [Link 1] node and select Update.
To run the co-simulation:
  1. Click (Run/Restart) in the Simcenter STAR-CCM+ simulation.
    Simcenter STAR-CCM+ automatically launches and connects to Abaqus. The co-simulation progress can be monitored in the Output window, and Simcenter STAR-CCM+ reports output for each data exchange process.

    The Abaqus model is imported in Simcenter STAR-CCM+ as a region. You can use the Abaqus region for postprocessing.

If Abaqus fails to terminate automatically at the end of the co-simulation, or if you discover that the co-simulation is being conducted using the wrong set of parameters, you can manually terminate the co-simulation. To manually terminate the co-simulation:
  1. Right-click the External Links > [Link 1] node and select Terminate.
    If you remesh the fluid region in Simcenter STAR-CCM+, do not disconnect Abaqus during remeshing. This requirement applies to both mapping options—Map Both Directions and Partner Maps Both Directions. See 映射选项.
If Abaqus doesn't spawn correctly or you want to launch the Abaqus solver and SIMULIA CSS separately to Simcenter STAR-CCM+ you can set the Launch Partner Option node to Do Not Launch. For more information see Specifying Co-Simulation Settings in Simcenter STAR-CCM+.
Once you have started running the Simcenter STAR-CCM+ simulation, you must launch the Abaqus solver and SIMULIA CSS through a command prompt or terminal. For example:
  • To launch the Abaqus solver:
    abaqus -job [PartnerJobName] -input [InputFile] -cpus[n] -csedirector [host:port]
  • To launch SIMULIA CSS:
    abaqus cse -job [AnotherCodeName] -config [xmlfile] -listenerport [port]

Where abaqus is the path to launch Abaqus, [PartnerJobName] is the name specified under the Partner Job Name node in Simcenter STAR-CCM+, [InputFile] is the Abaqus input (*.inp) file, [n] is the number of CPU's used to launch Abaqus, [host:port] is the name of the host:port used, [AnotherJobName] is the job name used by SIMULIA CSS, [xmlfile] is the name of the *.xml file create either exteranally or through Simcenter STAR-CCM+ and [port] is the port used to run SIMULIA CSS.

For more information on connecting Abaqus to external code, see the Abaqus online documentation.