Skip to content

Proposal for information flow for backmapping from a DPD simulation in HOOMD Blue #45

@mrshirts

Description

@mrshirts
  • Overall problem:

    • We start with a complete MuPT representation with both AA and CG (repeat unit) Primitives, which includes topological and hierarchical connections for these Primitives, initially without coordinates. We want to end up with CG and AA coordinates, both consistent with a dense melt.
  • Detailed description of starting information:

    • We have complete representations with both CG and AA definitions, lacking only coordinates.
    • We have 1 or more AA sets of relative atomic coordinates, generated by small molecule conformer generators, for each AA, call these "repeat unit templates". These can be rotated and translated as rigid bodies as needed.
    • CG Primitives are optionally assigned an enveloping rigid body Shape, such as a Sphere, Ellipsoid, in addition to a specification of center of mass coordinates.
  • Proposed procedure:

    • Determine three quantities from the AA templates:
      • D, The distance between COM of the CG descriptions
        • calculated by center of mass or distance between connectors for the AA units)
      • S, The size of the bounding sphere
        • calculated by the distance from the COM of the AA template to the furthest atom out.
      • B, Distance between connectors
        • Connectors are the midpoints on the bonds between two linked beads
        • Ddistance between the two anchor atoms in the AA template.
      • Write a GMSO CG XML file with the following parameters
        • DPD particle size parameter is S
        • DPD bond equilibrium length is D
        • DPD equilibrium angle theta for the 3 bead distances CG-CG-CG is 2 arcsin (B/D). This is because if the connectors are set at the midpoints of the bonds connecting each particle, then sin(theta/2) = (B/2)/(D/2). Force constant is somewhat, but not too weak, so equilibrium distance between connectors remains within 10% or so of B. Size S does not come into play here for this algorithm.
    • Generate a CG non-self avoiding angle-constrained random walk using D and theta. Size is not directly used here (S could be for a self-avoiding random walk, but we don't need to for the current DPD procedure).
    • This CG representation gets written to GMSO, and parameterized with the exported XML file.
      • A periodic box is defined that simply bounds all the particles - it will be rapidly shrunk in the DPD process, I think? Or do we just impose a box of the desired size, and not worry how the particle overlap? @StephMcCallum, can you answer this?
    • the DPD process runs in HOOMD, to obtain a dense melt in the desired periodic box. @StephMcCallum, is this an NVT or NPT process?
    • the CG positions (particle centers) are read/handed back into MuPT to inject into the CG representation.
      • Congratulations! There is now CG melt ready to write out to any supported engine (not just HooMD Blue).
    • the AA positions are are assigned by MuPT by rotating and translating the AA template(s) so that the AA connectors line up with the CG connectors. The DPD angle guarantees that the CG connectors remain at about B during the simulation. If the bonds are a little long, that is OK, the won't be TOO long.
    • the AA level of the representation is exported to GMSO or Interchange, and then to the desired simulation engine.
    • In the simulation engine, the AA configuration is parameterized and energy minimized.
  • At this point, congratulations! There is now an AA melt ready to write out to any supported engine, which presumably will not crash.

Metadata

Metadata

Labels

enhancementNew feature or requestfeedback neededClarification needed from filer OR developerrepresentationPertaining to how MuPT represents molecular systems internally

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions