FEHM icon indicating copy to clipboard operation
FEHM copied to clipboard

Documentation Clarification for ngas

Open millerta opened this issue 8 years ago • 1 comments

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 avatar Jan 03 '18 21:01 millerta

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.

millerta avatar Jan 03 '18 21:01 millerta