|
[Sponsors] |
November 5, 2014, 12:02 |
Min Max of scalarField
|
#1 |
Senior Member
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16 |
Hi All,
Do min and max function work for scalarField? something like scalar xMin = min(myScalarField); scalar xMax = max(myScalarField); Do they work also in parallel? I need to calcualte the minimum and maximum value of a vector during a parallel simulation and use them for some calculations. I got different values when using or not the "reduce" command on xMin and xMax and it looks like i get the correct values when "reduce" is not used. I am a bit confused. Which is the best/correct way to calculate minimum and maximum value of a scalarField during a parallel run? Thanks Andrea |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ and u+ values with low-Re RANS turbulence models: utility + testcase | florian_krause | OpenFOAM | 114 | August 23, 2023 05:37 |
multiphase turbulance case floating error | harsha_kulkarni | OpenFOAM Running, Solving & CFD | 3 | February 18, 2016 05:06 |
Problem of simulating of small droplet with radius of 2mm | liguifan | OpenFOAM Running, Solving & CFD | 5 | June 3, 2014 02:53 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 21:14 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |