fabien van mook

all packages "fvm-*"

package "fvm-mollier"

function file "mollier_complete.m"

Function [M,q] = mollier_complete(Minput,qinput)
         [M,q] = mollier_complete(T,"T",X,"X",...)
         [M,q] = mollier_complete(...,prop)

returns a completed table of data on humid air 
mixtures.

The input consists of either:
-- a matrix Minput,
-- a row cell array of strings, qinput, 
   indicating the quantity per columm in Minput;
or:
-- a sequence of pairs of a column vector 
   and a string indicating the quantity of the
   foregoing input argument. The length of
   each vector is either 1 or N;
and optionally on the last position:
-- a struct containing information on 
   humid air properties, as returned by
   m-file mollier_humidairprop.m. This 
   function is called at default. See its
   help text for the organisation of the
   struct.

Possible combinations of quantities for
input are:
-- T and F,
-- T and X,
-- T and pv
Quantity pb is always optional; if it is not 
given, the value of prop.pbstandard is 
assumed.

The output consists of:
-- matrix M (with 9 columns),
-- row cell array of strings, q, indicating
   the quantity per columm in M:
   {"T","F","X","pv","ps","Td","rho","H","pb"}

The quantities are:
 T   = temperature [deg C]
 F   = relative humidity [-] (0...1)
 X   = absolute humidity [kg vapour/kg dry air]
 pv  = partial vapour pressure [Pa]
 ps  = partial vapour pressure at saturation [Pa]
 Td  = dew-point temperature [deg C]
 rho = air mixture density [kg/m3]
 H   = enthalpy [J/(kg humid air mixture)/K]
 pb  = total or barometric pressure [Pa]

Internally, function mollier_complete() calls:
  mollier_ps_....m (m-file name given by prop.ps_fun)
  mollier_Td_....m (m-file name given by prop.Td_fun)


(c) 2026 fabien van mook

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