GasMixture.set_concentration(component, values=[])

Specify the concentration of a component in each pore

  • component (GenericPhase or name) – The phase object of the component whose concentration is being specified

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