| 1 |
|
#!/bin/sh |
| 2 |
|
# |
| 3 |
|
# This is a collection of sample commands that can be used to build |
| 4 |
< |
# OOPSE 4 start files. In OOPSE 4, the start files have a <MetaData> |
| 4 |
> |
# OpenMD start files. In OpenMD, the start files have a <MetaData> |
| 5 |
|
# block to give information about the kind of simulation being performed. |
| 6 |
|
# The start files also contain at least one <Snapshot> block which contains |
| 7 |
|
# information about the instantaneous configuration. |
| 8 |
|
# |
| 9 |
|
# One of the difficult tasks in using any simulation program is figuring |
| 10 |
< |
# out how to format the start file correctly. OOPSE includes a set of |
| 10 |
> |
# out how to format the start file correctly. OpenMD includes a set of |
| 11 |
|
# "builder" programs to make that process a bit less painful. |
| 12 |
|
# |
| 13 |
|
# Example 1: |
| 14 |
|
# Builds an FCC lattice from the <MetaData> block in one_component.md |
| 15 |
|
# Uses 5 unit cells in each direction, a density of 1.0 g / cm^3, and |
| 16 |
< |
# places the output (which can be used to start an OOPSE job) in |
| 16 |
> |
# places the output (which can be used to start an OpenMD job) in |
| 17 |
|
# FCC.md |
| 18 |
|
# |
| 19 |
|
# Note that builders will rewrite the number of molecules in each component |
| 29 |
|
# Builds an FCC lattice from the <MetaData> block in three_component.md |
| 30 |
|
# uses 4 unit cells in each direction, a density of 1.0 g / cm^3, and |
| 31 |
|
# molFractions of 0.4, 0.4, and 0.2 for the three components. Places |
| 32 |
< |
# the output (which can be used to start an OOPSE job) in random_FCC.md |
| 32 |
> |
# the output (which can be used to start an OpenMD job) in random_FCC.md |
| 33 |
|
# |
| 34 |
|
# Note that builders will rewrite the number of molecules in each component |
| 35 |
|
# to match the number of lattice sites. |
| 40 |
|
# Example 3: |
| 41 |
|
# Builds a spherical nanoparticle (FCC) from the <MetaData> block in gold.md |
| 42 |
|
# using a particle radius of 30 Angstroms, and a lattice constant of 4.09 |
| 43 |
< |
# angstroms. Places the output (which can be used to start an OOPSE job) in |
| 43 |
> |
# angstroms. Places the output (which can be used to start an OpenMD job) in |
| 44 |
|
# gold_sphere.md |
| 45 |
|
# |
| 46 |
|
# Note that builders will rewrite the number of molecules in each component |
| 53 |
|
# Builds a random alloy spherical nanoparticle (FCC) from the <MetaData> |
| 54 |
|
# block in bimetallic.md using a particle radius of 30 Angstroms, a |
| 55 |
|
# lattice constant of 4.09 angstroms, and a mole fraction for the gold of 0.4. |
| 56 |
< |
# Places the output (which can be used to start an OOPSE job) in |
| 56 |
> |
# Places the output (which can be used to start an OpenMD job) in |
| 57 |
|
# Au_Ag_alloy.md |
| 58 |
|
# |
| 59 |
|
# Note that builders will rewrite the number of molecules in each component |
| 67 |
|
# block in bimetallic.md using a particle radius of 25 Angstroms, a |
| 68 |
|
# lattice constant of 4.09 angstroms, and a core radius for the gold atoms |
| 69 |
|
# of 12.5 angstroms. Places the output (which can be used to start an |
| 70 |
< |
# OOPSE job) in Au(core)-Ag(shell).md |
| 70 |
> |
# OpenMD job) in Au(core)-Ag(shell).md |
| 71 |
|
# |
| 72 |
|
# Note that builders will rewrite the number of molecules in each component |
| 73 |
|
# to match the number of lattice sites. |
| 80 |
|
# Uses the same <MetaData> block from bimetallic.md, |
| 81 |
|
# a particle radius of 25 Angstroms, a lattice constant of 4.09 angstroms, |
| 82 |
|
# and a core radius for the silver atoms of 12.5 angstroms. |
| 83 |
< |
# Places the output (which can be used to start an OOPSE job) in |
| 83 |
> |
# Places the output (which can be used to start an OpenMD job) in |
| 84 |
|
# Ag(core)-Au(shell).md |
| 85 |
|
# |
| 86 |
|
# Note that the last radius in Example 5 was taken as the particle radius, |
| 95 |
|
# block in bimetallic.md using a particle radius of 25 Angstroms, a |
| 96 |
|
# lattice constant of 4.09 angstroms, and a core radius for the gold atoms |
| 97 |
|
# of 12.5 angstroms. Places the output (which can be used to start an |
| 98 |
< |
# OOPSE job) in Au(core)-Ag(shell).md |
| 98 |
> |
# OpenMD job) in Au(core)-Ag(shell).md |
| 99 |
|
# |
| 100 |
|
# This example also introduces 70% vacancies in a 6 angstrom radial band |
| 101 |
|
# around the bimetallic interface: |
| 107 |
|
# Builds a random alloy spherical nanoparticle with 30% vacancies using the |
| 108 |
|
# <MetaData> block in bimetallic.md, a particle radius of 30 Angstroms, a |
| 109 |
|
# lattice constant of 4.09 angstroms, and a mole fraction for the gold of 0.4. |
| 110 |
< |
# Places the output (which can be used to start an OOPSE job) in |
| 110 |
> |
# Places the output (which can be used to start an OpenMD job) in |
| 111 |
|
# vacancy_alloy.md |
| 112 |
|
# |
| 113 |
|
../../bin/nanoparticleBuilder -o vacancy_alloy.md --radius=30.0 --latticeConstant=4.09 --molFraction=0.4 --vacancyPercent=80 bimetallic.md |