mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
saturationModels/Antoine: Corrected dimensions in Tsat
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1940
This commit is contained in:
@ -95,7 +95,9 @@ Foam::saturationModels::Antoine::Tsat
|
|||||||
const volScalarField& p
|
const volScalarField& p
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
return B_/(log(p) - A_) - C_;
|
return
|
||||||
|
B_/(log(p*dimensionedScalar("one", dimless/dimPressure, 1)) - A_)
|
||||||
|
- C_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user