File: dimension.txt

package info (click to toggle)
lammps 0~20140523.gite5e877d-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 193,012 kB
  • ctags: 48,147
  • sloc: cpp: 458,874; python: 21,769; fortran: 16,023; ansic: 12,503; perl: 3,687; sh: 3,221; makefile: 1,366; f90: 1,177; xml: 788; objc: 238; lisp: 169; tcl: 61; csh: 16; awk: 14
file content (48 lines) | stat: -rw-r--r-- 1,214 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c

:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Section_commands.html#comm)

:line

dimension command :h3

[Syntax:]

dimension N :pre

N = 2 or 3 :ul

[Examples:]

dimension 2 :pre

[Description:]

Set the dimensionality of the simulation.  By default LAMMPS runs 3d
simulations.  To run a 2d simulation, this command should be used
prior to setting up a simulation box via the
"create_box"_create_box.html or "read_data"_read_data.html commands.
Restart files also store this setting.

See the discussion in "Section_howto"_Section_howto.html for
additional instructions on how to run 2d simulations.

IMPORTANT NOTE: Some models in LAMMPS treat particles as finite-size
spheres or ellipsoids, as opposed to point particles.  In 2d, the
particles will still be spheres or ellipsoids, not circular disks or
ellipses, meaning their moment of inertia will be the same as in 3d.

[Restrictions:]

This command must be used before the simulation box is defined by a
"read_data"_read_data.html or "create_box"_create_box.html command.

[Related commands:]

"fix enforce2d"_fix_enforce2d.html

[Default:]

dimension 3 :pre