21.06.2015 Views

this user's guide - Lammps

this user's guide - Lammps

this user's guide - Lammps

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SPH-USER Documentation Getting Started 4<br />

2. Getting Started<br />

We assume that you already have a working LAMMPS installation. For more on downloading and<br />

building LAMMPS, see http://lammps.sandia.gov. This document only provides information<br />

related to the SPH module within LAMMPS. For questions regarding the usage of LAMMPS,<br />

please see the LAMMPS documentation.<br />

2.1. Building the SPH module within LAMMPS<br />

In the LAMMPS distribution, the SPH is distributed as an add-on module, which means that it<br />

is not by default compiled with the rest of LAMMPS. To instruct LAMMPS to build the SPH<br />

module, go to the LAMMPS source subdirectory (/src) and type<br />

make yes-sph<br />

followed by<br />

make <br />

to compile LAMMPS on your particular platform.<br />

2.2. Running SPH simulations with LAMMPS<br />

See Sec. 5 for a few examples.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!