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

User define flux function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2004, 05:53
Default User define flux function
  #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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Set user define memory D.Martelli FLUENT 2 December 9, 2010 14:27
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
return more than one value from a user function Benny CFX 0 July 18, 2008 11:00
REAL GAS UDF brian FLUENT 6 September 11, 2006 09:23


All times are GMT -4. The time now is 20:50.