Use correct value for gas constant
Even if it's just for part of an initial guess
This commit is contained in:
parent
46684646ee
commit
fc33778451
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ void Substance::update_sat()
|
|||
|
||||
double gf = hp() - T*sp();
|
||||
if (i==0) {
|
||||
Rho = pp*MolWt()/(8314.0*T); // trial value = ideal gas
|
||||
Rho = pp*MolWt()/(GasConstant*T); // trial value = ideal gas
|
||||
} else {
|
||||
Rho = Rhv;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue