LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

create_box command

Syntax:

create_box N region-ID 

Examples:

create_atoms 2 mybox 

Description:

This command creates a simulation box that encloses the specified region. Thus a region command must first be used to define a geometric domain. If the region is not of style block, LAMMPS encloses it with a rectangular simulation box.

The argument N is the number of atom types that will be used in the simulation.

Restrictions:

An atom_style and region must have been previously defined to use this command.

Related commands:

create_atoms, region

Default: none