Loading...
Searching...
No Matches
EEqn.H
1{
2 volScalarField& he = thermo.he();
3
4 fvScalarMatrix EEqn
5 (
6 fvm::ddt(rho, he) + fvm::div(phi, he)
7 + fvc::ddt(rho, K) + fvc::div(phi, K)
8 + (
9 he.name() == "e"
10 ? fvc::div
11 (
12 fvc::absolute(phi / fvc::interpolate(rho), U),
13 p,
14 "div(phiv,p)"
15 )
16 : -dpdt
17 )
18 - fvm::laplacian(turbulence->alphaEff(), he)
19 ==
20 fvOptions(rho, he)
21 );
22
23 EEqn.relax();
24
25 fvOptions.constrain(EEqn);
26
27 EEqn.solve();
28
29 fvOptions.correct(he);
30
31 thermo.correct();
32}