-
-
September 27, 2017 at 11:19 am
nselvara
Ansys EmployeeHow can I compile and load a UDF when running Fluent via a journal file?
-
October 17, 2017 at 7:39 am
Arun
Ansys EmployeeThere are two commands needed. The first to compile the UDF: /define/user-defined/compiled-functions compile libudf yes sourcename.c "" And the second to load the library that was compiled in the previous step: /define/user-defined/compiled-funcitons load libudf Note that 'sourcename.c' is the name of your UDF file and the "" are two quotation marks in sequence (needed to terminate the string array input to Fluent).
-
October 26, 2022 at 11:40 pm
mashimaro_star
SubscriberIf I want to compile multiple c codes, can I write /define/user-defined/compiled-functions compile libudf yes sourcename1.c sourcename2.c sourcename3.c"" ? Or what should be the correct format?
Thank you.
-
May 29, 2023 at 8:34 pm
TONY ARHUR
Subscriberi am getting this error "
rotating_screws.c(2,10): fatal error: 'motion.h' file not found
#include "motion.h"
^~~~~~~~~~
1 warning and 1 error generated.
scons: *** [rotating_screws.obj] Error 1
please i need help
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
-
5454
-
3419
-
2475
-
1310
-
1022
© 2023 Copyright ANSYS, Inc. All rights reserved.