Greetings,
I am working on solute and solvent mesomolecules on which I use the Mesocite DPD module.
The mesomolecules are coarse-grained structures, with the solute having 3 beads (A1,A2,A3) and the solvent too (B1,B2,B3).
After the simulation (when I obtain the final mesostructure \$structure), I want to assign the solute beads and solvent beads to specific sets in order to perform analysis on them (Mesocite RDF, gyration radius, and so on.). However I am struggling with the MaterialsScript command to use to do this.
I tried using "FindPatterns by doing the following :
my \$subPattern_solute = \$docsolute->Beads;
my \$substructures_solute = \$structure->FindPatterns(\$docsolute, \$subPattern_solute, Settings(
MatchProperty => 'BeadTypeName'));
\$structure->CreateSet(\$docsolute ->Name, \$substructures_solute);
which seems indeed to work and find the corresponding mesomolecules. However, the RDF calculation fails with error "no particles could be found".
What other command should I use to assign the sets to objects usable for analysis with Mesocite modules?
Kind regards,
Moncef