I try to run a Functional Mock-up Interface (FMI) Co-simulation in CFX. When I try to initialize my Functional Mock-up Unit (FMU) in CFX-Pre, I get an error message “FMUs with String or Enumeration Scalar Variables are not supported.”. What is the reason for this and is there a workaround?
Tagged: 2019 R2, cfx, fluid-dynamics, FMU, General - CFX
March 17, 2023 at 8:57 amFAQParticipant
When trying to initialize an FMU that contains any variables of type “String” or “Enumeration”, the FMU cannot be initialized in CFX-Pre and you’ll get the following error message: ERROR Error reading the FMU file ‘D:/mypath/myFMU.fmu’: FMUs with String or Enumeration Scalar Variables are not supported. This is a documented limitation, see CFX Modeling Guide, chapter 14.2.1. “Limitations of using CFX with FMI”: — * Both integer and logical parameters are represented by real values inside the CFX-Solver, and converted during communication with FMUs. CFX implementation does not support FMU parameters of strings or enumeration types. — It is important to note that with CFX versions up to 2019 R2, this limitation also applies to internal variables of the FMU (that is, variables that are no inputs or outputs, but e.g. constants) of type “String” or “Enumeration” which will never be used or touched by the CFX solver. This will be corrected in CFX 2019 R3, so you will be able to use FMUs with internal variables of type “String” or “Enumeration” and just the input and output variables must be of type “Integer”, “Real”, or “Boolean”. For versions up to 2019 R2, the only workaround is to modify your FMI/FMU model such that it does not use enumeration and string variables anywhere in the model.
Introducing Ansys Electronics Desktop on Ansys Cloud
The Watch & Learn video article provides an overview of cloud computing from Electronics Desktop and details the product licenses and subscriptions to ANSYS Cloud Service that are...
How to Create a Reflector for a Center High-Mounted Stop Lamp (CHMSL)
This video article demonstrates how to create a reflector for a center high-mounted stop lamp. Optical Part design in Ansys SPEOS enables the design and validation of multiple...
Introducing the GEKO Turbulence Model in Ansys Fluent
The GEKO (GEneralized K-Omega) turbulence model offers a flexible, robust, general-purpose approach to RANS turbulence modeling. Introducing 2 videos: Part 1 provides background information on the model and a...
Postprocessing on Ansys EnSight
This video demonstrates exporting data from Fluent in EnSight Case Gold format, and it reviews the basic postprocessing capabilities of EnSight.
- ANSYS Fluent: Introduction to the GEKO Turbulence Model Part I
- ANSYS System Coupling: Two Way Fluid Structure Interaction – Part 1
- Delete or Deactivate Zone in Fluent
- ANSYS Polyflow: Adaptive Meshing Based on Contact
- Apply Custom Material Properties in Fluent
- What is meant by Warning: Flow boundary zone 18 is adjacent to a solid zone?
- Aero-Mechanical Simulation of Turbomachinery Blading
- Check CPU Time in ANSYS FLUENT
- Running Python Script from Workbench
- Predict Gearbox Lubrication, Oil Temperature and Churning Losses using CFD Simulation
© 2023 Copyright ANSYS, Inc. All rights reserved.