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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2009, 05:10
Default How to get probability density function (PDF) in OpenFoam?
  #1
New Member
 
Jiayuan Jin
Join Date: Mar 2009
Posts: 8
Rep Power: 17
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, 05:19
Default
  #2
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
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, 05:44
Default
  #3
New Member
 
Jiayuan Jin
Join Date: Mar 2009
Posts: 8
Rep Power: 17
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, 07:40
Default
  #4
New Member
 
Jiayuan Jin
Join Date: Mar 2009
Posts: 8
Rep Power: 17
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, 08:25
Default
  #5
New Member
 
Jiayuan Jin
Join Date: Mar 2009
Posts: 8
Rep Power: 17
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, 04:37
Default
  #6
New Member
 
Jiayuan Jin
Join Date: Mar 2009
Posts: 8
Rep Power: 17
openfoam15 is on a distinguished road
up and ask?
openfoam15 is offline   Reply With Quote

Reply


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 Off
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 15:25
User defined function for density gradient ben akih CFX 3 October 10, 2006 22:47
PDF - conserved scalar approach in KIVA vega Main CFD Forum 0 July 5, 2005 03:49
Making the density a function additional variab. Sebastien Perron CFX 4 August 8, 2003 09:03


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