CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

DEFINE_INIT in multiphase eulerian model

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2009, 15:13
Default DEFINE_INIT in multiphase eulerian model
Posts: n/a
Hello everybody,

I am trying this code to define as initial temperature distribution in a sphere of radius 0.5. I compiled it well but when I iterate I have a violation error. The function is:

DEFINE_INIT(my_init_function, domain)


Thread *t;

Thread **pt;

cell_t c;

Domain *pDomain = DOMAIN_SUB_DOMAIN(domain,1);

real xc[ND_ND], y, x;

mp_thread_loop_c (t,domain,pt)

begin_c_loop_all (c,t)





if ( x*x+y*y < 0.5*0.5 )





end_c_loop_all (c,t)


  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
the Eulerian multiphase model in CFX Hossam CFX 0 October 27, 2008 14:04
Eulerian Multiphase Model Mahesh FLUENT 1 May 10, 2003 19:24
enabling UDS in Eulerian-eulerian multiphase model shao1 FLUENT 0 July 14, 2002 23:23
Eulerian multiphase model with multicomponents? Shankar FLUENT 1 July 4, 2002 05:36
Problem of B.C. in Eulerian multiphase model Derek Jing FLUENT 0 May 12, 2002 12:52

All times are GMT -4. The time now is 03:11.