iapws

NAME
SYNOPSIS
DESCRIPTION
SUBCOMMANDS
OPTIONS
NOTES
EXAMPLE
SEE ALSO

NAME

iapws - compute light and heavy water properties

SYNOPSIS

iapws SUBCOMMAND [OPTION]...

DESCRIPTION

iapws is a command line interface for computing properties of light and heavy water according to IAPWS.

SUBCOMMANDS

Valid subcommands are:

+ kh

Compute the Henry’s constant for gases in H2O or D2O. The default behavior is to compute the constant kH for O2 at 25°C.See options. See options.

+ kd

Compute the vapor-liquid distribution constant for gases in H2O or D2O. The default behavior is to compute the constant kD for H2 at 25°C. See options.

+ psat

Compute the saturation pressure. The default behavior is to compute psat at 25°C. See options.

+ Tsat

Compute the saturation temperature. The default behavior is to compute Tsat at 1 bar. See options.

+ wp

Compute water properties for regions 1 to 5. The default behavior is to compute the properties at 25°C and 1 bar. WARNING: Currently, only region 1 is supported.

OPTIONS

kh:

-T, --temperatureTEMPERATURE...

Temperature in °C. Default to 25°C.

-f, --fugacity FUGACITY...

Liquid-phase fugacity in MPa. Default to 1 bar.

-g, --gases GAS...

Gases for which to compute kH. Default to O2.

--D2O

Set heavywater as the solvent.

--listgases

Display available gases for computing kH.

kd:

-T, --temperature TEMPERATURE...

Temperature in °C. Default to 25°C.

-x, --x2 x2...

Molar fraction of gas in water. Default to 1e-9.

-g, --gases GAS...

Gases for which to compute kD. Default to H2.

--D2O,

Set heavywater as the solvent.

--listgases

Display available gases for computing kD.

psat:

-T, --temperature TEMPERATURE...

Temperature in °C. Default to 25°C.

Tsat:

-p, --pressure PRESSURE... Pressure in bar. Default to 1 bar.

wp:

-T, --temperature TEMPERATURE...

Temperature in °C. Default to 25°C.

-p, --pressure PRESSURE...

Pressure in bar. Default to 1 bar.

all:

-u, --usage

Show usage text and exit.

-h, --help,

Show help text and exit.

-v, --version

Show version information and exit.

NOTES

You may replace the default options from a file if your first options begin with @file. Initial options will then be read from the "response file" "file.rsp" in the current directory.

If "file" does not exist or cannot be read, then an error occurs and the program stops. Each line of the file is prefixed with "options" and interpreted as a separate argument. The file itself may not contain @file arguments. That is, it is not processed recursively.

For more information on response files see https://urbanjost.github.io/M_CLI2/set_args.3m_cli2.html

EXAMPLE

Minimal example

iapws kh -T 25,100 -f 1,0.2 -g O2,H2
iapws kd -T 25,100 -x2 1d-9,1d-6 -g O2,H2
iapws wp -T 25,100 -p 0.035,1.0

SEE ALSO

iapws(1) iapws_lib(3) iapws_psat(3) iapws_Tsat(3) iapws_kh(3) iapws_kd(3) iapws_kw(3) iapws_Tc(3) iapws_pc(3) ciaaw(3), codata(3),