Commit 5e4822b9 authored by Henry Weller's avatar Henry Weller
Browse files

kineticTheoryModel: Corrected handling of the SuSp term in the Theta equation

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2002
parent affcff59
......@@ -434,7 +434,7 @@ void Foam::RASModels::kineticTheoryModel::correct()
)
- fvm::laplacian(kappa_, Theta_, "laplacian(kappa,Theta)")
==
fvm::SuSp(-((PsCoeff*I) && gradU), Theta_)
- fvm::SuSp((PsCoeff*I) && gradU, Theta_)
+ (tau && gradU)
+ fvm::Sp(-gammaCoeff, Theta_)
+ fvm::Sp(-J1, Theta_)
......
......@@ -437,7 +437,7 @@ void Foam::RASModels::kineticTheoryModel::correct()
)
- fvm::laplacian(kappa_, Theta_, "laplacian(kappa,Theta)")
==
fvm::SuSp(-((PsCoeff*I) && gradU), Theta_)
- fvm::SuSp((PsCoeff*I) && gradU, Theta_)
+ (tau && gradU)
+ fvm::Sp(-gammaCoeff, Theta_)
+ fvm::Sp(-J1, Theta_)
......
Supports Markdown
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