diff --git a/src/thermophysicalModels/basic/rhoThermo/rhoThermo.C b/src/thermophysicalModels/basic/rhoThermo/rhoThermo.C index ef6b04ca44..14d773d373 100644 --- a/src/thermophysicalModels/basic/rhoThermo/rhoThermo.C +++ b/src/thermophysicalModels/basic/rhoThermo/rhoThermo.C @@ -127,7 +127,7 @@ Foam::tmp Foam::rhoThermo::implementation::rho Foam::tmp Foam::rhoThermo::implementation::renameRho() { - rho_.rename(phasePropertyName("thermo:rho")); + rho_.rename(phasePropertyName(Foam::typedName("rho"))); return rho_; }