CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

OF1.6 : RosinRammler.C

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

LinkBack Thread Tools Display Modes
Old   May 19, 2011, 09:51
Default OF1.6 : RosinRammler.C
New Member
Join Date: Apr 2010
Posts: 20
Rep Power: 9
mfmohdyasin is on a distinguished road
Dear all,
I'm trying to understand why the constant pre multiplier for Rosin Rammler distribution function is calculated as below:
scalar sMax = 0;
label n = d_.size();
for (label i=0; i<n; i++)
scalar s = exp(-1.0);
for (label j=0; j<n; j++)
if (i!=j)
scalar xx = pow(d_[j]/d_[i], n_[j]);
scalar y = xx*exp(-xx);
s += y;

sMax = max(sMax, s);

for (label i=0; i<n; i++)
ls_[i] /= sMax;

In the case of a unitInjector (n=1), ls_[0]=d/exp(-1). What does it mean by mean diameter/ exp(-1)?

mfmohdyasin is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
StreamFunction Utility in OF1.6 maruthamuthu_venkatraman OpenFOAM 5 September 28, 2011 09:28
subMesh, patch type differs OF1.5dev and OF1.6 nikwin OpenFOAM Programming & Development 0 March 23, 2011 07:28
Arbitrary crack propagation using OF1.6 gilav OpenFOAM Programming & Development 1 May 22, 2010 06:52
compressibleInterDyMFoam on OF1.6 lucadauria OpenFOAM Running, Solving & CFD 2 February 24, 2010 21:18
InterTrackFoam in OF1.6? M_Harrer OpenFOAM Running, Solving & CFD 2 November 17, 2009 10:43

All times are GMT -4. The time now is 18:14.