BUG: Fixing sign on the linear source term for C < 0 for Lee model KSp

This commit is contained in:
sergio
2022-04-25 09:35:17 -07:00
parent 539d9e83af
commit 7399dbfee8

View File

@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com \\ / A nd | www.openfoam.com
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2017-2021 OpenCFD Ltd. Copyright (C) 2017-2022 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -117,7 +117,7 @@ Foam::meltingEvaporationModels::Lee<Thermo, OtherThermo>::KSp
{ {
return return
( (
coeff*pos(Tactivate_ - refValue) -coeff*pos(Tactivate_ - refValue)
); );
} }
} }