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

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2002
This commit is contained in:
Henry Weller
2016-02-19 13:26:41 +00:00
parent e12e1b172d
commit 46df3ab456
2 changed files with 2 additions and 2 deletions

View File

@ -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_)

View File

@ -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_)