lanl / FEHM

Finite Element Heat and Mass Transfer Code
https://fehm.lanl.gov
Other
52 stars 18 forks source link

Documentation Clarification for ngas #6

Open millerta opened 6 years ago

millerta commented 6 years ago

Submitted to Trac Tickets by Phil Stauffer 10/30/2012

PCO2(1) = 666 then the code uses the temp and pressure of a restart file to calculate the initial partial pressure of noncondensible gas as PCO2 = Ptotal - Pwater vapor, where Pwater vapor is a function of temperature assuming 100% humidity.

millerta commented 6 years ago

Submitted by Phil Stauffer

Dang. Ok. The secret flag is -666 for PCO2 (first ngas input values) and it allows the user to force zero water vapor in the problem, so that if you have saturation of zero you can run an air only (no water) problem. (only used without a restart file).

The code always uses the temp and pressure of a restart file to calculate the initial partial pressure of noncondensible gas as PCO2 = Ptotal - Pwater vapor, where Pwater vapor is a function of temperature assuming 100% humidity.

Sorry for any confusion, it was a long time ago I did these fixes and I found the flag today so thought it should be documented.