diff --git a/src/thermophysicalModels/specie/equationOfState/perfectFluid/perfectFluidI.H b/src/thermophysicalModels/specie/equationOfState/perfectFluid/perfectFluidI.H index 338807ad02..d30416c014 100644 --- a/src/thermophysicalModels/specie/equationOfState/perfectFluid/perfectFluidI.H +++ b/src/thermophysicalModels/specie/equationOfState/perfectFluid/perfectFluidI.H @@ -186,7 +186,7 @@ inline Foam::perfectFluid Foam::operator+ scalar molr1 = pf1.nMoles()/nMoles; scalar molr2 = pf2.nMoles()/nMoles; - return rhoConst + return perfectFluid ( static_cast(pf1) + static_cast(pf2), @@ -207,7 +207,7 @@ inline Foam::perfectFluid Foam::operator- scalar molr1 = pf1.nMoles()/nMoles; scalar molr2 = pf2.nMoles()/nMoles; - return rhoConst + return perfectFluid ( static_cast(pf1) - static_cast(pf2),