FoamFile
{
    version     2.0;
    format      binary;
    class       dictionary;
    location    "constant";
    object      phaseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

species
(
    H2
    H2O
);

H2  H2   2.01594 2 -1 0           130.680;
H2O H2O 18.01534 0  0 -241.8349e3 188.835;
//  |     |      |  |  |          |
//  |     |      |  |  |          standardEntropy [J/(mol K)
//  |     |      |  |  enthalpyOfFormation [J/mol]
//  |     |      |  produced=1|inert=0|consumed=-1
//  |     |      molecularChargeForFaradaysLaw
//  |     molecularWeight [kg/kmol]
//  name

inertSpecie H2O;   // inert for purposes of mass fraction calculation
                   // not necessarily chemically inert

// the density is needed ... probably only as reference value
rho             rho     [1 -3 0 0 0 0 0]     0.166;

// hydraulic diameter for Reynolds Number calculation
// code will skip calculation if value = 0
dHyd            dHyd    [0 1 0 0 0 0 0]      0.001;

diffusivity
{
    type        binaryFSG;
    Tname       T;
    pName       p;
    speciesA    H2;
    speciesB    H2O;
}

phaseChange
{
    gammaCondensation gammaCondensation [0 0 -1 0 0 0 0] 1;
    gammaEvaporation  gammaEvaporation  [0 0 -1 0 0 0 0] 1;
}

// coefficient for pore blockage due to liquid water
expWaterBlockage 1.5;

// toddYoung polynomials
// from Todd&Young, J. Power Sources 110 (2002) pp 186-200
//
// molar Cp coefficients (molar heat capacity) [J/(mol K)]
CpCoeffs
{
    H2  21.157  56.036  -150.55  199.29  -136.15  46.903  -6.4725;
    H2O 37.373  -41.205  146.01  -217.08  181.54  -79.409  14.015;
}

// mu coefficients (dynamic viscosity) [1e-7 kg/(m s)]
muCoeffs
{
    H2   15.553  299.78  -244.34  249.41  -167.51  62.966  -9.9892;
    H2O  -6.7541  244.93  419.50  -522.38  348.12  -126.96  19.591;
}

// k coefficients (thermal conductivity) [W/(m K)]
kCoeffs
{
    H2   1.5040  62.892  -47.190  47.763  -31.939  11.972  -1.8954;
    H2O  2.0103  -7.9139  35.922  -41.390  35.993  -18.974  4.1531;
}

activationParameters
{
    type  noActivation;

    entries
    {
        H2
        {
             stoichiometricCoeff 0.5;
             active false;
        }
        H2O
        {
            stoichiometricCoeff 0.0;
            active false;
        }
    }
}

// values for air or gas channel
permeability permeability [0 2 0 0 0 0 0] 1e-10;
theta        theta        [0 0 0 0 0 0 0] 120;

// ************************************************************************* //

