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