- Posts: 40
Benzene, density and surface tension.
- panzu
- Topic Author
- Visitor
I am traying to reproduce the next experiment.
A simulation of a system containing
400 CG water molecules and 400 benzene molecules, at a temperature
T=293 K and pressure P=1 bar. Starting from randomly
mixed conditions, the oily and aqueous phases rapidly demix
into two slabs similar to the geometry.
(I am following the same steps as in "The MARTINI Force Field: Coarse Grained Model for Biomolecular Simulations". Phys. Chem. B 2007,111,7812-7824
Section 3.3Extension to Ringlike Compounds. 3.3.1. Cyclohexane
and Benzene.)
I take the followings force fields:
martini_v2.0.itp
martini_v2.0_solvents.itp
I use a time step dt= 0.030 ps
tcoupl = Berendsen
; Groups to couple separately =
tc-grps = BENZ W
; Time constant (ps) and reference temperature (K) =
tau_t = 1.5 1.5
ref_t = 293 293
Pcoupl = berendsen
Pcoupltype = isotropic ;semiisotropic
; Time constant (ps), compressibility (1/bar) and reference P (bar) =
tau_p = 3.0 ;3.0
compressibility = 1.0e-5 ;1.0
ref_p = 1.0 ;1.0
However I can not obtain the same density as in the paper (0.72g/cm³), instead I get 1.2g/cm³. Neither I get the proper surface tension (Water-Benzene) according to experimental results (38 mN/m), instead I get 80 mN/m.
So if somebody could help my with this problem it would be appreciated!
Please Log in or Create an account to join the conversation.
- nanogod
- Offline
- Senior Boarder
Kind regards
Nanogod
Please Log in or Create an account to join the conversation.
- djurre
- Offline
- Admin
- Posts: 272
Please Log in or Create an account to join the conversation.
- panzu
- Topic Author
- Visitor
Please Log in or Create an account to join the conversation.
- siewert
- Offline
- Admin
- Posts: 61
Second, for a correct density, make sure you use realistic masses in the simlation, or scale with the real masses afterwards. Remember Martini uses default masses for the particles.
Good luck!
Please Log in or Create an account to join the conversation.
- panzu
- Topic Author
- Visitor
Please Log in or Create an account to join the conversation.
- jaakko
- Offline
- Admin
- Posts: 70
Please Log in or Create an account to join the conversation.
- panzu
- Topic Author
- Visitor
Thank you!!
Please Log in or Create an account to join the conversation.
- panzu
- Topic Author
- Visitor
Firstly I had simulated a system of Benzene and Water with a comperssibility of 3.0e-4 bar-1 (as Martini suggests)
md.chem.rug.nl/cgmartini/index.php/force...ers/input-parameters
The simulation box was streched in z direction and got shorter in X-Y direction such as the simulation even crashed due to the short length of X-Y direcction. I repeated the simulation, I took a larger sistem (3456 Benzenes and 7606 Waters and 844 anti-frozen Water,lx=ly=5.95 and lz=49.6, 2 water slab of 15 nm,1 Benzene slab of 16 nm) also I did another simulation with comperssibility of 3.0e-4 but again I had the same problem.
Next I performed another simulation, I fixed the comperssibility at X/Y direcction equal to 0 as you adviced me. The problem was solved, the length at X-Y direction was conserverd but the barostat did not yield a correct pressure:
Statistics over 4125501 steps [ 0.0000 through 123765.0000 ps ], 4 data sets
All statistics are over 412551 points
Energy Average Err.Est. RMSD Tot-Drift
Pressure -5.95364 0.085 30.6296 0.0410342 (bar)
Pres-XX -9.39876 0.17 40.0578 0.0983339 (bar)
Pres-YY -9.4879 0.098 40.1115 0.0243231 (bar)
Pres-ZZ 1.02573 0.00031 41.5075 0.000445658 (bar)
Here are the parameters I asked for:
; RUN CONTROL PARAMETERS =
integrator = md
tinit = 0
dt = 0.030
; OPTIONS FOR WEAK COUPLING ALGORITHMS =
; Temperature coupling =
tcoupl = V-rescale
; Groups to couple separately =
tc-grps = BENZ W WF
; Time constant (ps) and reference temperature (K) =
tau_t = 0.5 0.5 0.5
ref_t = 300 300 300
; Pressure coupling =
Pcoupl = berendsen
Pcoupltype = semiisotropic
; Time constant (ps), compressibility (1/bar) and reference P (bar) =
tau_p = 5.0 5.0
compressibility = 0 3e-4
ref_p = 1.0 1.0
Does anybody know why this happen?
thanks for your kind help in advance
Please Log in or Create an account to join the conversation.
- xavier
- Offline
- Admin
- Posts: 416
panzu wrote: About the calculation of surface tension, something might be going wrong:
Firstly I had simulated a system of Benzene and Water with a comperssibility of 3.0e-4 bar-1 (as Martini suggests)
md.chem.rug.nl/cgmartini/index.php/force...ers/input-parameters
The simulation box was streched in z direction and got shorter in X-Y direction such as the simulation even crashed due to the short length of X-Y direcction. I repeated the simulation, I took a larger sistem (3456 Benzenes and 7606 Waters and 844 anti-frozen Water,lx=ly=5.95 and lz=49.6, 2 water slab of 15 nm,1 Benzene slab of 16 nm) also I did another simulation with comperssibility of 3.0e-4 but again I had the same problem.
Next I performed another simulation, I fixed the comperssibility at X/Y direcction equal to 0 as you adviced me. The problem was solved, the length at X-Y direction was conserverd but the barostat did not yield a correct pressure:
Statistics over 4125501 steps [ 0.0000 through 123765.0000 ps ], 4 data sets
All statistics are over 412551 points
Energy Average Err.Est. RMSD Tot-Drift
Pressure -5.95364 0.085 30.6296 0.0410342 (bar)
Pres-XX -9.39876 0.17 40.0578 0.0983339 (bar)
Pres-YY -9.4879 0.098 40.1115 0.0243231 (bar)
Pres-ZZ 1.02573 0.00031 41.5075 0.000445658 (bar)
Here are the parameters I asked for:
; RUN CONTROL PARAMETERS =
integrator = md
tinit = 0
dt = 0.030
; OPTIONS FOR WEAK COUPLING ALGORITHMS =
; Temperature coupling =
tcoupl = V-rescale
; Groups to couple separately =
tc-grps = BENZ W WF
; Time constant (ps) and reference temperature (K) =
tau_t = 0.5 0.5 0.5
ref_t = 300 300 300
; Pressure coupling =
Pcoupl = berendsen
Pcoupltype = semiisotropic
; Time constant (ps), compressibility (1/bar) and reference P (bar) =
tau_p = 5.0 5.0
compressibility = 0 3e-4
ref_p = 1.0 1.0
Does anybody know why this happen?
thanks for your kind help in advance
Please Log in or Create an account to join the conversation.
- panzu
- Topic Author
- Visitor
Please Log in or Create an account to join the conversation.
- xavier
- Offline
- Admin
- Posts: 416
The pressure you report is indeed off! Did you remove the "equilibration" phase before calculation? Did you try to see weather the pressure was stable at that value or the magnitude you measure is simply due to fluctuations? In other words: Could you detail the manner you determine the pressure.
Please Log in or Create an account to join the conversation.
- panzu
- Topic Author
- Visitor
The pressure is stable at that point, I can not see why.
Please Log in or Create an account to join the conversation.
- xavier
- Offline
- Admin
- Posts: 416
Is it starting with the right values at the end of the NPD run and then deviating?
I am asking because an non-equilibrated pressure in the x,y plane might be difficult to relax with a zero compressibility.
Please Log in or Create an account to join the conversation.
- panzu
- Topic Author
- Visitor
You are right, as I start from a non-equilibrated pressure in the x,y plane and I fix zero compressibility at X-Y plane, the system can not relax properly.
So the point is, How can I relax the X-Y plane? As I said before, when I use a semi-isotropic barostat with a compressibility of 3.0e-4 at X-Y plane, the simulation box is streched in z direction and X-Y plane gets shorter up to the crashing of the simulation.
So what can I do in order to relax the x-Y plane? Should I use a isotropic barostat then?
Please Log in or Create an account to join the conversation.
- xavier
- Offline
- Admin
- Posts: 416
In an homogeneous system the z direction should compensate for the lake of compressibility on the x/y directions. You could try with a water box to check. However you have an interface water/benzene with a surface tension. The system will try to reduce the size of this interface to its minimum. It is probably why you observe a shrinkage of the x/y dimension.
I guess that if you have reached an equilibrated x/y and z pressure you should be able to extract the surface tension :))
panzu wrote: I got a period of a point per each 100 step of MD for the use of the averages.
You are right, as I start from a non-equilibrated pressure in the x,y plane and I fix zero compressibility at X-Y plane, the system can not relax properly.
So the point is, How can I relax the X-Y plane? As I said before, when I use a semi-isotropic barostat with a compressibility of 3.0e-4 at X-Y plane, the simulation box is streched in z direction and X-Y plane gets shorter up to the crashing of the simulation.
So what can I do in order to relax the x-Y plane? Should I use a isotropic barostat then?
Please Log in or Create an account to join the conversation.
- panzu
- Topic Author
- Visitor
So,should I equilibrate Water and Benzen slab apart and then put them together?
Please Log in or Create an account to join the conversation.
- xavier
- Offline
- Admin
- Posts: 416
You do not need to equilibrate them separately because they will equilibrate together anyway and the disparity between the expected value and the observed values are the result of surface tension ...
panzu wrote: That makes sense.
So,should I equilibrate Water and Benzen slab apart and then put them together?
Please Log in or Create an account to join the conversation.