glotzerlab / hoomd-blue

Molecular dynamics and Monte Carlo soft matter simulation on GPUs.
http://glotzerlab.engin.umich.edu/hoomd-blue
BSD 3-Clause "New" or "Revised" License
335 stars 131 forks source link

Add contraction-expansion geometry for MPCD #1775

Open tzortziskoul opened 5 months ago

tzortziskoul commented 5 months ago

Description

We want to implement a new channel for mpcd streaming geometry in hoomd v4. It will be a constriction-expansion channel described by two cosines.

Proposed solution

The new geometry will be implemented as follows:

channel = hoomd.mpcd.geometry.CosineExpansionContraction(...)
hoomd.mpcd.stream.BounceBack(period=..., geometry=channel)

Additional context

We already have a plugin that implements some of the necessary infrastructure for hoomd v2, which we will port to hoomd v4. A similar issue will be opened for the symmetric wavy channel.

mphoward commented 5 months ago

I have discussed this with @tzortziskoul and @astatt, and we will support them in implementing this feature.