CFD Online Logo CFD Online URL
Home > Forums > FLUENT

User defined memory

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   September 24, 2004, 00:10
Default User defined memory
Posts: n/a

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.

  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I allocate user defined memory? MASOUD Fluent UDF and Scheme Programming 1 November 20, 2014 03:12
Trouble setting user scalar and user memory names tstorm FLUENT 5 April 19, 2013 01:45
user defined sourcen term xck1986 CFX 1 July 8, 2010 08:35
user defined turbulence model manuutin STAR-CD 5 October 14, 2009 05:29
Gradient of a User defined Variable Ramadas CFX 2 August 21, 2007 09:19

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