- IdealGas.set_mole_fraction(component, values=)¶
Specify mole fraction of each component in each pore
components (GenericPhase or name string) – The phase whose mole fraction is being specified
values (array_like) – The mole fraction of the given
componentin 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.