|
[Sponsors] |
April 10, 2018, 15:05 |
Error in compiling udf in fluent
|
#1 |
New Member
vikash
Join Date: Jun 2016
Posts: 1
Rep Power: 0 |
When I am adding my udf file and building it, then this error comes up in fluent's command line:
(system "copy "C:\PROGRA~1\ANSYSI~1\v150\fluent"\fluent15.0.0\sr c\makefile_nt.udf "libudf\win64\3d\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\3d")# Generating ud_io1.h new_udf_at_end.c C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\corecrt_math.h(4 94): error C2059: syntax error: 'constant' C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\corecrt_math.h(4 94): error C2143: syntax error: missing ')' before '/' C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\corecrt_math.h(4 94): error C2143: syntax error: missing '{' before '/' C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\corecrt_math.h(4 94): error C2059: syntax error: '/' C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\corecrt_math.h(4 94): error C2059: syntax error: ')' Done. Next when I click on load this message comes up: Error: The UDF library you are trying to load (libudf) is not compiled for 3d on the current platform (win64). please help me, how can I use my udf in fluent |
|
April 11, 2018, 01:01 |
|
#2 |
New Member
Doruk Yelkenci
Join Date: Apr 2017
Posts: 20
Rep Power: 9 |
There are problems with your code. Double check the code for your parenthesizes
|
|
April 11, 2018, 11:00 |
|
#3 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
No, this problem is not in your code, it is in math.h.
Your system is not set up properly. There are other threads in this forum that explain how to do this. |
|
Tags |
fluent - udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
looking for a smart interface matlab fluent | chary | FLUENT | 24 | June 18, 2021 10:07 |
How to solve UDF compilation problems in Fluent. | pakk | Fluent UDF and Scheme Programming | 16 | September 10, 2018 03:48 |
The fluent stopped and errors with "Emergency: received SIGHUP signal" | yuyuxuan | FLUENT | 0 | December 3, 2013 23:56 |
Error while compiling udf in fluent 13.0.0 | siddharth12 | FLUENT | 0 | December 3, 2013 17:46 |
compiling my UDF | Seyed Farid Hosseinizadeh | FLUENT | 22 | February 14, 2006 11:19 |