Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Clarification for ngas #6

Open
millerta opened this issue Jan 3, 2018 · 1 comment
Open

Documentation Clarification for ngas #6

millerta opened this issue Jan 3, 2018 · 1 comment

Comments

@millerta
Copy link
Collaborator

millerta commented Jan 3, 2018

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
Copy link
Collaborator Author

millerta commented Jan 3, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant