|
[Sponsors] |
January 16, 2014, 12:26 |
Question about the regionSizeDistribution.C
|
#1 |
Member
Join Date: Mar 2012
Posts: 51
Rep Power: 14 |
Hi,
I have a question about the regionSizeDistribution.C file: ln111: where is the constant::mathematical:: pi in Code:
const scalar maxDropletVol = 1.0/6.0*pow(maxDiam_, 3) Thanks in advance (Moderator note: This post has been moved from this thread http://www.cfd-online.com/Forums/ope...tribution.html ) Last edited by wyldckat; January 26, 2014 at 13:16. Reason: see "Moderator note:" |
|
January 26, 2014, 13:14 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings callahance,
Are you referring to this block of code? Code:
// Calculate the diameters scalarField sortedDiameters(sortedVols.size()); forAll(sortedDiameters, i) { sortedDiameters[i] = Foam::cbrt ( sortedVols[i] *6/constant::mathematical::pi ); } Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
small question about the functionalities of topological changes in OpenFoam | ngj | OpenFOAM Running, Solving & CFD | 2 | February 28, 2013 10:02 |
Question Re Engineering Data Source | imnull | ANSYS | 0 | March 5, 2012 13:51 |
internal field question - PitzDaily Case | atareen64 | OpenFOAM Running, Solving & CFD | 2 | January 26, 2011 15:26 |
question on bounday layer modeling | Wen Long | Main CFD Forum | 2 | November 12, 2005 17:29 |
Poisson Solver question | Suresh | Main CFD Forum | 3 | August 12, 2005 04:37 |