CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Question about the regionSizeDistribution.C

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

LinkBack Thread Tools Display Modes
Old   January 16, 2014, 13:26
Default Question about the regionSizeDistribution.C
Join Date: Mar 2012
Posts: 51
Rep Power: 7
callahance is on a distinguished road

I have a question about the regionSizeDistribution.C file:

ln111: where is the constant::mathematical:: pi in
const scalar maxDropletVol = 1.0/6.0*pow(maxDiam_, 3)
I didnt check the whole .C and .H files so i dont know if there are still some hidden mistakes in the files.

Thanks in advance

(Moderator note: This post has been moved from this thread )

Last edited by wyldckat; January 26, 2014 at 14:16. Reason: see "Moderator note:"
callahance is offline   Reply With Quote

Old   January 26, 2014, 14:14
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,020
Blog Entries: 39
Rep Power: 109
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings callahance,

Are you referring to this block of code?
// Calculate the diameters
scalarField sortedDiameters(sortedVols.size());
forAll(sortedDiameters, i)
    sortedDiameters[i] = Foam::cbrt
The "constant::mathematical::pi" is defined at "src/OpenFOAM/global/constants/mathematical/mathematicalConstants.H".

Best regards,
wyldckat is offline   Reply With Quote


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
small question about the functionalities of topological changes in OpenFoam ngj OpenFOAM Running, Solving & CFD 2 February 28, 2013 11:02
Question Re Engineering Data Source imnull ANSYS 0 March 5, 2012 14:51
internal field question - PitzDaily Case atareen64 OpenFOAM Running, Solving & CFD 2 January 26, 2011 16:26
question on bounday layer modeling Wen Long Main CFD Forum 2 November 12, 2005 18:29
Poisson Solver question Suresh Main CFD Forum 3 August 12, 2005 04:37

All times are GMT -4. The time now is 08:24.