TEqn.H 271 Bytes
Newer Older
Andrew Heather's avatar
Andrew Heather committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    volScalarField kappaEff
    (
        "kappaEff",
        turbulence->nu() + turbulence->nut()/Prt
    );

    fvScalarMatrix TEqn
    (
        fvm::ddt(T)
      + fvm::div(phi, T)
      - fvm::laplacian(kappaEff, T)
    );

    TEqn.relax();

    TEqn.solve();
}