📄 node52.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2 Final//FR"><!-- Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) --><!-- by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><!-- Modified Simulog 03/97 --><HTML><HEAD><TITLE>5.4 Complete description of the module</TITLE><LINK REL=STYLESHEET TYPE="text/css" HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="5.4 Complete description of the module"><meta name="keywords" value="Guide6"><meta name="resource-type" value="document"><meta name="distribution" value="global"></HEAD><BODY BGCOLOR="#FFFFFF"><P> <IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html1087 HREF="node51.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html1091 HREF="node48.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html1093 HREF="node53.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html1095 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A HREF="../Guide6-18/node52.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide6-14/node52.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide6-10/node52.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1094 HREF="node53.html">6 Diverse visualizations</A><B>Up: </B> <A NAME=tex2html1092 HREF="node48.html">5 Visualization of surfaces</A><B> Prev: </B> <A NAME=tex2html1088 HREF="node51.html">5.3 Utilization of VIS3XX </A><B><A HREF="node2.html" >Contents</A></B><HR SIZE=3 WIDTH="75%"><H1><A NAME=SECTION04640000000000000000>5.4 Complete description of the module</A></H1><P><P><P><H2><A NAME=SECTION04641000000000000000>5.4.1 The different input data possible</A></H2><P><P><P><DL COMPACT><DT>Utilization with finite element results:<DD> <P>The admissible data structures for a mesh consisting of triangles arethe <b> AM</b><FONT color="#B8860B" SIZE=-1><I>(<IMG ALIGN=middle SRC="../icons/foot_motif.gif" ALT="[note]"> The name of the author, A. Marrocco.)</I></FONT> or <b> NOPO</b> data structures.<P>The <b> AM</b> data structure is composed of 2 records (binary): <UL><LI> N, NT, ... <LI> NU(3,NT), C(2,N), JND(NT), ... <BR><P> where N is the number of nodes in the mesh and NT is the number of triangles. NU is the array containing the vertex numbers and C is the array containing the nodal coordinates. JND is an array containing the sub-domain number of each element.<P></UL><P>The <b> NOPO</b> data structure must be 2D and composed of P1 triangles only.<P><P><P>Several possibilities are offered as far as the results of the computation defined on the mesh are concerned:<P><UL><LI> the file (binary) contains a set of records, each record corresponds to the nodal values of a solution (vector of length N);<P> <LI> the file (binary) is composed of a set of records, each record containing the vectors U(N), V(N), C(2,N) and X.<P> (U and V may represent a solution vector, C is the array containing the nodal coordinates and X is a real scalar)<P> <LI> the file contains a <b> B</b> structure (corresponding to the <b> NOPO</b> structure). </UL><P><P><P><DT>Utilization, visualization of array T(NX,NY):<DD> <P>The (binary) file is composed of a set of records, each of length NX*NY and corresponds to array T(NX,NY).<P>The program will inquire what the record number is. NX and NY must be the same for the different records and must also be compatible with those defined (further on) with command MAILLE-XY.<P><P><P><DT>Utilization of an external function:<DD> Already seen.<P><P><P><DT>Function F typed on the keyboard:<DD> The interpreted functions (function parser) are used here.<P> </DL><P><P><P><H2><A NAME=SECTION04642000000000000000>5.4.2 Main commands</A></H2><P><P><P>The main commands correspond to BORNES-XY, MAILLE-XY and GRAD-ECH-XYZ.<P><DL COMPACT><DT>BORNES-XY<DD> <P>This command is used to define a rectangular window in the (X,Y) plane, which serves as the domain in which function <b>F(X,Y)</b> is defined.<P>The input parameters are: XMIN, XMAX, YMIN and YMAX, the window extremities.<P>The initial values are, respectively, 0, 1 , 0 and 1.<P>For the case where the module is used to interpret the finite element results, we choosethe domain bounds as XMIN, XMAX, YMIN and YMAX.<P><P><DT>MAILLE-XY<DD> <P>To define a grid in the window defined by XMIN, XMAX, YMIN and YMAX.<P>The input parameters are:<UL><LI> NX, number of points in the x-direction, and NY, number of points in the y-direction.</UL>The initial values are NX = NY = 40.<P><P><P><DT>GRAD-ECH-XYZ<DD> <P>To choose the representation scale, linear or logarithmic, in the z-direction only.The initial choice corresponds to a linear scale.<P> </DL><P><P><P><H2><A NAME=SECTION04643000000000000000>5.4.3 General display characteristics</A></H2><P><P><P>Initially, there is an automatic scaling of the three-dimensional object to be represented (this can beprevented!).<P>The commands available at this level are: OBS, DIM, MODE, AXES, LEGEND and (return).<P>The "return" key is used to exit from the current subroutine and execute the plot.<P>The signification of the above commands is now given:<P><DL COMPACT><DT>OBS<DD> <P> Positioning of the observer in spherical coordinates and observation angle.The input parameters are:<P><UL><LI> <IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img2.gif"> the angle with respect with the OX axis (in degrees) <LI> <IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img106.gif"> the angle with respect to the XOY plane (in degrees) (elevation) <LI> <b>vis</b> the half angle of observation (in degrees) (value <b><</b> 90). <BR><P>The initial values of the parameters are: <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img107.gif">, <IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img108.gif"> and <b> vis 2</b>.</UL><P>The observer always views the center of the box defined by XMIN, XMAX, YMIN, YMAX, ZMIN and ZMAX and his/her distance is calculated automatically such thatthe entire object is in view.<P><P><P><DT>DIM<DD> <P>To define or modify the size (in cm.) of the plot.<P>The input parameters are: X1, X2, Y1 and Y2.<P>The initial values depend on the terminal used and correspond to the maximum size usable.<P><P><P><DT>MODE<DD> <P>The surface display mode. There are several possibilities:<P><UL><LI> MODE = 1 or 2: <BR> The domain for the function definition is: <BR> X in the interval [ XMIN, XMAX ] and <BR> Y in the interval [ YMIN, YMAX ]. <BR><P> In the present case, this is also the domain displayed. <BR><P> For MODE = 1 the surface is represented using lines. <BR> For MODE = 2 the surface is represented using a grid.<P> <LI> MODE = 3 or 4: <BR> The domain for the functional definition is: <BR> X in the interval [ XMIN, XMAX ] and <BR> Y in the interval [ YMIN, YMAX ]. <BR><P> In the present case, the displayed domain can be different to the definition domain as supplementary constraints can be imposed by the relations:<P> <DIV ALIGN=center><IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img109.gif"></DIV><P> The user has the choice of parameters CX, CY, B0, B1, TX and TY, respectively initialized to the values: 0, 0, 0, 1, 1 and 1. <BR><P> For MODE = 3 the surface is represented using lines. <BR> For MODE = 4 the surface is represented using a grid.<P> <LI> MODE = 5 or 6: <BR> The domain for the functional definition is: <BR> X in the interval [ XMIN, XMAX ] and <BR> Y in the interval [ YMIN, YMAX ]. <BR><P> In the present case, the displayed domain can be different to the definition domain as supplementary constraints can be imposed by the relations:<P> <DIV ALIGN=center><IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img110.gif"></DIV><P> The user has the choice of parameters C CX, CY, B0, B1, TX, TY, AX and AY, respectively initialized to the values: 0, 0, 0, 1, 1, 1, 1 and 1. <BR><P> For MODE = 5 the surface is represented using lines. <BR> For MODE = 6 the surface is represented using a grid.<P> <LI> MODE = 7 or 8: <BR> The domain for the functional definition is: <BR> X in the interval [ XMIN, XMAX ] and <BR> Y in the interval [ YMIN, YMAX ]. <BR><P> In the present case, the displayed domain can be different to the definition domain as supplementary constraints can be imposed by the relations:<P> <DIV ALIGN=center><IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img111.gif"></DIV><P> Linear constraints defining half-planes. The user can have up to 10 relations of this type. <BR><P> The initial values are 2 linear relations and the parameter values given below:<P> <DIV ALIGN=center><IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img112.gif"></DIV> <DIV ALIGN=center><IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img113.gif"></DIV><P> For MODE = 5 the surface is represented using lines. <BR> For MODE = 6 the surface is represented using a grid.<P></UL><P><P><P><DT>AXES<DD> <P>This part corresponds to the axes. Plots of graded and referenced axes. <BR><P>Output in space (3D) is obtained by transformation of a reference axis described on the (0,0),(1,0) segment of the XOY plane. The different parametersdefining the axis are modified dynamically via a menu indicating the different options available.<P>Thus, when using keyword (or command) AXES, the following will appear on the screen:<P><PRE>|-------------------------------------------------------------------|| ACTUELLEMENT on trace N axes || aspect , mod_const , leg_axes , nb_axes , edit_contr , (return) ||-------------------------------------------------------------------|</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -