-
-
October 9, 2018 at 9:08 am
-
October 9, 2018 at 9:26 am
Amine Ben Hadj Ali
Ansys EmployeeCan you compile a small UDF in Fluent outside the Workbench?
Example will be:
Â
#include "udf.h"
DEFINE_ON_DEMAND(Hello)
{
Message0("nHello World!n");
}
Â
-
October 9, 2018 at 10:07 am
ft19
Subscriberyes, i tryed to compile this code in c++ and imported it in ansys but it displays the same error. do you know why? i tryed also to compile it in wordpad, but same error.
-
October 9, 2018 at 11:02 am
Amine Ben Hadj Ali
Ansys EmployeeHave you tried to compile the lines I have sent? Have you installed the required compilers (Visual Studio)?
-
October 9, 2018 at 11:06 am
Keyur Kanade
Ansys EmployeePlease see this list of compatible visual studio applications using the link below and make sure you have a correct version installed on your system.
/forum/forums/topic/ansys-19-0-visual-studio-intel-parallel-studio-xe-version-required-for-upfs/
Thank you.
Keyur
-
October 9, 2018 at 11:49 am
seeta gunti
Ansys EmployeeHello ft,
To compile the UDF, we need to install VS in your windows machine. You need to set either the environment variables or run the fluent from VS command prompt and compile the UDF.Â
for more information, please go through the below link.
https://youtu.be/l4wcXAQ5IGY
https://youtu.be/OPfgkORSESQ
Â
-
October 24, 2018 at 5:06 am
Keyur Kanade
Ansys EmployeeIs your issue resolved?
Regards,
Keyur
-
- The topic ‘problem with udf – windows 10’ is closed to new replies.
- How do I get my hands on Ansys Rocky DEM
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- convergence issue for transonic flow
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Point exception in erosion calculation
- Script Error Ansys
- Errors with multi-connected bodies using AQWA
- Quantitative results
-
2663
-
953
-
813
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.