7 tmp<volScalarField> DAIrkPimpleFoam::chi(
8 volScalarField& nuTilda,
9 const volScalarField& nu)
14 tmp<volScalarField> DAIrkPimpleFoam::fv1(
17 volScalarField chi3(pow3(chi));
18 return chi3 / (chi3 + pow3(Cv1));
21 tmp<volScalarField> DAIrkPimpleFoam::fv2(
25 return 1.0 / pow3(scalar(1) + chi / Cv2);
28 tmp<volScalarField> DAIrkPimpleFoam::fv3(
33 const volScalarField chiByCv2((1 / Cv2) * chi);
35 return (scalar(1) + chi * fv1)
37 * (3 * (scalar(1) + chiByCv2) + sqr(chiByCv2))
38 / pow3(scalar(1) + chiByCv2);
41 tmp<volScalarField> DAIrkPimpleFoam::fw(
42 volScalarField& Stilda,
43 volScalarField& nuTilda,
51 dimensionedScalar(
"SMALL", Stilda.dimensions(), SMALL))
54 r.boundaryFieldRef() == 0.0;
57 const volScalarField g(r + Cw2 * (pow6(r) - r));
59 return g * pow((1.0 + pow6(Cw3)) / (pow6(g) + pow6(Cw3)), 1.0 / 6.0);
62 tmp<volScalarField> DAIrkPimpleFoam::DnuTildaEff(
63 volScalarField& nuTilda,
64 const volScalarField& nu)
66 return tmp<volScalarField>(
67 new volScalarField(
"DnuTildaEff", (nuTilda + nu) / sigmaNut));
72 volScalarField& nuTilda,
73 const volScalarField& nu)
75 volScalarField chi(this->chi(nuTilda, nu));
76 volScalarField fv1(this->fv1(chi));
79 nut.correctBoundaryConditions();