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

Accessing previous time step temperature in UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2006, 11:46
Default Accessing previous time step temperature in UDF
  #1
Sam Bennett
Guest
 
Posts: n/a
Hi everyone,

I'm trying to access the temperature from the previous time step on a face. I think I need to define a UDS but I'm not sure how. At present I have a line in a DEFINE_PROFILE UDF that says:

F_UDSI(f,t1,0)= F_T_M1(f,t1);

face_temp = F_UDSI(f,t1,0);

When I try to compile this I get the message "F_T_M1: undeclared variable"

Do I need to 1) #INCLUDE something more than udf.h. 2) Define the UDS somewhere else. 3) Do something else?

Thanks in advance for your help, Sam
  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
Floating point exception error Alan OpenFOAM Running, Solving & CFD 11 July 1, 2021 22:51
Time step, Number of time step, Maxximum Iterations per time step sandisk FLUENT 0 July 18, 2011 03:57
directMapped problem panda60 OpenFOAM Bugs 4 July 8, 2010 11:23
Time step in transient simulation shib FLUENT 0 June 17, 2010 14:07
AMG versus ICCG msrinath80 OpenFOAM Running, Solving & CFD 2 November 7, 2006 16:15


All times are GMT -4. The time now is 18:52.