CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   How to get gata of previous time step (

Johnyi November 29, 2012 00:18

How to get gata of previous time step
I am trying to define a source to a cell zone. The source is a function of temperature of the previous time step. I wrote the UDF as follows:

include "udf.h"
real x[ND_ND];
real source;
real tem1;
return source;

I was able to interpreted or complied the UDF and loaded it and defined to the cell zone. however, when trying to run Fluent, It gave the information:
FLUENT received fatal signal (ACCESS_VIOLATION)

Can anybody help me to solve this problem?


All times are GMT -4. The time now is 02:33.