8 dimensionedScalar kMin("kMin", k.dimensions(), SMALL);
9 dimensionedScalar epsilonMin("epsilonMin", epsilon.dimensions(), SMALL);
11 volScalarField divU(fvc::div(phi/fvc::interpolate(rho)));
13 tmp<volTensorField> tgradU = fvc::grad(U);
14 volScalarField G(2*mut*(tgradU() && dev(symm(tgradU()))));
19 Cmu*k/sigmak*(g & fvc::grad(rho))/(epsilon + epsilonMin)
22 #include "wallFunctions.H"
24 // Dissipation equation
27 fvm::ddt(rho, epsilon)
28 + fvm::div(phi, epsilon)
31 mut/sigmaEps + mul, epsilon,
32 "laplacian(DepsilonEff,epsilon)"
36 - fvm::SuSp(C1*(1.0 - C3)*Gcoef + (2.0/3.0*C1)*rho*divU, epsilon)
37 - fvm::Sp(C2*rho*epsilon/k, epsilon)
40 #include "wallDissipation.H"
45 bound(epsilon, epsilonMin);
48 // Turbulent kinetic energy equation
60 - fvm::SuSp(Gcoef + 2.0/3.0*rho*divU, k)
61 - fvm::Sp(rho*epsilon/k, k)
70 //- Re-calculate viscosity
71 mut = rho*Cmu*sqr(k)/(epsilon + epsilonMin);
73 #include "wallViscosity.H"