Skip to content

Started applying comments from Livecoms Reviewer #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified figures/PEG-density.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/REACT-mixing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions files/tutorial1/improved.md.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

# 1) Initialization
Expand All @@ -10,5 +11,5 @@ atom_style atomic
boundary p p p
# 2) System definition
# 3) Settings
# 4) Visualization
# 4) Monitoring
# 5) Run
9 changes: 5 additions & 4 deletions files/tutorial1/improved.min.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

# 1) Initialization
Expand All @@ -15,8 +16,8 @@ mass 2 10.0
pair_style lj/cut 4.0
pair_coeff 1 1 1.0 1.0
pair_coeff 2 2 0.5 3.0
# 4) Visualization
# 4) Monitoring
thermo 10
thermo_style custom step etotal press
# 5) Run
minimize 1.0e-6 1.0e-6 1000 10000
minimize 1.0e-6 1.0e-6 1000 10000
7 changes: 4 additions & 3 deletions files/tutorial1/initial.lmp
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# LAMMPS Input File (License CC BY 4.0)
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

# PART A - ENERGY MINIMIZATION
# 1) Initialization
# 2) System definition
# 3) Settings
# 4) Visualization
# 4) Monitoring
# 5) Run
7 changes: 4 additions & 3 deletions files/tutorial1/solution/improved.md.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

# 1) Initialization
Expand Down Expand Up @@ -34,7 +35,7 @@ compute sumcoor12 grp_t1 reduce ave c_coor12

# 3) Settings

# 4) Visualization
# 4) Monitoring
thermo 1000
thermo_style custom step temp pe ke etotal &
press v_n1_in v_n2_in c_sumcoor12
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial1/solution/improved.min.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

# 1) Initialization
Expand All @@ -25,7 +26,7 @@ pair_style lj/cut 4.0
pair_coeff 1 1 1.0 1.0
pair_coeff 2 2 0.5 3.0

# 4) Visualization
# 4) Monitoring
thermo 10
thermo_style custom step etotal press

Expand Down
9 changes: 5 additions & 4 deletions files/tutorial1/solution/initial.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

# PART A - ENERGY MINIMIZATION
Expand All @@ -24,15 +25,15 @@ pair_style lj/cut 4.0
pair_coeff 1 1 1.0 1.0
pair_coeff 2 2 0.5 3.0

# 4) Visualization
# 4) Monitoring
thermo 10
thermo_style custom step etotal press

# 5) Run
minimize 1.0e-6 1.0e-6 1000 10000

# PART B - MOLECULAR DYNAMICS
# 4) Visualization
# 4) Monitoring
thermo 50
thermo_style custom step temp etotal pe ke press
dump viz all image 100 myimage-*.ppm type type &
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial2/breakable.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

units metal
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial2/solution/breakable-with-tip.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Python script (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

units metal
Expand Down
5 changes: 5 additions & 0 deletions files/tutorial2/solution/breakable-yaml-reader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Python Script
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials
import numpy as np
import re
import yaml
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial2/solution/breakable.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Python script (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

units metal
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial2/solution/unbreakable.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Python script (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

units real
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial2/unbreakable-yaml-reader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Python script (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# Python Script
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

import numpy as np
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial2/unbreakable.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# LAMMPS Include File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

pair_coeff 1 1 0.066 3.4
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial2/unbreakable.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

units real
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial3/merge.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

read_restart water.restart
7 changes: 4 additions & 3 deletions files/tutorial3/parameters.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# LAMMPS Include File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

labelmap atom 1 OE 2 C 3 HC 4 H 5 CPos 6 OAlc 7 OW 8 HW
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial3/peg.mol
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# LAMMPS Molecule File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

# PEG molecule
Expand Down
7 changes: 4 additions & 3 deletions files/tutorial3/pull.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS Input File (License CC BY 4.0)
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

kspace_style pppm 1e-5
Expand Down
5 changes: 3 additions & 2 deletions files/tutorial3/solution/merge.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS input file (License CC BY 4.0)
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

kspace_style pppm 1e-5
Expand Down
5 changes: 3 additions & 2 deletions files/tutorial3/solution/pull-with-tip.lmp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LAMMPS input file (License CC BY 4.0)
# LAMMPS Input File
# Licensed under CC BY 4.0
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
# The DOI will be added upon publication
# Please cite doi.org/10.48550/arXiv.2503.14020
# Find more on GitHub: https://github.com/lammpstutorials

kspace_style pppm 1e-5
Expand Down
Loading