mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Modification of hEqn in reactingOneDim.C introducing laplacian(kappa, T)
instead of laplacian(alpha, h). This is necessary when Cp is not uniform.
This commit is contained in:
@ -324,6 +324,8 @@ void reactingOneDim::solveEnergy()
|
||||
(
|
||||
fvm::ddt(rho_, h_)
|
||||
- fvm::laplacian(alpha, h_)
|
||||
+ fvc::laplacian(alpha, h_)
|
||||
- fvc::laplacian(kappa(), T())
|
||||
==
|
||||
chemistrySh_
|
||||
- fvm::Sp(solidChemistry_->RRg(), h_)
|
||||
|
||||
Reference in New Issue
Block a user