Skip to content

Latest commit

 

History

History
 
 

212_polymers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Coupling with LAMMPS

LAMMPS polymers in Taylor-Green vortex. Movie on YouTube produced with ParaView.

Install LAMMPS serial library

git clone [email protected]:lammps/lammps.git
cd lammps/src
make yes-MOLECULE serial -j4 'CCFLAGS = -O3 -g -fPIC'
mkdir -p "$HOME"/.local/lib "$HOME"/.local/include
cp STUBS/libmpi_stubs.a liblammps_serial.a "$HOME"/.local/lib/
cp library.h "$HOME"/.local/include/

LAMMPS configuration is in.polymers, aphros configuration is in std.conf.

To run the example and generate PPM images,

make run

Convert lammps dumps to VTK

awk -f dump2vtk input *.dump