STAR-CCM+ FMU Co-Simulation with Simcenter Amesim

STAR-CCM+ FMU Co-Simulation with Simcenter Amesim fmi2Fatal

A customer attempted the tutorial, "FMU Co-Simulation with Simcenter Amesim: Check Valve" from the STAR-CCM+ User Guide and received this error messaged: Function fmi2ExitInitializationMode returned status 'fmi2Fatal'. Note, this was performed using Windows.

When performing co-simulations and experience errors like this it is important to enable High Verbosity FMI logging. You may activate this setting in the stated tutorial here: External Links > Link 1 > Conditions > FMI Logging. After setting the verbosity to high and initializing the solution, the high verbosity output indicated the Amesim library failed to load followed by the same error.

This issue was resolved by setting the following Environment Variables (windows):
  1. Create and set AME environment variable to the Amesim installation directory (AME = {Amesim Directory}).
  2. Edit the Path environment variable to include the following:
    %AME%;%AME%\win32;%AME%\win64;%AME%\sys\mingw32\bin;%AME%\sys\mingw64\bin;%AME%\sys\python\win32;%AME%\sys\python\win64

    • Related Articles

    • Introduction to Simcenter STAR-CCM+ Webinar

      What's in this webinar? SDA Software Director of Engineering Ted Blowe presents this webinar on Introduction to Simcenter STAR-CCM+. The following topics will be discussed: Understanding Simcenter STAR-CCM+: Simcenter STAR-CCM+ serves as a versatile ...
    • How do I download Simcenter STAR-CCM+?

      Please follow these step-by-step instructions to download Simcenter STAR-CCM+: Login to the Siemens Support Center. Create an account if necessary. Select Simcenter STAR-CCM+ Click Downloads. Select the version you wish to download. It is highly ...
    • What's New in STAR-CCM+ v2302?

      What's in this webinar? SDA Software Engineer Ted Blowe presents this webinar on What's New In STAR-CCM+ v2302. During this webinar you will learn about some of the exciting new enhancements in the latest version of STAR-CCM+, including the following ...
    • Simcenter STAR-CCM+ Custom Installation using Siemens License Server

      Follow these step-by-step instructions to download Simcenter STAR-CCM+ with the new Siemens License Server: Install and setup Siemens License Server (saltd vendor daemon). Download the latest version of STAR-CCM+. Launch the installer. Review and ...
    • Simcenter STAR-CCM+ License Server Change Request

      Changing your STAR-CCM+ license to a new server will require you to complete, sign, and return a server change request form. Please submit a support ticket for the form. You will need the following information from the old and new license server ...