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

urgent UDF problem. please help

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 8, 2007, 11:01
Default urgent UDF problem. please help
  #1
majd
Guest
 
Posts: n/a
Hi friends. i'm trying to make fluent reiterating a time step with my udf. i used compiled udf and the following code to do it.

CURRENT_TIME = PREVIOUS_TIME;

N_TIME = N_TIME - 1;

i see that this code is not true and i've got the following error:

"left operand must be l-value"

for both lines. can anyone help me to do this. thanks.
  Reply With Quote

Old   August 8, 2007, 12:09
Default Re: urgent UDF problem. please help
  #2
Joe
Guest
 
Posts: n/a
You cannot do that within a UDF.
  Reply With Quote

Old   August 8, 2007, 12:15
Default Re: urgent UDF problem. please help
  #3
majd
Guest
 
Posts: n/a
but, what can i do for doing that?
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF Problem ozgur Fluent UDF and Scheme Programming 18 January 17, 2016 15:40
Pressure profile UDF for unsteady-state problem? Mohsen Keshavarzian FLUENT 2 August 20, 2008 04:22
parallel UDF problem kerem FLUENT 2 June 20, 2006 06:56
Switch problem! using 2 custom udf laws at the same time HP FLUENT 0 September 15, 2004 09:48
UDF variables F1, y / problem with UDF Fabian FLUENT 6 June 2, 2003 10:22


All times are GMT -4. The time now is 01:40.