ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopsePaper/pbc.tex
(Generate patch)

Comparing trunk/oopsePaper/pbc.tex (file contents):
Revision 904 by tim, Wed Jan 7 15:21:00 2004 UTC vs.
Revision 928 by tim, Tue Jan 13 15:24:22 2004 UTC

# Line 8 | Line 8
8   %TCIDATA{Version=5.00.0.2552}
9   %TCIDATA{CSTFile=40 LaTeX article.cst}
10   %TCIDATA{Created=Friday, September 19, 2003 08:29:53}
11 < %TCIDATA{LastRevised=Wednesday, January 07, 2004 10:20:42}
11 > %TCIDATA{LastRevised=Tuesday, January 13, 2004 10:22:03}
12   %TCIDATA{<META NAME="GraphicsSave" CONTENT="32">}
13   %TCIDATA{<META NAME="SaveForMode" CONTENT="1">}
14   %TCIDATA{<META NAME="DocumentShell" CONTENT="Standard LaTeX\Standard LaTeX Article">}
# Line 41 | Line 41
41   \section{\label{Sec:pbc}Periodic Boundary Conditions}
42  
43   \textit{Periodic boundary conditions} are widely used to simulate truly
44 < macroscopic systems with a relatively small number of particles. Simulation
45 < box is replicated throughout space to form an infinite lattice. During the
46 < simulation, when a particle moves in the primary cell, its periodic image
47 < particles in other boxes move in exactly the same direction with exactly the
48 < same orientation.Thus, as a particle leaves the primary cell, one of its
49 < images will enter through the opposite face.If the simulation box is large
50 < enough to avoid "feeling" the symmetric of the periodic lattice,the surface
51 < effect could be ignored. Cubic and parallelepiped are the available periodic
52 < cells. \bigskip In OOPSE, we use the matrix instead of the vector to describe
53 < the property of the simulation box. Therefore, not only the size of the
54 < simulation box could be changed during the simulation, but also the shape of
55 < it. The transformation from box space vector $\overrightarrow{s}$ to its
56 < corresponding real space vector $\overrightarrow{r}$ is defined by
44 > macroscopic systems with a relatively small number of particles. The
45 > simulation box is replicated throughout space to form an infinite lattice.
46 > During the simulation, when a particle moves in the primary cell, its image in
47 > other boxes move in exactly the same direction with exactly the same
48 > orientation.Thus, as a particle leaves the primary cell, one of its images
49 > will enter through the opposite face.If the simulation box is large enough to
50 > avoid "feeling" the symmetries of the periodic lattice, surface effects can be
51 > ignored. Cubic, orthorhombic and parallelepiped are the available periodic
52 > cells In OOPSE. We use a matrix to describe the property of the simulation
53 > box. Therefore, both the size and shape of the simulation box can be changed
54 > during the simulation. The transformation from box space vector $\mathbf{s}$
55 > to its corresponding real space vector $\mathbf{r}$ is defined by
56   \begin{equation}
57 < \overrightarrow{r}=H\overrightarrow{s}%
57 > \mathbf{r}=\underline{\underline{H}}\cdot\mathbf{s}%
58   \end{equation}
59  
60  
61   where $H=(h_{x},h_{y},h_{z})$ is a transformation matrix made up of the three
62 < box axis vectors. $h_{x},h_{y}$ and $h_{z}$ represent the sides of the
62 > box axis vectors. $h_{x},h_{y}$ and $h_{z}$ represent the three sides of the
63   simulation box respectively.
64  
65 < To find the minimum image, we need to convert the real vector to its
66 < corresponding vector in box space first, \bigskip%
65 > To find the minimum image, we convert the real vector to its corresponding
66 > vector in box space first, \bigskip%
67   \begin{equation}
68 < \overrightarrow{s}=H^{-1}\overrightarrow{r}%
68 > \mathbf{s}=\underline{\underline{H}}^{-1}\cdot\mathbf{r}%
69   \end{equation}
70 < And then, each element of $\overrightarrow{s}$ is casted to lie between -0.5
72 < to 0.5,
70 > And then, each element of $\mathbf{s}$ is wrapped to lie between -0.5 to 0.5,
71   \begin{equation}
72   s_{i}^{\prime}=s_{i}-round(s_{i})
73   \end{equation}
74 < where%
74 > where
75  
78 \begin{equation}
79 round(x)=\lfloor{x+0.5}\rfloor\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }if\text{
80 }x\geqslant0
81 \end{equation}
76   %
77  
78   \begin{equation}
79 < round(x)=\lceil{x-0.5}\rceil\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }if\text{ }x<0
79 > round(x)=\left\{
80 > \begin{array}
81 > [c]{c}%
82 > \lfloor{x+0.5}\rfloor & \text{if \ }x\geqslant0\\
83 > \lceil{x-0.5}\rceil & \text{otherwise}%
84 > \end{array}
85 > \right.
86   \end{equation}
87  
88  
89   For example, $round(3.6)=4$,$round(3.1)=3$, $round(-3.6)=-4$, $round(-3.1)=-3$.
90  
91 < Finally, we could get the minimum image by transforming back to real space,%
91 > Finally, we obtain the minimum image coordinates by transforming back to real space,%
92  
93   \begin{equation}
94 < \overrightarrow{r^{\prime}}=H^{-1}\overrightarrow{s^{\prime}}%
94 > \mathbf{r}^{\prime}=\underline{\underline{H}}^{-1}\cdot\mathbf{s}^{\prime}%
95   \end{equation}
96  
97  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines