User Tools

Site Tools


molecular_dynamics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
molecular_dynamics [2009/11/26 09:41]
prokop created
molecular_dynamics [2011/02/18 13:13] (current)
Line 1: Line 1:
 =====Molecular dynamics===== =====Molecular dynamics=====
  
-In this section we describe how to simulate molecular dynamics in NVT and NVE ensembles. In the canonical ensemble are N,V,T respectively N,V,E conserved. There are implemented two methods to hold temperature constant in fireball. The first one is velocity rescaling and the second is Nose hoover ​chain thermostat. These options are driven by keyvord: iensemble that controls which statistical ensemble will used within the simulation. In particular, to run free dynamics without any structural optimization method, one needs to set ichuench ​= 0.+In this section we describe how to simulate molecular dynamics in NVT and NVE ensembles. In the canonical ensemble are N,V,T respectively N,V,E conserved. There are implemented two methods to hold temperature constant in fireball. The first one is velocity rescaling and the second is Nose- Hoover ​chain thermostat. These options are driven by keyword''​iensemble'' ​that controls which statistical ensemble will used within the simulation. In particular, to run free dynamics without any structural optimization method, one needs to set ''​iquench ​= 0''​. 
 + 
 +| iensemble=0 | NVE ensemble | 
 +| iensemble=1 | NVT ensemble with velocity rescaling | 
 +| iensemble=2 | NVT with a Nose-Hoover chain thermostat and velocity-verlet | 
 +| iensemble=3 | NVE with velocity-verlet integrator |
  
-<​code>​ 
-iensemble=0 NVE ensemble 
-iensemble=1 NVT ensemble with velocity rescaling ​ 
-iensemble=2 NVT with a Nose-Hoover chain thermostat and velocity-verlet 
-iensemble=3 NVE with velocity-verlet integrator. 
-</​code>​ 
  
-Here is an example of answer.bas for benzene molecule.+Here is an example of answer.bas for benzene molecule:
  
 +==== answer.bas : ====
 <​code>​ <​code>​
-answer.bas 
          12          12
    ​6 ​    ​-4.183081 ​    ​-4.008593 ​    ​-0.000092    ​6 ​    ​-4.183081 ​    ​-4.008593 ​    ​-0.000092
Line 29: Line 28:
 </​code>​ </​code>​
  
-In the case of Nose Hoover thermostat we can choose number of chains and mass of extra additional degree of fredom. This values are set in file NH.optional placed in work directory ​like bellow.+In the case of Nose-Hoover thermostat we can choose number of chains and mass of extra additional degree of fredom. This values are set in file ''​NH.optional'' ​placed in work directory.
  
 +==== NH.optional : ====
 <​code>​ <​code>​
-NH.optional 
 4               ​!number of chains 4               ​!number of chains
-1.2             ! +1.2             ​! ​mass of chain 1 
-1.2             ! +1.2             ​! ​mass of chain 2 
-1.2             ! +1.2             ​! ​mass of chain 3 
-1.2             !+1.2             ​! ​mass of chain 4
 </​code>​ </​code>​
  
-Temperature of system is set by keywords T_initial and T_final in section &​OPTION&​. Time step of ionic motion is defined through a standard keyword dt in femtosecond.An example of fireball.in input file for clasical ​molecular dynamic is bellow.+Temperature of system is set by keywords ​''​T_initial'' ​and ''​T_final'' ​in section ​''​&​OPTION&​''​. Time step of ionic motion is defined through a standard keyword ​''​dt'' ​in femtoseconds. An example of fireball.in input file for classical ​molecular dynamic is below.
  
 +==== fireball.in : ====
 <​code>​ <​code>​
-fireball.in  
 &OPTION &OPTION
 basisfile = answer.bas ​ basisfile = answer.bas ​
Line 62: Line 61:
 &END &END
 </​code>​ </​code>​
 +All input files here:​{{:​fireball:​md:​input_files.tar.gz|input_files}}
 +==== Output ====
  
-The position and values of total energy and tomperature ​are written into output file answer.xyz if the keyword iwrtxyz=1. To simplier plotting the values of temperature we can import tepmerature value from the file answer.xyz to another file e.g. T_dyn by command: awk '/​ETOT/​ {print 6$}' answer.xyz > T_dyn where are the data in simple list. +The position and values of total energy and temperature ​are written into output file ''​answer.xyz'' ​if the keyword ​''​iwrtxyz=1''​. To simplier plotting the values of temperature we can import tepmerature value from the file ''​answer.xyz'' ​to another file e.g. ''​T_dyn'' ​by command: 
 +<​code>​ 
 +awk '/​ETOT/​ {print 6$}' answer.xyz > T_dyn ''​  
 +</​code>​ 
 +where are the data in simple list. 
  
-Temperature during simulation of benzene hold on by velocity rescaling and Nose Hoocer ​thermostat during the simulation in Figure 1. +Temperature during simulation of benzene hold on by velocity rescaling and Nose-Hoover ​thermostat during the simulation in Figure 1. 
molecular_dynamics.1259224901.txt.gz · Last modified: 2011/02/18 13:14 (external edit)