Skip to main content
software
papers
Interactive Papers
Publication List
blog
utilities
All Utilities
Wavefunction Calculator
XYZ Trajectory Viewer
Elastic Tensor Analysis
SMILES Viewer
LAMMPS Interface
visualisations
Bragg's Law
QM 1D
QM 2D
Spherical Harmonics
Molecular Dynamics
Crystal Structures
Wulff Construction 2D
github
google scholar
orcid
Input
Output
Viewer
Clear
Files
+
Drop files or click to upload
LAMMPS Script
Default script (no file selected)
# LAMMPS input script - LJ fluid (Argon) simulation # ============================================ # Simulation parameters - adjust these variable dump_freq equal 10 # Trajectory output frequency variable thermo_freq equal 100 # Thermodynamic output frequency variable run_steps equal 1000 # Total simulation steps # System setup units lj dimension 3 atom_style atomic boundary p p p # Create FCC lattice of atoms lattice fcc 0.8442 region box block 0 4 0 4 0 4 create_box 1 box create_atoms 1 box mass 1 1.0 # Initialize velocities (T = 1.44 in LJ units) velocity all create 1.44 87287 loop geom # LJ potential with cutoff at 2.5 sigma pair_style lj/cut 2.5 pair_coeff 1 1 1.0 1.0 2.5 # Neighbor list settings neighbor 0.3 bin neigh_modify delay 0 every 20 check no # NVE integration (constant energy) fix 1 all nve # Output settings thermo ${thermo_freq} # Trajectory output with element symbol for visualization dump traj all xyz ${dump_freq} trajectory.xyz dump_modify traj element Ar sort id # Run simulation run ${run_steps} # Cleanup undump traj
Run LAMMPS
Loading LAMMPS...