Bugfix: gradient cacheing clean-up

This commit is contained in:
Hrvoje Jasak 2016-04-27 19:03:47 +01:00
parent be97f7ebac
commit 8ac6d0c6c8
3 changed files with 7 additions and 7 deletions

View file

@ -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));

View file

@ -81,19 +81,19 @@ void Foam::fineNumericFlux<Flux, Limiter>::computeInteriorFlux()
MDLimiter<scalar, Limiter> scalarPLimiter
(
this->p_,
this->gradP
gradP
);
MDLimiter<vector, Limiter> vectorULimiter
(
this->U_,
this->gradU
gradU
);
MDLimiter<scalar, Limiter> scalarTLimiter
(
this->T_,
this->gradT
gradT
);
// Get limiters

View file

@ -119,19 +119,19 @@ void Foam::numericFlux<Flux, Limiter>::computeFlux()
MDLimiter<scalar, Limiter> scalarPLimiter
(
this->p_,
this->gradP
gradP
);
MDLimiter<vector, Limiter> vectorULimiter
(
this->U_,
this->gradU
gradU
);
MDLimiter<scalar, Limiter> scalarTLimiter
(
this->T_,
this->gradT
gradT
);
// Get limiters