PlanarPore

class hoomd.mpcd.geometry.PlanarPore(separation, length, no_slip=True)

Bases: Geometry

Pore with parallel plate opening.

Parameters:
  • separation (float) – Distance between pore walls.

  • length (float) – Pore length.

  • no_slip (bool) – If True, surfaces have no-slip boundary condition. Otherwise, they have the slip boundary condition.

PlanarPore is a finite-length version of ParallelPlates. The geometry is similar, except that the plates extend from \(x=-L\) to \(x=+L\) (total length 2L). Additional solid walls with normals in x prevent penetration into the regions above / below the plates. The plates are infinite in z. Outside the pore, the simulation box has full periodic boundaries; it is not confined by any walls. This model hence mimics a narrow pore in, e.g., a membrane.

Example:

pore = hoomd.mpcd.geometry.PlanarPore(separation=6.0, length=4.0)
stream = hoomd.mpcd.stream.BounceBack(period=1, geometry=pore)
simulation.operations.integrator.streaming_method = stream

Members inherited from Geometry:

no_slip

Plates have a no-slip boundary condition when True. Read more...


Members defined in PlanarPore:

separation

Distance between pore walls (read only).

Type:

float

length

Pore length (read only).

Type:

float