I have UDF that used to work, but now the compilation is failing on a header file with the error: ….srcUDF.c(9) : fatal error C1083: Cannot open include file: ‘info.h’: Invalid argument If I comment out the include line for info.h, it fails on the next header file. The required header files are all in my working directory. Why isn’t Fluent finding them?
Tagged: 19, fluent, fluid-dynamics, General - FLUENT, udf
-
-
May 15, 2023 at 8:32 am
Solution
ParticipantUnlike built-in header files, custom header files will not be located unless they are added to the right hand side of the “Compiled UDFs” window (see attachment). This will ensure that they are copied (along with the UDF) to the libudf/src folder, which is where the compile looks for them.
Attachments:
1. header_files.png
-

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
- How can I create a Cell Register from a Cell Zone?
- ANSYS System Coupling: Two Way Fluid Structure Interaction – Part 1
- Delete or Deactivate Zone in Fluent
- Left-handed faces troubleshooting
- Running Python Script from Workbench
- ANSYS Polyflow: Adaptive Meshing Based on Contact
- Check CPU Time in ANSYS FLUENT
- How to overcome the model information incompatible with incoming mesh error?
- Apply Custom Material Properties in Fluent
© 2023 Copyright ANSYS, Inc. All rights reserved.