15 lines
234 B
C++
15 lines
234 B
C++
{
|
|
fvScalarMatrix hEqn
|
|
(
|
|
fvm::ddt(rho, h)
|
|
+ mvConvection->fvmDiv(phi, h)
|
|
- fvm::laplacian(turbulence->alphaEff(), h)
|
|
==
|
|
DpDt
|
|
);
|
|
|
|
hEqn.relax();
|
|
hEqn.solve();
|
|
|
|
thermo.correct();
|
|
}
|