|
[Sponsors] |
PREVIOUS_2_TIME Macro giving error while interpret. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 25, 2019, 10:08 |
PREVIOUS_2_TIME Macro giving error while interpret.
|
#1 |
Senior Member
nm
Join Date: Mar 2013
Posts: 100
Rep Power: 13 |
the UDF manual doesn't say any limitations on this macro other than to include the unsteady.h header which I have. PREVIOUS_TIME also seem to work. However, PREVIOUS_2_TIME doesn't seem to work and gives the following error:
"label "dt_factor" not found " Note that my udf does not have anything called dt_factor. Also the udf works as soon as I comment out the "t2=PREVIOUS_2_TIME;" line. thanks for any help or guesses. |
|
September 27, 2019, 00:46 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Code:
#include "udf.h" #include "unsteady.h" real time2; DEFINE_ON_DEMAND(name_any) { time2=PREVIOUS_2_TIME; } best regards |
|
Tags |
error, fluent, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF giving warning, although used stdio.h header file | jeevankumarb | Fluent UDF and Scheme Programming | 7 | December 31, 2019 10:06 |
fvOptions | npatricia | OpenFOAM | 6 | May 23, 2018 06:21 |
timestep extraction for macro | manuc | Tecplot | 0 | August 10, 2016 13:20 |
Macro problem | cfddummy | Siemens | 1 | April 9, 2007 13:37 |