PoreMS 0.2
  • API
  • Process
  • Molecule
  • Pore
  • Workflow
  • Site
    • Page
        • PoreCylinder

    PoreCylinder¶

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

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

    Parameters:
    size : list

    Size of the silicon-oxygen-grid

    diam : float

    Cylinder diameter

    res : float, optional

    Reservoir size on each side

    hydro: list

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

    Examples

    Following example generates a cylindrical pore with a diameter of 4nm, reservoirs of 5nm on each side and a surface functionalized with TMS

    import porems as pms
    
    pore = pms.PoreCylinder([6, 6, 6], 4, 5)
    
    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

    _normal_ex(self, pos) Normal function for the exterior surface
    _normal_in(self, pos) Normal function for the interior surface
    attach(self, mol, mount, axis, amount, site_type) Attach molecule on the surface.
    attach_special(self, mol, mount, axis, amount) Special attachment of molecules on the surface.

    Analysis

    allocation(self) Calculate molecule allocation on the surface.
    box(self) Return the box size of the pore block.
    centroid(self) Return pore centroid.
    diameter(self) Calculate true cylinder diameter after drilling and preperation.
    reservoir(self) Return the reservoir length.
    roughness(self) Calculate surface roughness.
    surface(self) Calculate pore surface and exterior surface.
    table(self[, decimals]) Create properties as pandas table for easy viewing.
    volume(self) Calculate pore volume.

    Finalization

    finalize(self) Finalize pore system.
    store(self[, link, sort_list]) Store pore system and all necessary files for simulation at given link.

    Back to top

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