|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 765
Rep Power: 13 ![]() |
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 | |
| 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 | 7 | March 15, 2013 06:08 |
| On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 21:14 |
| IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |
| Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |
| 5.7.1 solver doing max coeff loops. | Stevie Wonder | CFX | 5 | July 5, 2005 12:31 |