Skip to content
Snippets Groups Projects
Commit d730c49e authored by Sergio Ferraris's avatar Sergio Ferraris
Browse files

ENH: Modification of hEqn in reactingOneDim.C introducing laplacian(kappa, T)

instead of laplacian(alpha, h). This is necessary when Cp is not uniform.
parent d185f8b9
Branches
Tags
No related merge requests found
......@@ -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_)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment