lammps/tools/moltemplate/examples/CG_solvent/cyclododecane+watMW/README_setup.sh

26 lines
777 B
Bash
Executable File

# Create LAMMPS input files this way:
cd moltemplate_files
# run moltemplate
moltemplate.sh -a "@atom:/WatMW/mW 1" system.lt
# Here we just want to make sure that the "mW" atom type is assigned to
# number "1". It should be by default, so usually you can leave out
# -a "@atom:/WatMW/mW 1".
# This will generate various files with names ending in *.in* and *.data.
# These files are the input files directly read by LAMMPS. Move them to
# the parent directory (or wherever you plan to run the simulation).
mv -f system.in* system.data ../
# Optional:
# The "./output_ttree/" directory is full of temporary files generated by
# moltemplate. They can be useful for debugging, but are usually thrown away.
rm -rf output_ttree/
cd ../