Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev

This commit is contained in:
mattijs
2011-11-08 09:32:39 +00:00
2 changed files with 11 additions and 12 deletions

View File

@ -80,12 +80,12 @@ void Foam::FacePostProcessing<CloudType>::write()
const Time& time = mesh.time();
const faceZoneMesh& fzm = mesh.faceZones();
scalar timeNew = time.value();
scalar timeElapsed = timeNew-timeOld_;
scalar timeElapsed = timeNew - timeOld_;
totalTime_ += timeElapsed;
const scalar alpha = (totalTime_ - timeElapsed)/totalTime_;
const scalar beta = timeElapsed/totalTime_; //correct
const scalar beta = timeElapsed/totalTime_;
forAll(faceZoneIDs_, zoneI)
{
@ -96,7 +96,7 @@ void Foam::FacePostProcessing<CloudType>::write()
const label procI = Pstream::myProcNo();
Info<< "particleFaceFlowRate output:" << nl;
Info<< type() << " output:" << nl;
List<scalarField> zoneMassTotal(mass_.size());
List<scalarField> zoneMassFlowRate(massFlowRate_.size());