Module for IAPWS G7-04. EFGH coefficients for gases in heavywater. ai and bi coefficients for water
Derived type containing a allocatable string for representing a gas.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | gas |
Gas |
Returns the list of available gases.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | heavywater |
Flag if D2O (1) is used or H2O(0). |
Available gases.
Returns the available gases as a string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | heavywater |
Flag if D2O (1) is used or H2O(0). |
Available gases
Returns the number of gases.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | heavywater |
Flag if D2O (1) is used or H2O(0). |
Number of gases.
Compute the vapor-liquid constant kd for a given temperature.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | T(:) |
Temperature in K. |
||
character(len=*), | intent(in) | :: | gas |
Gas. |
||
integer(kind=int32), | intent(in) | :: | heavywater |
Flag if D2O (1) is used or H2O(0). |
||
real(kind=dp), | intent(out) | :: | k(:) |
Vapor-liquid constant. Filled with NaNs if gas not found. |
Compute the henry constant kH for a given temperature.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | T(:) |
Temperature in K. |
||
character(len=*), | intent(in) | :: | gas |
Gas. |
||
integer(kind=int32), | intent(in) | :: | heavywater |
Flag if D2O (1) is used or H2O(0). |
||
real(kind=dp), | intent(out) | :: | k(:) |
Henry constant. Filled with NaNs if gas not found. |