|
[Sponsors] | |||||
Accessing previous time step temperature in UDF |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
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 |
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |