set_mole_fraction#

DryAir.set_mole_fraction(component, values=[])#

Specify mole fraction of each component in each pore

Parameters
  • components (GenericPhase or name string) – The phase whose mole fraction is being specified

  • values (array_like) – The mole fraction of the given component in each pore. This array must be Np-long, with one value between 0 and 1 for each pore in the network. If a scalar is received it is applied to all pores.