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

modifying radial distribution function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2012, 04:20
Default modifying radial distribution function
  #1
New Member
 
Join Date: Jul 2012
Posts: 19
Rep Power: 14
ravindra is on a distinguished road
hey friends,
i have to write udf for modifying radial distribution function for eulerian granular simulation for fluidised bed reactor.i dont know haw to do ....please help me out.....
ravindra is offline   Reply With Quote

Old   September 7, 2012, 02:53
Default
  #2
New Member
 
Join Date: Jul 2012
Posts: 19
Rep Power: 14
ravindra is on a distinguished road
this is the udf which i hv written ......but there is error while iterating.

#include "udf.h"

DEFINE_PROPERTY(cell_radial,c,t)
{
real rad_dis;
real a_a;

a_a=1-pow(((1.-C_VOF(c,t))/0.63),(1/3));
rad_dis=(3/5)*pow(a_a,-1);

return rad_dis;
}
ravindra is offline   Reply With Quote

Old   September 2, 2014, 15:03
Default
  #3
New Member
 
Mari
Join Date: Jul 2014
Posts: 2
Rep Power: 0
marinagr is on a distinguished road
Hello, ravindra.
Were you able to solve this problem? I have the exact same problem and I can't write a right UDF for it.
Thanks in advance!
marinagr is offline   Reply With Quote

Reply

Tags
udf code


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
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 02:47
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Residence time distribution function Roustam Phoenics 3 February 26, 2002 09:47


All times are GMT -4. The time now is 22:07.