random generation of solvent configurations
Current version: 2026.01
(shared with CC-BY-NC license).
See also all python tools and software pages.
The \(rgc\) program generates a configuration of molecules that are randomly oriented in space. It will put the first molecule in the center of the system, and then will put the other molecules at random orientations around it.
① There are a few ways to obtain the total volume of the box, if not given through the \(boxx\),\(boxy\),\(boxz\),\(boxr\) parameters. If the \(density\) parameter is not zero, then the volume will be calculated with that parameter and the total mass of all atoms.
② One molecule (see: \(solutename\)) is placed at the origin.
③ Solvent (and other) molecules are oriented at random and placed on the outside of the box, and then moved inwards until the overlap with already present atoms is equal to the \(overlap\) parameter.
④ Step 3 is repeated until all solvent (and other) molecules are placed.