Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93649669
dimension.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 30, 10:44
Size
1 KB
Mime Type
text/html
Expires
Mon, Dec 2, 10:44 (2 d)
Engine
blob
Format
Raw Data
Handle
22682251
Attached To
rLAMMPS lammps
dimension.html
View Options
<HTML>
<CENTER><A
HREF =
"http://lammps.sandia.gov"
>
LAMMPS WWW Site
</A>
-
<A
HREF =
"Manual.html"
>
LAMMPS Documentation
</A>
-
<A
HREF =
"Section_commands.html#comm"
>
LAMMPS Commands
</A>
</CENTER>
<HR>
<H3>
dimension command
</H3>
<P><B>
Syntax:
</B>
</P>
<PRE>
dimension N
</PRE>
<UL><LI>
N = 2 or 3
</UL>
<P><B>
Examples:
</B>
</P>
<PRE>
dimension 2
</PRE>
<P><B>
Description:
</B>
</P>
<P>
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
<A
HREF =
"create_box.html"
>
create_box
</A>
or
<A
HREF =
"read_data.html"
>
read_data
</A>
commands.
Restart files also store this setting.
</P>
<P>
See the discussion in
<A
HREF =
"Section_howto.html"
>
this section
</A>
for additional
instructions on how to run 2d simulations.
</P>
<P><B>
Restrictions:
</B>
</P>
<P>
This command must be used before the simulation box is defined by a
<A
HREF =
"read_data.html"
>
read_data
</A>
or
<A
HREF =
"create_box.html"
>
create_box
</A>
command.
</P>
<P><B>
Related commands:
</B>
</P>
<P><A
HREF =
"fix_enforce2d.html"
>
fix enforce2d
</A>
</P>
<P><B>
Default:
</B>
</P>
<PRE>
dimension 3
</PRE>
</HTML>
Event Timeline
Log In to Comment