How to get probability density function (PDF) in OpenFoam?
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)?
|
Quote:
You need to evaluate random numbers with a certain PDF? |
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. |
and then calculate integration of f between 0 to 1: {C_dimessionless*fai(f)df}
|
about calculate the fluctuation of specie's concentration.
Does someone know how to call the integration function or about this? waiting online. :cool: |
up and ask?
|
All times are GMT -4. The time now is 11:40. |