# How to get probability density function (PDF) in OpenFoam?

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

 July 3, 2009, 04:10 How to get probability density function (PDF) in OpenFoam? #1 New Member   Jiayuan Jin Join Date: Mar 2009 Posts: 8 Rep Power: 17 such like beta distribution function or battlement PDF. If not, Is there some mathematic function to calculate integration(detail: 1-dimension, interval 0 to 1)?

July 3, 2009, 04:19
#2
Senior Member

Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
Quote:
 Originally Posted by openfoam15 such like beta distribution function or battlement PDF. If not, Is there some mathematic function to calculate integration(detail: 1-dimension, interval 0 to 1)?
Can you give more details on your question?
You need to evaluate random numbers with a certain PDF?

 July 3, 2009, 04:44 #3 New Member   Jiayuan Jin Join Date: Mar 2009 Posts: 8 Rep Power: 17 Thanks! Here it is: I need to calculate PDF such like fai(f)=(f^(v-1))*((1-f)^(w-1))/B(v,w), where B(v,w)=Integration of x from 0 to 1: {(x^(v-1))*((1-x)^(w-1))*dx}, v and w already known.

 July 3, 2009, 06:40 #4 New Member   Jiayuan Jin Join Date: Mar 2009 Posts: 8 Rep Power: 17 and then calculate integration of f between 0 to 1: {C_dimessionless*fai(f)df}

 July 3, 2009, 07:25 #5 New Member   Jiayuan Jin Join Date: Mar 2009 Posts: 8 Rep Power: 17 about calculate the fluctuation of specie's concentration. Does someone know how to call the integration function or about this? waiting online.

 July 6, 2009, 03:37 #6 New Member   Jiayuan Jin Join Date: Mar 2009 Posts: 8 Rep Power: 17 up and ask?