{ fvScalarMatrix eEqn ( fvm::ddt(rho, e) + fvm::div(phi, e) - fvm::laplacian(turbulence->alphaEff(), e) == - p*fvc::div(phi/fvc::interpolate(rho)) // - fvm::SuSp // ( // p*fvc::div(phi/fvc::interpolate(rho))/e, // e // ) // viscous heating? ); eEqn.relax ( mesh.solutionDict().relaxationFactor(e.select(pimple.finalIter())) ); eEqn.solve(); thermo.correct(); // Recalculate compressibility psis = thermo.psi()/thermo.Cp()*thermo.Cv(); // Recalculate density rho = thermo.rho(); rho.correctBoundaryConditions(); }