PoreAna 0.2
  • API
  • Sample
  • Density
  • Diffusion (Bin)
  • Diffusion (MC)
  • Further Properties
  • Site
    • Page
        • calculate
          • calculate()
    • calculate
      • calculate()
    Source

    calculate¶

    poreana.adsorption.calculate(link_data, res_cutoff=1, is_normalize=True)¶

    This function calculates the values for the adsorption isotherms. This is done by counting the number of molecules inside the reservoir and within the pore over the whole simulation.

    By normalizing the summation by the number of frames, the resulting value is converted to a surface specific concentration inside the pore and volume specific concentration within the reservoir.

    The resulting value pair is a point in the adsorption isotherm.

    Parameters:
    link_datastring

    Link to hdf5, obj or yml file generated by the density sample routine poreana.sample.Sample.init_density()

    res_cutofffloat, optional

    Area of the reservoir to remove from counting on both sides of the reservoir

    is_normalizebool, optional

    True to normalize the number of atoms with the number of frames

    Returns:
    adsorptiondictionary

    Normalized number of molecules outside and insidem and value pair of a point on the adsorption isotherm \(\left[\frac{\text{mmol}}{\text{l}}\ ,\frac{\mu\text{mol}}{\text{m}^2}\right]\)

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 7.4.6.