multiphaseEuler: Make energy predictor compatible with stationary phases

This commit is contained in:
Will Bainbridge
2023-06-16 16:22:15 +01:00
parent 025b96e217
commit 98ac903969

View File

@ -85,7 +85,8 @@ void Foam::solvers::multiphaseEuler::energyPredictor()
const volScalarField& alpha = phase;
const volScalarField& rho = phase.rho();
const volVectorField& U = phase.URef();
const tmp<volVectorField> tU(phase.U());
const volVectorField& U(tU());
fvScalarMatrix EEqn
(