PoreMS 0.4
  • API
  • Molecule
  • Pore
  • Workflow
  • Pore shape examples
  • Site
    • Page
        • PoreCapsule
          • PoreCapsule
    • PoreCapsule
      • PoreCapsule
    Source

    PoreCapsule¶

    class porems.system.PoreCapsule(size, diam, sep, res=5, hydro=[0, 0])¶

    This class carves a capsule pore system out of a \(\beta\)-cristobalite block.

    Parameters:
    sizelist

    Size of the silicon-oxygen-grid

    diamfloat

    Cylinder diameter

    sepfloat

    Separation length between capsule

    resfloat, optional

    Reservoir size on each side

    hydro: list, optional

    Hydroxilation degree for interior and exterior of the pore in \(\frac{\mu\text{mol}}{\text{m}^2}\)

    Examples

    Following example generates a capsule pore with a diameter of 4nm, a separation distance between the capsules of 2nm, reservoirs of 5nm on each side and a surface functionalized with TMS

    import porems as pms
    
    pore = pms.PoreCapsule([6, 6, 12], 4, 2)
    
    pore.attach(pms.gen.tms(), 0, [0, 1], 100, "in")
    pore.attach(pms.gen.tms(), 0, [0, 1], 20, "ex")
    
    pore.finalize()
    
    pore.store("output/")
    

    Attachement

    attach(mol, mount, axis, amount[, ...])

    Attach molecule on the surface.

    Analysis

    allocation()

    Calculate molecule allocation on the surface.

    box()

    Return the box size of the pore block.

    centroid()

    Return pore centroid.

    diameter()

    Calculate true diameter after drilling and preparation.

    reservoir()

    Return the reservoir length.

    roughness()

    Calculate surface roughness.

    shape()

    Return the pore shape for analysis using PoreAna.

    surface([is_sum])

    Calculate pore surface and exterior surface.

    table([decimals])

    Create properties as pandas table for easy viewing.

    volume([is_sum])

    Calculate pore volume.

    Finalization

    finalize()

    Finalize pore system.

    store([link, sort_list])

    Store pore system and all necessary files for simulation at given link.

    yml([link])

    Save yaml file with properties necessary for analysis.

    Back to top

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