ParallelPlates¶
- class hoomd.mpcd.geometry.ParallelPlates(separation, speed=0.0, no_slip=True)¶
Bases:
Geometry
Parallel-plate channel.
- Parameters:
ParallelPlates
confines particles between two infinite parallel plates centered around the origin. The plates are placed at \(y=-H\) and \(y=+H\), where the totalseparation
is \(2H\). The plates may be put into motion withspeed
V, having velocity \(-V\) and \(+V\) in the x direction, respectively. If combined with a no-slip boundary condition, this motion can be used to generate simple shear flow.Examples:
Stationary parallel plates with no-slip boundary condition.
plates = hoomd.mpcd.geometry.ParallelPlates(separation=6.0) stream = hoomd.mpcd.stream.BounceBack(period=1, geometry=plates) simulation.operations.integrator.streaming_method = stream
Stationary parallel plates with slip boundary condition.
plates = hoomd.mpcd.geometry.ParallelPlates( separation=6.0, no_slip=False ) stream = hoomd.mpcd.stream.BounceBack(period=1, geometry=plates) simulation.operations.integrator.streaming_method = stream
Moving parallel plates.
plates = hoomd.mpcd.geometry.ParallelPlates( separation=6.0, speed=1.0, no_slip=True ) stream = hoomd.mpcd.stream.BounceBack(period=1, geometry=plates) 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
ParallelPlates
: