|
[Sponsors] |
Erroneous result for min / max of volScalarField |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 6, 2010, 09:16 |
Erroneous result for min / max of volScalarField
|
#1 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Hello,
does anybody have an idea why min() and max() would be returning values larger 1 and lower 0 for a volScalarField that only contains 0 & 1 values? - Anton CODE: Code:
Info << "LF (MAX / MIN): " << max(lf) << " " << min(lf) << endl; Info << lf << endl; Code:
LF (MAX / MIN): max(lf) [0 0 0 0 0 0 0] 2.21429 min(lf) [0 0 0 0 0 0 0] -15.6429 dimensions [0 0 0 0 0 0 0]; internalField uniform 1; boundaryField { bottom { type zeroGradient; } top { type zeroGradient; } left { type zeroGradient; } right { type zeroGradient; } } |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 22:14 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |
5.7.1 solver doing max coeff loops. | Stevie Wonder | CFX | 5 | July 5, 2005 13:31 |