Volume guesser
Given the number of molecules of each type, their molar masses, and the density of the system, the volume guesser estimates the volume of the system: each molecule occupies a volume proportional to its molar mass, $V = \sum_i N_i M_i / (\rho N_A)$. It gives the side of a cubic box, or the radius of a sphere, of that volume. Unless the system is very sensitive to the density (as a gas), this is a good starting point for the box of an input file; a simulation at constant pressure then adjusts it. Nothing typed here leaves the page.
| Molecule | Number of molecules | Molar mass (g/mol) | or formula |
|---|
The same estimate is given by guess_volume in Julia, which also reads the molecules and their numbers from an input file or from structure files, and by packmol --guess-volume input.inp (see Volume estimates). The volume of the region available to the molecules of each structure type of an input, given its constraints and fixed molecules, is estimated by the free volume calculator.