void Foam::VoidFraction<CloudType>::postEvolve() { volScalarField& theta = thetaPtr_(); const fvMesh& mesh = this->owner().mesh(); theta.internalField() /= mesh.time().deltaTValue()*mesh.V(); CloudFunctionObject<CloudType>::postEvolve(); }
void Foam::VoidFraction<CloudType>::postMove ( const parcelType& p, const label cellI, const scalar dt ) { volScalarField& theta = thetaPtr_(); theta[cellI] += dt*p.nParticle()*p.volume(); }