diff --git a/applications/solvers/compressible/rhoCentralFoam/rhoCentralFoam.C b/applications/solvers/compressible/rhoCentralFoam/rhoCentralFoam.C index 7339896c7..cf1c29cee 100644 --- a/applications/solvers/compressible/rhoCentralFoam/rhoCentralFoam.C +++ b/applications/solvers/compressible/rhoCentralFoam/rhoCentralFoam.C @@ -139,7 +139,7 @@ int main(int argc, char *argv[]) + aphiv_neg*(rho_neg*(e_neg + 0.5*magSqr(U_neg)) + p_neg) + aSf*p_pos - aSf*p_neg; - volTensorField tauMC("tauMC", mu*dev2(T(fvc::grad(U)))); + volTensorField tauMC("tauMC", mu*dev2(Foam::T(fvc::grad(U)))); // --- Solve density solve(fvm::ddt(rho) + fvc::div(phi)); diff --git a/src/dbns/numericFlux/fineNumericFlux.C b/src/dbns/numericFlux/fineNumericFlux.C index 2b1a2ee86..0785e6843 100644 --- a/src/dbns/numericFlux/fineNumericFlux.C +++ b/src/dbns/numericFlux/fineNumericFlux.C @@ -81,19 +81,19 @@ void Foam::fineNumericFlux::computeInteriorFlux() MDLimiter scalarPLimiter ( this->p_, - this->gradP + gradP ); MDLimiter vectorULimiter ( this->U_, - this->gradU + gradU ); MDLimiter scalarTLimiter ( this->T_, - this->gradT + gradT ); // Get limiters diff --git a/src/dbns/numericFlux/numericFlux.C b/src/dbns/numericFlux/numericFlux.C index 53b7bee9f..50b05f568 100644 --- a/src/dbns/numericFlux/numericFlux.C +++ b/src/dbns/numericFlux/numericFlux.C @@ -119,19 +119,19 @@ void Foam::numericFlux::computeFlux() MDLimiter scalarPLimiter ( this->p_, - this->gradP + gradP ); MDLimiter vectorULimiter ( this->U_, - this->gradU + gradU ); MDLimiter scalarTLimiter ( this->T_, - this->gradT + gradT ); // Get limiters