CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 3, 2009, 04:10
Default How to get probability density function (PDF) in OpenFoam?
  #1
New Member
 
Jiayuan Jin
Join Date: Mar 2009
Posts: 8
Rep Power: 8
openfoam15 is on a distinguished road
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)?
openfoam15 is offline   Reply With Quote

Old   July 3, 2009, 04:19
Default
  #2
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 9
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Quote:
Originally Posted by openfoam15 View Post
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?
ivan_cozza is offline   Reply With Quote

Old   July 3, 2009, 04:44
Default
  #3
New Member
 
Jiayuan Jin
Join Date: Mar 2009
Posts: 8
Rep Power: 8
openfoam15 is on a distinguished road
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.
openfoam15 is offline   Reply With Quote

Old   July 3, 2009, 06:40
Default
  #4
New Member
 
Jiayuan Jin
Join Date: Mar 2009
Posts: 8
Rep Power: 8
openfoam15 is on a distinguished road
and then calculate integration of f between 0 to 1: {C_dimessionless*fai(f)df}
openfoam15 is offline   Reply With Quote

Old   July 3, 2009, 07:25
Default
  #5
New Member
 
Jiayuan Jin
Join Date: Mar 2009
Posts: 8
Rep Power: 8
openfoam15 is on a distinguished road
about calculate the fluctuation of specie's concentration.
Does someone know how to call the integration function or about this?

waiting online.
openfoam15 is offline   Reply With Quote

Old   July 6, 2009, 03:37
Default
  #6
New Member
 
Jiayuan Jin
Join Date: Mar 2009
Posts: 8
Rep Power: 8
openfoam15 is on a distinguished road
up and ask?
openfoam15 is offline   Reply With Quote

Reply

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
LiencubiclowRemodel nzy102 OpenFOAM Bugs 14 January 10, 2012 09:53
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
User defined function for density gradient ben akih CFX 3 October 10, 2006 21:47
PDF - conserved scalar approach in KIVA vega Main CFD Forum 0 July 5, 2005 02:49
Making the density a function additional variab. Sebastien Perron CFX 4 August 8, 2003 08:03


All times are GMT -4. The time now is 03:21.