-
-
May 22, 2022 at 10:20 am
Learner123
SubscriberRespected Sir/Mam While compiling my UDF in Ansys Built-In Compiler, I constantly receive 1 warning which I am not able to understand. Does it affect my solution convergence?
"In file included from VIS_NEW.cpp:1:
In file included from D:\Program Files\ANSYS Inc\v211\fluent\fluent21.1.0\src\udf\udf.h:22:
In file included from D:\Program Files\ANSYS Inc\v211\fluent\fluent21.1.0\src\main\global.h:249:
In file included from D:\Program Files\ANSYS Inc\v211\fluent\fluent21.1.0\src\storage\var.h:10:
D:\Program Files\ANSYS Inc\v211\fluent\ntbin\clang\10\Include\10.0.18362.0\shared\basetsd.h(322,12): warning: cast to 'void *' from smaller integer type 'unsigned long' [-Wint-to-void-pointer-cast]
return((void * POINTER_32) (unsigned long) (ULONG_PTR) p);
^
1 warning generated.
"D:\Program Files\ANSYS Inc\v211\fluent"\ntbin\clang\bin\lld-link "D:\Program Files\ANSYS Inc\v211\fluent\fluent21.1.0\win64\3ddp_node\fl_mpi2110.lib" "D:\Program Files\ANSYS Inc\v211\fluent\fluent21.1.0\multiport\win64\mpi\shared\mport.lib" "D:\Program Files\ANSYS Inc\v211\fluent\ntbin\clang\lib\libcmt.lib" "D:\Program Files\ANSYS Inc\v211\fluent\ntbin\clang\lib\libcpmt.lib" "D:\Program Files\ANSYS Inc\v211\fluent\ntbin\clang\lib\libvcruntime.lib" "D:\Program Files\ANSYS Inc\v211\fluent\ntbin\clang\lib\oldnames.lib" "D:\Program Files\ANSYS Inc\v211\fluent\ntbin\clang\lib\onecore.lib" "D:\Program Files\ANSYS Inc\v211\fluent\ntbin\clang\lib\libucrt.lib" "D:\Program Files\ANSYS Inc\v211\fluent\ntbin\clang\lib\uuid.lib" /dll /out:libudf.dll udf_names.obj VIS_NEW.objscons: done building targets.
Done"
Please help.
-
May 24, 2022 at 4:51 am
Learner123
SubscriberSir/Mam Please help.
Does the above warning while compiling UDF affects the solution.
-
May 24, 2022 at 6:35 am
DrAmine
Ansys EmployeeIf you can load the libudf without issues then ignore the warning.
-
- 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
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
3694
-
2564
-
1765
-
1236
-
592
© 2023 Copyright ANSYS, Inc. All rights reserved.