TPG EOS update for multiple cp polynomials #634
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The NASA Glenn polynomials span specific temperature ranges, and there are multiple polynomials per coefficient to describe a complete temperature range from [200 K -- 20000 K]. Updated the input deck structure to accommodate multiple cp polynomials, each with a defined temperature range.
Additionally, the NASA Glenn polynomials elect to have h(T_ref = 298.15 K) = 0. Not accounting for this will give negative internal energies for realistic problems. A new input, dH_ref, shifts the reference enthalpy temperature to be T = 0 K.
A new regression test is added to check the results of pure N2 gas across a Mach 8 shock wave, which results in a post-shock temperature well into the TPG regime.
This change is