CFD Online Logo CFD Online URL
Home > Forums

Lognormal Distribution for Particle Size in OpenFOAM

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

Rate this Entry

Lognormal Distribution for Particle Size in OpenFOAM

Posted May 1, 2018 at 12:13 by Mehar

This is for future reference, if anyone wants to use lognormal particle distribution in OpenFoam.
1) Generate PDF from following formula

Here mu and sigma are the geometric mean and standard deviation of the particle size distribution
Here is an example plot of the lognormal distribution with mean 1 and standard deviations of 1.8, and 3. You can first re-create lognormal distribution with these parameters and compare with the one in the fig, to be sure that you are doing it write.

you can use programs like MS excel or matlab to generate data from above distribution
2) Select general distribution in the cloud properties dictionary in constant directory, and copy and paste your generated values under distribution,
the first column is particle size and the second is the probability.
I hope this will help you.
Thank you.
I have attached an excel file that I used to generate lognormal distribution for my work. I have also attached the a sample kinematicCloudProperties dict.

logNormal Pdf.xlsx

Posted in OpenFoam
Views 1879 Comments 1 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 1


  1. Old Comment
    Thanks for sharing this!
    Posted March 22, 2021 at 10:16 by Nomis Nomis is offline

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