This example will walk you through how to build an icosahedral gold nanoparticle and equilibrate the system to 250K.
Here we will be building an icosahedra with 8 shells (layers of gold atoms). Icosahedra are experimentally interesting due to the 20 exposed (111) facets, which have a lower surface energy than exhibited by the spherical particles.
- To start the process, a metal file (gold.omd) is needed to describe the material composition of the particle. We will take the same file from Building and equilibrating a gold nanoparticle in OpenMD
<OpenMD>
<MetaData>
molecule{
name = "Au";
atom[0]{
type = "Au";
position(0.0, 0.0, 0.0);
}
}
component{
type = "Au";
nMol = 1;
}
forceField = "SC";
forceFieldFileName = "SuttonChen.QSC.frc";
</MetaData>
</OpenMD> - To create the particle coordinates, use the command:
icosahedralBuilder -o file.omd --shell=8 --latticeConstant=4.08 --ico gold.omd
where file.omd is the name of your icosahedra, 8 is the number of shells (in this example), 4.08 is the lattice constant in Angstroms for the metal (4.08 is the correct value for gold), and the skeletal OpenMD file above is called gold.omd
- To make sure this icosahedra is the right size for your purposes; use Dump2XYZ to create an xyz file:Dump2XYZ -i file.omd
and view the file in VMD or Jmol (where you might want to measure the diameter of the particle).
- To run the icosahedra in a Langevin Hull and heat the system, we’ll start by inserting the following excerpt after the forceFieldFileName in file.omd.
ensemble = "LHull";
targetTemp = 5;
targetPressure = 1;
viscosity = 0.1;
dt = 4.0;
runTime = 2E5;
sampleTime = 2000.0;
statusTime = 4;
seed = 985456376;
usePeriodicBoundaryConditions = "false";
tauThermostat = 1E3;
tauBarostat = 5E3; - Before we can equilibrate the system, the atoms need initial velocities, which we can set using the thermalizer command.
thermalizer -t 5 -o file-5K.omd file.omd
where -t is followed by the desired temperature in Kelvin, and -o is followed by the output file name.
- To relax the particle at 5K, we’ll run the simulation described in file-5K.omd using the openmd command:
openmd file-5K.omd
- To ensure that the temperature of the system has reached 5K, we can use xmgrace to view the stat file:
xmgrace -nxy file-5K.stat
In a typical stat file, set 3 (the fourth column) contains the information about the temperature of the system. You can view only the temperature for the trajectory by double clicking any line and bringing up the Set Appearance box. All the sets are initially displayed; turn off the sets you don’t want to see by highlighting and right clicking the set to click the Hide option.
- The “end of run” file that has been relaxed can then be copied to a new simulation that will be heated to 100K.
cp file-5K.eor file-100K.omd
Then change the targetTemp from 5 to 100.
- We’ll continue the procedure of copying the .eor file to a new .omd file and increasing the temperature until we’ve reached 250K. Temperature increases of 50 – 100K and simulation times of 100 – 200 ps are reasonable. Heating the system in intervals is relatively effective in keeping the geometry of the particle stable.
https://openmd.org/building-and-equilibrating-gold-icosahedra-in-openmd/
0 Comments