I try to run a Functional Mock-up Interface (FMI) Co-simulation in CFX. When I run the simulation, CFX seems to pass zero to the FMU instead of the correctly evaluated expression result for the FMU input variables. What could be the reason for this and how can I correct the behavior?
Tagged: 2019 R1, cfx, fluid-dynamics, FMU, General - CFX
-
-
March 17, 2023 at 8:58 am
FAQ
ParticipantIf your FMU has the property canGetAndSetFMUstate = true which means that during a transient run the FMU can be called at each coefficient loop iteration and not just once per time step, CFX 2019 R1 and older versions will not call the FMU correctly. This is due to a defect which is fixed in 2019 R2. As a workaround in versions where the defect is not yet fixed, you can add the following option to the CCL of the Functional Mockup Unit Instance User Function to make sure that the FMU will be called and the inputs and outputs are updated and transferred correctly: Coupling Location = Start of Coefficient Loop This modification is not possible directly in the User Function GUI in CFX-Pre, but must be done in the Command Editor (right-click on the User Function in CFX-Pre -> Edit in Command Editor). The complete CCL of the Functional Mockup Unit Instance User Function will then look like this: FUNCTION: MyFMUModel Coupling Location = Start of Coefficient Loop FMU File Name = D:mypathMyFMUMOdel.fmu Option = Functional Mockup Unit Instance ARGUMENT VALUE: InputA Expression Value = myInputExpression Value Name = InputA END RESULT VALUE: OutputA Value Name = OutputA END END
-

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.
- How can I create a Cell Register from a Cell Zone?
- Left-handed faces troubleshooting
- How to overcome the model information incompatible with incoming mesh error?
- How to create and execute a FLUENT journal file?
- What are the requirements for an axisymmetric analysis?
- How can I Export and import boxes / Systems from one Workbench Project to another?
- Delete or Deactivate Zone in Fluent
- Running Python Script from Workbench
- ANSYS Fluent: Introduction to the GEKO Turbulence Model Part I
- ANSYS System Coupling: Two Way Fluid Structure Interaction – Part 1
© 2023 Copyright ANSYS, Inc. All rights reserved.