CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Help !!!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2004, 12:05
Default Help !!!
  #1
kethireddy
Guest
 
Posts: n/a
Hello i am trying to solve a transport equation using user defined scalar.In this equation i want to customorise the differential transport equation by using userdefined function DEFINE_UDS_FLUX (please see 4.3.19). my function is as follows-------------------------------------------------------------------- ---------------------------------- DEFINE_UDS_FLUX(UDS_flux, f, t, i) { real rho; rho = C_R(f,t); return F_FLUX(f, t)/rho; }

------------------------- THe problem is it gives segmentation error duing solution process. I guess there is problem at boundaries. How can i correct it. please help me in inroducing some additional loops like if (NULL != THREAD_T1(f,t)) etc or else give me some suggestions.

bye kethireddy
  Reply With Quote

Old   July 5, 2004, 14:51
Default Re: Help !!!
  #2
ap
Guest
 
Posts: n/a
The error is here:

rho = C_R(f,t);

you're using a C_ macro, which reads a *cell* data, passing to it a face (f) argument.

Hi

ap
  Reply With Quote

Old   July 6, 2004, 05:17
Default Re: Help !!!
  #3
kethireddy
Guest
 
Posts: n/a
Hello thanks for your email. i am sorry to say that i typed here incorrectly. I used rho= F_R(f,t) even then there is an error please guide me bye kethireddy
  Reply With Quote

Reply


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



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