LAMMPS LargeScale AtomicMolecular Massively Parallel Simulator LAAMPS A

  • Slides: 6
Download presentation
LAMMPS Large-Scale Atomic/Molecular Massively Parallel Simulator

LAMMPS Large-Scale Atomic/Molecular Massively Parallel Simulator

LAAMPS – A simulator / interpreter for molecular dynamics simulation. Molecular dynamics – a

LAAMPS – A simulator / interpreter for molecular dynamics simulation. Molecular dynamics – a simulation of a many body problem. Dynamics calculated based on Newton’s equations. Forces are calculated based on a given potential – classical or quantum mechanical. In my simulations, I use the Tersoff potential which takes the form: It has the general shape of a pair potential, but the coefficients are not constant. This is the concept of bond order – the strength of the bonds is not constant, but depends on local environment.

Bellow is the simulation I am running in my project: # ----------- Initialization --------units

Bellow is the simulation I am running in my project: # ----------- Initialization --------units metal atom_style atomic boundary pps newton on processors *** # ----------- Create Atoms ---------lattice region diamond 3. 57 diamond. Box block 0 9 0 9 units lattice create_box 1 diamond. Box create_atoms mass 1 region diamond. Box * 12. 0107

# ----------- Potential Defs --------pair_style tersoff pair_coeff * * Si. C. tersoff C #

# ----------- Potential Defs --------pair_style tersoff pair_coeff * * Si. C. tersoff C # ----------- Simulation Settings ------neighbor 2. 0 bin neigh_modify timestep delay 3 0. 00001 thermo_style custom step pe etotal temp thermo 10 dump diamond all atom 100000 out. diamond. *. xyz # ----------- Relaxation ----------min_style cg minimize 1 e-6 5000 10000

# ----------- Dynamics -----------fix frlax all nve fix temp. Control. H all temp/rescale 50

# ----------- Dynamics -----------fix frlax all nve fix temp. Control. H all temp/rescale 50 300. 0 3500. 02 1. 0 run 1000000 unfix temp. Control. H fix temp. Control. C all temp/rescale 50 3500. 0 300. 02 1. 0 run 10000 unfix temp. Control. C # ----------- Simulation End --------unfix undump frlax diamond

Running a LAMMPS simulation on Tamnun Running the simulation is done using the mpirun

Running a LAMMPS simulation on Tamnun Running the simulation is done using the mpirun command, utilizing the many cores Tamnun offers. As with all jobs on tamnun, scheduling is done using the PBS queueing system. #!/bin/sh #PBS ##PBS -N Dmnd. Grpht 6 -j eo #PBS -q simphony_q #PBS -l select=1: ncpus=4: mpiprocs=4 ##PBS_O_WORKDIR=$HOME/Comp. Phys PBS_O_WORKDIR=$HOME/Diamond. Graphitized 6 cd $PBS_O_WORKDIR mpirun -np 50 lmp_Big. Mech. Sim<in. diamond. Big