multiphaseEulerFoam::MomentumTransferPhaseSystem: Corrected access to absolute phi for moving mesh cases

This commit is contained in:
Henry Weller
2021-03-24 18:49:43 +00:00
parent 0eafc13419
commit 5cf60ba430

View File

@ -423,7 +423,8 @@ Foam::MomentumTransferPhaseSystem<BasePhaseSystem>::momentumTransferf()
{
const volVectorField& U = phase.U();
const surfaceScalarField& phi = phase.phi();
const tmp<surfaceScalarField> aphi(fvc::absolute(phi, U));
const tmp<surfaceScalarField> taphi(fvc::absolute(phi, U));
const surfaceScalarField& aphi(taphi());
UgradUs.set
(