📄 xmd-8.html
字号:
this will change the current particle state, and the particle stateafter this command runs will be the last step in the COR file. The nameof the file is file, and the beginning step1 and ending step2 stepnumber may be specified. This is the step number assigned when the CORfile was written. For example the COR file may have the steps 100, 200,300, etc. The step numbers do not indicate the sequence of steps. Forexample, a value of 5 means step 5, not the fifth step - it could evenbe the first step. If the ending step is omitted then all steps areread to the end of the file. If the beginning step is omitted, then thecommand starts with the first step in the file.<P><P><DT><B>ROTATE xaxis yaxis zaxis xcenter ycenter zcenter angle</B><DD><P>This command rotates the selected particlesabout the specified axis by the given angle (in degrees). The axisdirection is given by the vector xaxis yaxis zaxis (the magnitude of thevector is ignored). The coordinates xcenter ycenter zcenter locate theaxis in space by specifying a point which the axis must pass through.The rotation follows the " right hand rule ", meaning that whenthe thumb of one's right hand points in the direction of the axis theremaining fingers, when curled, point in the direction of a positiverotation.<P><P><A NAME="command-run"></A> <DT><B>RUN run</B><DD><P>Sets the run number to run. Used by PLOT, STATE and WRITE RCV (seesection on <A HREF="xmd-6.html#implementation-run">run identification</A>).<P><DT><B>SCALE xscale [yscale [zscale]]</B><DD><P>Scales the box and particles by xscale, yscale and zscale respectivelyin the x, y and z directions. If zscale is omitted it is set to theyscale, similarly if yscale is omitted it is set to xscale.<P><P><DT><B>SCREW xburgers yburgers zburgers xorg yorg zorg [ xref yref zref ]</B><DD><P>Apply displacements to selected particles to form a screw dislocation ina previously perfect lattice. xburgers, yburgers, zburgers, are thecomponents of the burgers vector. xorg, yorg, zorg, specify a pointthrough which the screw line passes. The optional xref, yref, zref,specify a reference direction non-parallel to the burgers vector (whichis also the direction of the screw dislocation line). This referencetogether with the screw dislocation line defines the reference plane.All atoms within this reference plane undergo zero displacement. If noreference direction is specified, an arbitrary one is used. Thedisplacement of each atom is given by<P><BLOCKQUOTE><CODE><PRE>di = b * sin(ai)</PRE></CODE></BLOCKQUOTE><P>where di is the atom displacement, ai is the angle made with thereference plane by the line joining the atom i and the origin point, andb is the burgers vector.<P><DT><B>SEED seed</B><DD><P>Set the random number generator to seed. The random number generator isused by ITEMP as well as for random moves by MC command.<P><P><P><A NAME="command-select"></A> <DT><B>SELECT</B><DD><P><P>The full form of the SELECT command with all possible options is<BLOCKQUOTE><CODE><PRE>SELECT [AND | OR | NOT | XOR ] { ALL | BOX x1 y1 z1 x2 y2 z2 | EATOM lo hi | ELLIPSE xc yc zc xr yr zr | ILIST nlist i1 i2 i3 .... | INDEX i1 [i2 [iskip]] | LAYER {x|y|z} nlayer l1 [l2 [l3 [..] ] ] | NEAR n x y z | PLANE xn yn zn x1 y1 z1 x2 y2 z2 | SET set | TAG tag | TYPE type | VELOCITY [ ABS ] { X | Y| Z | MAG } lo hi }</PRE></CODE></BLOCKQUOTE><P><P>This command selects a subset of particles according to the givencriteria. AND selects only those particles that have been bothpreviously selected or fit the current criteria. OR selects particlesthat belong to either group. NOT selects those particles which do notfit the given criteria. XOR selects those particles have beenpreviously selected or which fit the current criteria, but not both.<P><DL><P><DT><B> ALL </B><DD><P>selects all particles.<P><DT><B> BOX x1 y1 z1 x2 y2 z2 </B><DD><P>selects all particles within a box whose opposite corners are (x1,y1,z1)and (x2,y2,z2).<P><DT><B> EATOM lo hi</B><DD><P>selects all atoms whose potential energy falls between lo and hi, wherethe units are those specified by the EUNIT command (default is ergs).Important: This command uses the energies which last calculated for theatoms when the commands WRITE ENERGY, WRITE EATOM, CMD, QUENCH or MCwhere executed. This command will NOT re-calculate the energies.<P><DT><B> ELLIPSE xc yc zc xr yr zr</B><DD><P>selects those particles within an ellipse centered on (xc,yc,zc) andwhose axes are (xr,yr,zr).<P><DT><B> ILIST nlist / i1 i2 i3 ... </B><DD><P>selects all particles whose indices are listed. nlist is the number ofindices in the list. The list of indices is placed on the subsequentlines.<P><DT><B> INDEX i1 [i2 [iskip]] </B><DD><P>selects particles numbered from i1 to i2. If i2 is omitted then onlyparticle i1 is selected. If iskip is included then only every iskip'thparticle starting at i1 and not exceeding i2 is selected.<P><DT><B> LAYER {x|y|z} nlayer l1 [l2 [l3 [..] ] ] </B><DD><P>divides the simulation into nlayer layers in the x, y, or z directionand selects those atoms in layer(s) l1, l2, ... If there are repeatingboundary conditions then it divides the box into nlayers, otherwise itdivides the space between the maximum and minimum particles in theselected direction.<P><DT><B> NEAR n x y z </B><DD><P>selects n nearest particles to the point (x,y,z).<P><DT><B> PLANE xn yn zn x1 y1 z1 x2 y2 z2 </B><DD><P>selects particles between two parallel planes. The planes are normal tothe vector (xn,yn,zn). The two planes pass through the points(x1,y1,z1) and (x2,y2,z2) respectively.<P><DT><B> SET set </B><DD><P>selects all particles in specified set (set value ranges from 1 to 8).<P><DT><B> TAG tag </B><DD><P>selects all particles with specified tag value (values range from 0 to 255).<P><DT><B> TYPE type </B><DD><P>chooses all particles of type type.<P><DT><B> VELOCITY [ ABS ] { X | Y| Z | MAG } lo hi </B><DD><P>chooses particles with velocities between lo and hi. One can use the X, Y or Z components of the velocity, in whichcase one can also use the ABS option to query the absolute value of the velocity. The MAG option compares the magnitude of the velocity, in which case the ABS option is irrelevant. The units for X, Y, Z andMAG are centimeters per second.<P></DL><P><P><DT><B>SELECT KEEP { ON | OFF }</B><DD><P>Determines if SELECT, SET and TAG info is forgotton (OFF) or remembered(ON) when coordinates are read with the COR or RCV commands. The defaultis OFF. For further discussion see section<A HREF="xmd-6.html#particle-selection">Particle Selection</A>.<P><P><P><P><P><P><DT><B>SET { ADD | SUB | CLEAR } set</B><DD><P>Either adds or subtracts (ADD or SUB) selected particles from set number set(which can range between 1 and 12). The CLEAR option resets the specified setto be empty.<P><P><DT><B>SIZE size</B><DD><P>Sets the size of a jump used by MC. Units are angstroms.<P><P><DT><B>SSAVE nskip file</B><DD><P>Causes the average internal scaled stress per particle (not the true stress) to be written to file every nskipsteps. The data file is a text file with 7 columns. The first column is the step number, the following sixcolumns are the Voight scaled stresses per atom in units of ergs. To obtain the true Voight stresses from thescale stresses, you must divide by the volume per atom. The program does not do this automatically, becausewhen there are free surfaces and/or lattice voids the volume per atom is not well defined.SSAVE works when using EAM and PAIR potentials, but does not currently work for the Tersoff potential.<P><P><DT><B>STATE file</B><DD><P>Reads current state of CMD and MC simulation in the file file (where thefile was created with the WRITE STATE command).<P><P><DT><B>STEP step</B><DD><P>Sets the step number to step. Used by PLOT, STATE, ESAVE and WRITE RCV (see WRITE below,page 23).<P><P><DT><B>STRESS THERMAL { ON | OFF }</B><DD><P><P>Most (all?) thermodynamics texts include the a term in the atomic velocities (the 'virial') when calculating the internalstress. By default XMD does not include this term, but includesonly the internal stress which arises directly from the force.If you wish to include the virial term, then use the command<BLOCKQUOTE><CODE><PRE> STRESS THERMAL ON </PRE></CODE></BLOCKQUOTE>This is a controversial issue, I think it can be resolvedby considering the internal stress and thermal expansion ofa perfectly harmonic solid. Such a solid DOES NOT expandwith increasing temperature, but it would expand if thevirial term were correct.Anyway, there's probably a paper in this somewhere :)<P><P><P><DT><B>SURFACE { ON | OFF } { X | Y | Z } [X|Y|Z|ON|OFF] ...</B><DD><P><P>Determines whether a free surface or repeating boundary condition isused with the MC and CMD simulations (see page 7). SURFACE ON X Y Zcreates a free surface in the x, y and z directions. SURFACE OFF X Y ONZ creates a free surface in the z direction and repeating boundaryconditions in the x and y directions. By default repeating boundaryconditions exist in all three directions. When there is a free surfacethe box dimension is ignored for that dimension.<P><P><DT><B>TAG tag</B><DD><P><P>Sets tag value for selected atoms. Every atom can have a tag value between 0and 255. The default value is 0. Tag values are used similar to sets, butwhere a single atom can belong to any combination of sets, a single atom canonly have one tag value. Thus if atoms are grouped by their tag values, eachatom can belong to only one group. You can select atoms according to theirtag value with the SELECT command.<P><P><DT><B>TYPE type</B><DD><P><P>Sets type value for selected atoms. The properties of each atom typeis controlled by the potential model.<P><P><DT><B>TYPELIST [SEL] ntype</B><DD><P><P>Reads ntype number of types from input lines following command. Thesetypes are assigned existing particles (or selected particles). ntypecan be either less or more than the number of particles (or selectedparticles). If less, then only the first ntype particles are changes.If more, then the extra types read in are ignored.<P><P><DT><B>TYPENAME t1 name1 [ t2 name2 ] [ t3 name3 ] ... [tn namen]</B><DD><P><P>Associates the type number t1 (or t2, etc.) with the element name name1 (or name2, etc.). This istypically used to assign element abbreviations (such as FE, NA) to be used in place of type numbers for certainoutput formats (currently WRITE XMOL and WRITE PDB).<P><P><DT><B>VELOCITY { LINEAR | ANGULAR} dx dy dz magnitude</B><DD><P><P>Sets the total linear or angular velocity for the selectedparticles. For the linear case, (dx, dy, dz) determines the directionof the velocity, and magnitude is the magnitude of the velocity (incentimeters per second).<P><P>For the angular case, (dx,dy,dz) is the direction of the rotationalaxis, and magnitude is the angular velocity (in radians per second).The axis is positioned through the center of mass of the selectedparticles. The direction of positive angular velocity follows the righthand rule: if the thumb of the right hand is pointed along the axis,then the curled fingers of that hand indicate the direction of positiverotation.<P><P><DT><B>VERBOSE { ON | OFF }</B><DD><P><P>Turns output comments on or off. At present, only the WRITE ATOMcommand produces comments.<P><P><DT><B>WAVE phase dx dy dz kx ky kz</B><DD><P>Displaces the selected particles by a wave. The new position of each particle is<P><BLOCKQUOTE><CODE><PRE> r' = r + d sin (k · r)</PRE></CODE></BLOCKQUOTE><P>where d is the wave vector (dx,dy,dz) and k is (kx,ky,kz). r is theoriginal particle coordinate measured from the origin and r' isthe new particle coordinate.<P></DL><P><P><P><HR><A HREF="xmd-9.html">Next</A><A HREF="xmd-7.html">Previous</A><A HREF="xmd.html#toc8">Contents</A></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -