fabien van mook

all packages "fvm-*"

package "fvm-mollier"

function file "mollier_X.m"

Function X = mollier_X(T, F, pb,prop);
         X = mollier_X(pv,[],pb,prop);

returns the absolute humidity X of the air
(in kg of water vapour per kg of dry air) for
either:
-- the given air temperature T (in degrees C), 
   the given relative humidity F (with a value
   of 0...1) and the given total pressure (or 
   barometric pressure) pb (in Pa),
or: 
-- the given partial vapour pressure pv
   (in Pa) and the given total pressure (or 
   barometric pressure) pb (in Pa).

The fourth input argument prop is a struct
containing information on humid air properties,
as returned by m-file mollier_humidairprop.m.
This function is called, if the fourth input
argument is not given.

If pb is empty or not given, the value of 
prop.pbstandard is used.

If the first and second arguments are given (and
not empty), the calculation of the absolute 
humidity is based on the function:
  mollier_ps_....m
of which the m-file name is given by prop.ps_fun.


(c) 2026 fabien van mook

2026.08.20 release of this file within package "fvm-mollier" under GNU GPLv3+