I am performing a simulation setup consisting of water and zeolite MFI. The simulation setup is shown here in this post. When I run nvt and npt I encounter with an error which is attached hereto. I guess it would be pbc issue but I don’t know how to handle it. I defined particles of 1 and 1954 in the simulation box in blue VDW form.
I would guess that you had a zeolite system with a bond across the periodic boundary. Then you increased the system size and filled that with water. Is that remotely correct? When you increase the system size, the bond across the periodic boundary will be across half the system.
Before increasing the system size you can use gmx trjconv with the -pbc whole option. Hopefully that fixes your problem.
If all molecules are whole before changing the box size it sounds strange, indeed. Can you post VMD snapshots (showing the periodic box, as above) of the systems like this:
Or is this a molecule that is periodic across the periodic boundary? In that case you will not be able to increase the box size to add water at all. There is no information about the interface of the molecule.
I made the zeolite using the MFI unit cell and expanded it into 3 directions. It should be noted that a predefined box fitting the expanded zeolite exists in the PDB file of the final zeolite after expansion (Figure 1).
1- I performed a short nvt and npt simulation of pure zeolite first with the predefined box size.
2- in the next step I made a water box exactly equal to the Zeolite box. (Figure 2)
3- Then I enlarged the water and zeolite box size and merged the .gro files to make the final box (Figure 3,4).
4- Figure 5 is the zeolite using trjconve before -pbc whole
5- Figure 6 is the zeolite using trjconve after-pbc whole
6- Figure 7 is the mix after -pbc whole. I dont know why the zeolite is a bit out of box after ``pbc whole`.
7- the mixture without -pbc whole is shown previously which is completely fit in the box.
To be honest, I have been working on polymers for many years and this is the first time I am working on peridic structures like zeolite. After many efforts and finally your hint, I understood the main reason for the range of errors in this matter (the periodic structure of zeolite). And I can not increase the box size!
Previously I just increased the zeolite box and used gmx solvate to add water to it but I faced other instability problems, too (shown here).
How can I fix this issue?
What is the procedure for adding water to zeolite?
Honestly, I don’t know. The thing with periodic molecules is that they repeat infinitely. The water exposed surface might even have a slightly different structure.
Would there be a way for you to make the zeolite structure non-periodic in one dimension? I.e., represent the whole structure of it in that dimension.
My question was only relevant for analyzing the error behavior. You should never get a segfault.
But your fundamental problem is what Magnus wrote. In your system with water your molecule should no longer be periodic in one direction. So you need to break the periodic bonds there and put in a proper termination at the interface. I’m not an expert on zerolites, so I don’t know how that you look like. For e.g. silica and metals there are often O and OH groups at the surface.
The main problem is that there is a periodic box. Zeolites are made of Si and O in (Si :O = 1:2) form in the structure and should be in the form of SiO4. There is no specific termination for that in all-silica form. What I am looking for.
However, Thanks again for your help.
I would appreciate it if to tell me what to do if you find any solution in the future.