saturationModels/Antoine: Corrected dimensions in Tsat
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1940
This commit is contained in:
parent
6b67e39136
commit
a13b036db3
1 changed files with 3 additions and 1 deletions
|
|
@ -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_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue