CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   User defined memory (

Hp September 24, 2004 00:10

User defined memory

I have some problem in using UDM. I am using a multiphase model and I need the user defined memory to save the velocity. The following is my code:

#include "udf.h" DEFINE_ON_DEMAND(Init_UDM) {

Domain *mix_d=Get_Domain(1);

Thread *t,*water_t;

cell_t c;

real t1;









I first define the 1 user defined memory and then execute the Excute_on_demand. And I get the following error information. Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: ()

I am so confused since I can't find anyting wrong with the code. Can someone clarify for me? Thank you.


All times are GMT -4. The time now is 01:48.