CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF error ***config.h: line 118: parse error***/string.h: line 45: syntax error***

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2016, 14:39
Default UDF error ***config.h: line 118: parse error***/string.h: line 45: syntax error***
  #1
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Hi everyone,

I interpret a UDF code that I have written in Fluent (v16.2) and there is no error returned regarding the actual UDF code. But I receive this error at the very end of the log:

Error: C:\\PROGRA~1\\ANSYSI~1\\v162\\fluent\\fluent16.2.0/src/main/config.h: line 118: parse error.

I have to add that I receive this error when I interpret the UDF in a fluent installed on a windows machine. I also have access to the same version of fluent on Linux and when I interpret the same code on Linux machine I receive the following:


from /general/home/nikp11/UDF project/sst.c:5:
/usr/include/alloca.h:25: stddef.h: No such file or directory
In file included from /general/home/nikp11/UDF project/sst.c:5:
/software/easybuild/software/ANSYS/16.2/v162/fluent/fluent16.2.0/src/main/global.h:30: stddef.h: No such file or directory
In file included from /software/easybuild/software/ANSYS/16.2/v162/fluent/fluent16.2.0/src/main/global.h:155,
from /general/home/nikp11/UDF project/sst.c:5:
/usr/include/malloc.h:25: stddef.h: No such file or directory
In file included from /software/easybuild/software/ANSYS/16.2/v162/fluent/fluent16.2.0/src/main/global.h:232,
from /general/home/nikp11/UDF project/sst.c:5:
/software/easybuild/software/ANSYS/16.2/v162/fluent/fluent16.2.0/cortex/src/cx.h:35: float.h: No such file or directory
Error: /usr/include/string.h: line 45: syntax error.
cpp: output pipe has been closed


The Actual error is much longer than what I have copied here. I am pretty sure that the UDF is not wrong and probably this error is associated with libraries.

Could anyone please help? I need some serious help here.

Thanks,

Ali
alinik is offline   Reply With Quote

Old   November 3, 2020, 11:43
Default
  #2
New Member
 
Monza e Brianza
Join Date: Nov 2020
Posts: 8
Rep Power: 6
loren is on a distinguished road
Hi Ali, could you solve it? I'm facing the same problem...
loren is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 12:04
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 01:53
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
Problems of Duns Codes! Martin J Main CFD Forum 8 August 15, 2003 00:19
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 22:59.