mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
25 lines
433 B
C
25 lines
433 B
C
{
|
|
fvScalarMatrix hEqn
|
|
(
|
|
fvm::ddt(rho, hs)
|
|
+ mvConvection->fvmDiv(phi, hs)
|
|
- fvm::laplacian(turbulence->alphaEff(), hs)
|
|
==
|
|
DpDt
|
|
+ parcels.Sh(hs)
|
|
+ radiation->Shs(thermo)
|
|
+ chemistrySh
|
|
);
|
|
|
|
hEqn.relax();
|
|
|
|
hEqn.solve();
|
|
|
|
thermo.correct();
|
|
|
|
radiation->correct();
|
|
|
|
Info<< "T gas min/max = " << min(T).value() << ", "
|
|
<< max(T).value() << endl;
|
|
}
|