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

UDF syntax error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2017, 11:17
Default UDF syntax error
  #1
New Member
 
Mike McManuc
Join Date: Nov 2016
Posts: 9
Rep Power: 9
BigMc is on a distinguished road
Hi,
Im hoping someone could help with an issue I'm having in relation to interpreting a UDF in fluent.

the UDF works perfectly on my windows 7, but when I try to use it on a parallel machine I get the error "Error "":Line 1 syntax error.
Line 1 in my UDF is #include "udf.h"

I have seen elsewhere on this forum that this error is associated with the line endings and a Linux compiler, however I have checked the line endings in my UDF and they are all LF which is correct for Linux.

could anyone provide any advice in relation to this?

Thanks
BigMc 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
Compile calcMassFlowC aurore OpenFOAM Programming & Development 13 March 23, 2018 07:43
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 05:34
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! alban Fluent UDF and Scheme Programming 2 June 8, 2010 18:54


All times are GMT -4. The time now is 05:28.