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

error of Interpreted udf

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 4, 2001, 03:29
Default error of Interpreted udf
  #1
Zhang Junmei
Guest
 
Posts: n/a
Dear Sir or madam,

Thanks for your help in recent days very much! As a new learner,your help is important to me. If you have some free time, would you please to give me a favor again?

Now, I will deal with an unsteady flow problem. The velocity of inlet is connected with time and position. If I use a transient profile to describe the velocity condition, it seems that the velocity must be spatially uniform and vary only in time. So I think maybe I shall use UDF to handle this condition.

Because the velocity can be expressed as small straightforward function, I choose the interpreted UDF to deal with the boundary condition. I following the manual to compile the UDF step by step, such as: 1) Copy the c source code and the case file in my working directory. 2) Start fluent from my working directory. 3) Read my case file. 4) Compile my UDF using the Interpreted UDFs panel.

After I press " compile" in the panel, the Error information expressed on the screen, such as : Errorrofile_v.c.txt:line 2:syntax error.

I don't know why and how to deal with this problem.

Would you please to give me a favor? BTW, profile_v.c.txt is the C source code I copy from the manual to test the correct of using UDF.

Thanks for your help very much! And hope to hear from you as soon as possible!

Regards and cheer Zhang Junmei

  Reply With Quote

 


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
Interpreted UDF Bikash FLUENT 10 December 3, 2019 00:52
UDF - Interpreted works and compiled doesn't AlwaysLearning FLUENT 9 October 30, 2018 00:52
A Problem of Fluent Interpreted UDF: parse error knight Fluent UDF and Scheme Programming 25 August 16, 2018 10:26
Interpreted UDF in parallel David Chabot Fluent UDF and Scheme Programming 8 May 30, 2012 03:18
compiled or interpreted udf Aireen FLUENT 11 August 25, 2005 00:54


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