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