Adding DPD System initialization - #264
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
| system = mb.Compound() | ||
|
|
||
| # Apply positions to all molecules and add to system | ||
| for idx, chain in enumerate(self.all_molecules): |
There was a problem hiding this comment.
@chrisjonesBSU
This random walk is similar to yours in path class. I'm not sure if it would be better to loop that in here instead. But I think here we should be able to translate the monomer units if the flowermd molecule is all-atom
There was a problem hiding this comment.
I'd suggest leaving this one as a simpler RW implementation. It will be straight forward to either make a different system class that uses a different RW approach, or just go straight from mBuild to flower.
for more information, see https://pre-commit.ci
|
Error from tutorial notebook 7, cell 6. When I try to pass in a gmso xml to BaseXMLForcefield, I get an invalid document error. I think that this function is expecting a Foyer xml file. I tried adding an option for loading a gmso xml, so that the filepath doesn't go to Foyer, then to gmso, but am still getting the same error. @chrisjonesBSU |
|
The fix to BaseXMLForcefield seems to be working. However, the dpd xml is not the correct formatting. See tutorial 7 notebook for the latest error, can't match AtomType expression to accepted potentials (although equation is listed under potentials). The AtomType must have an expression |
Attempting to incorporate the code in PhantomWalk into flowerMD so that we can use the modular class resources. PhantomWalk is a two step packing routine, first a non-self avoiding random walk, then a dpd relaxation simulation which runs in a loop checking energy cutoffs.
As a first pass, it made the most sense to me to put the RandomWalk at the system level, and DPD simulation at the simulation level. I attempted to use the gmso ff file instead of coding the DPD_FF as a class. But, since this file is gmso and not foyer, I was running into some issues. This is where I'm stopping today. The RandomWalk placement seems to be working, but I have not verified.
In tutorials, I'm debugging the workflow in notebook 7. Focusing on getting CG linear mono-disperse systems working.