Hi, there seems to be a incon
there seems to be a inconsistency in the calculation of the courant numbers in CourantNo.H.
The maximum Co is built with:
CoNum = max(SfUfbyDelta/mesh.magSf()).value()*runTime.deltaT().value();
The mean Co is built with:
meanCoNum = (sum(SfUfbyDelta)/sum(mesh.magSf())).value()*runTime.deltaT().value( );
This is no problem for serial cases.
But for parallel cases there should be used "gMax" and "gSum" instead of "max" and "sum" to build the Courant numbers considering all processors.
The max and sum functions of G
The max and sum functions of GeometricField call gMax and gSum of the internal field from which it is derived.
OK, then itīs clear. Thanks.
OK, then itīs clear.
|All times are GMT -4. The time now is 04:15.|