CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Accessing Variables from Previous Timestep (http://www.cfd-online.com/Forums/fluent/33188-accessing-variables-previous-timestep.html)

Vinayak Barve March 8, 2004 22:37

Accessing Variables from Previous Timestep
 
Hi,

I am trying to access the value of variables from the previous timestep in a UDF. e.g. C_U_M1(c,t), but UDF gives me a "SEGMENTATION VIOLATION" error. Is there any particular set-up required for such UDF's ?

Thanks in Advance, Vinayak


varghese March 10, 2004 07:40

Re: Accessing Variables from Previous Timestep
 
Have you allocated memory location! It is necessary for the User-Defined_Memory to properly work to define memory locations!

Varghese


All times are GMT -4. The time now is 15:07.