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() ...@@ -324,6 +324,8 @@ void reactingOneDim::solveEnergy()
( (
fvm::ddt(rho_, h_) fvm::ddt(rho_, h_)
- fvm::laplacian(alpha, h_) - fvm::laplacian(alpha, h_)
+ fvc::laplacian(alpha, h_)
- fvc::laplacian(kappa(), T())
== ==
chemistrySh_ chemistrySh_
- fvm::Sp(solidChemistry_->RRg(), h_) - fvm::Sp(solidChemistry_->RRg(), h_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment