Needs to be consolidated with multiphaseInterFoam with thermal and compressibility effects made run-time selectable
18 lines
435 B
C
18 lines
435 B
C
{
|
|
fvScalarMatrix TEqn
|
|
(
|
|
fvm::ddt(rho, T)
|
|
+ fvm::div(multiphaseProperties.rhoPhi(), T)
|
|
- fvm::laplacian(multiphaseProperties.alphaEff(turbulence->mut()), T)
|
|
+ (
|
|
fvc::div(fvc::absolute(phi, U), p)
|
|
+ fvc::ddt(rho, K) + fvc::div(multiphaseProperties.rhoPhi(), K)
|
|
)*multiphaseProperties.rCv()
|
|
);
|
|
|
|
TEqn.relax();
|
|
TEqn.solve();
|
|
|
|
multiphaseProperties.correct();
|
|
}
|