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

    PoreSlit¶

    class porems.system.PoreSlit(size, height, res=0, hydro=[0, 0])¶

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

    Parameters:
    sizelist

    Size of the silicon-oxygen-grid

    heightfloat

    Pore height

    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 slit-pore with a height of 4nm functionalized with TMS

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

    Attachement

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

    Attach molecule on the surface.

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

    Special attachment of molecules 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.