compressibleInterFoam::TEqn: De-reference the dimensioned internal field of the sources

Minor change to make it simpler to change the set of sources.
This commit is contained in:
Henry Weller
2018-04-04 22:05:19 +01:00
parent a0399d619d
commit c3f30630e4

View File

@ -4,8 +4,8 @@
fvm::ddt(rho, T) + fvm::div(rhoPhi, T) - fvm::Sp(contErr, T)
- fvm::laplacian(turbulence.alphaEff(), T)
+ (
fvc::div(fvc::absolute(phi, U), p)() - contErr/rho*p
+ (fvc::ddt(rho, K) + fvc::div(rhoPhi, K))() - contErr*K
fvc::div(fvc::absolute(phi, U), p)()() - contErr/rho*p
+ (fvc::ddt(rho, K) + fvc::div(rhoPhi, K))()() - contErr*K
)
*(
alpha1()/mixture.thermo1().Cv()()