|
[Sponsors] |
October 30, 2014, 09:36 |
Probability density function
|
#1 |
Senior Member
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16 |
Hi All,
Is there any pre-implemented function to calculate the pdf (probability density function) of a given variable? I need something that does more or less what the matlab command "hist" does to calculate the pdf of the velocity during the run. Thanks Andrea |
|
October 30, 2014, 09:41 |
pdfPlot
|
#2 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Hi,
Application: pdfPlot Description: Generates a graph of a probability distribution function. $WM_PROJECT_DIR/applications/utilities/postProcessing/miscellaneous/pdfPlot Never used it though. Cheers Fabian |
|
October 31, 2014, 03:14 |
|
#3 |
Senior Member
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16 |
Hi Fabian,
It seems a good starting point. Thank you for the hint. Best, Andrea |
|
November 4, 2014, 12:36 |
|
#4 |
Senior Member
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16 |
Hi,
maybe very stupid question...but how max and min function work for scalarField? To define my intervals i need to define the minimum and maximum of a scalarField. If i use min(myScalarField) or max(myScalarField) i get very strange numbers. So, do min and max work for scalarField and do they work also in parallel (do they perform reduce operations)? best, andrea |
|
November 7, 2014, 02:27 |
gmin/gmax
|
#5 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Nope, min and max only work for one processor. For parallel runs you have to use global gmin/gmax functions.
Cheers Fabian |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 13:06 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 12:21 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 06:42 |
pdfPlot , probability density funktion , pdf , pdfDictionary | heavy_user | OpenFOAM Post-Processing | 2 | October 15, 2010 08:06 |
How to get probability density function (PDF) in OpenFoam? | openfoam15 | OpenFOAM | 5 | July 6, 2009 03:37 |