This may very well be a simple problem, but I have found little in the way of documentation that helped me get it to work:<br><br>I&#39;d like to form a box (4x6x4 nm^3) filled with 3200 water molecules. I&#39;d like to use the water model specified in sw.itp (polarizable &amp; flexible). In the working directory I have a pdb file that specifies exactly the final system that I want to use, but I cannot generate a .gro file from this pdb file in order to run a simulation. I&#39;ve tried 2 routes to accomplish this:<br>

<br>1) pdb2gmx - I&#39;ve attempted to use this program as follows:<br>&#39;pdb2gmx_d -f sw_box.pdb -o sw_box.gro -i sw.itp&#39;<br><br>This reports a fatal error: Residue &#39;SW&#39; not found in residue topology database<br>

<br>Because the sw.itp file defines SW as the molecule name, and again as the residue name, I assumed that&#39;s what I&#39;d want to appear in my pdb file as well. I&#39;ve tried every combination of force fields and water model to see if that would do anything, but to no avail.<br>

<br>2) genbox - I tried to generate a solvent box using the pdb file as the solvent definition:<br><br>&#39;genbox_d -cs sw_box.pdb -box 4.0 6.0 4.0 -maxsol 3200&#39;<br><br>This made it look as though it was running, but after a very long time it did not return and produce a .gro file I could use. It&#39;s as if the program just hung or got stuck in some overly complicated solvation routine. <br>

<br>I realize that the SW residue is not defined in the standard force fields, and so that&#39;s why I want to include sw.itp. Is there a way to generate this box? <br>