|
[Sponsors] |
July 5, 2004, 05:53 |
User define flux function
|
#1 |
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 |
|
|
|
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 |