EEqn: Added rho*(U&g) source term

Generally this term has a VERY small effect on temperature, it is only
important for low-speed buoyancy-dominated flows.

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1755

See also http://cfd.direct/openfoam/energy-equation/
This commit is contained in:
Henry Weller
2015-07-01 10:53:37 +01:00
parent b0719c3531
commit d0f15d4e3c
13 changed files with 50 additions and 33 deletions

View File

@ -17,7 +17,8 @@
)
- fvm::laplacian(turbulence->alphaEff(), he)
==
reaction->Sh()
rho*(U&g)
+ reaction->Sh()
+ fvOptions(rho, he)
);