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.
- How to overcome the model information incompatible with incoming mesh error?
- Skewness in ANSYS Meshing
- Is there a way to get the volume of a register using expression ?
- What are the requirements for an axisymmetric analysis?
- Ansys Fluent GPU Solver FAQs
- How to create and execute a FLUENT journal file?
- What are pressure-based solver vs. density-based solver in FLUENT?
- What is a .wbpz file and how can I use it?
- How to get information about mesh cell count and cell types in Fluent?
- How can I Export and import boxes / Systems from one Workbench Project to another?
© 2025 Copyright ANSYS, Inc. All rights reserved.