node40.html
来自「htmdoc for html coding」· HTML 代码 · 共 498 行
HTML
498 行
<!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>1.4 DS BDCL</TITLE><LINK REL=STYLESHEET TYPE="text/css" HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="1.4 DS BDCL"><meta name="keywords" value="Guide2"><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=tex2html917 HREF="node39.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html923 HREF="node35.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html925 HREF="node41.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html927 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A NAME=tex2html928 HREF="node58.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/index_motif.gif" ALT="index"></A><A HREF="../Guide2-18/node40.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide2-14/node40.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide2-10/node40.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html926 HREF="node41.html">1.5 DS COOR</A><B>Up: </B> <A NAME=tex2html924 HREF="node35.html">1 Description of DS by type</A><B> Prev: </B> <A NAME=tex2html918 HREF="node39.html">1.3 DS B</A><B><A HREF="node58.html" >Index</A></B><B><A HREF="node2.html" >Contents</A></B><HR SIZE=3 WIDTH="75%"><H1><A NAME=SECTION05150000000000000000>1.4 DS BDCL</A></H1><A NAME=3898> </A><P><P><P><H2><A NAME=SECTION05151000000000000000>1.4.1 Contents</A></H2><P><P>This DS is used to store information regarding theboundary conditions, which can be of two types:<P><UL><LI> Value prescribed to a degree of freedom (Dirichlet): <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img114.gif"><LI> Linear relation constraining some degrees of freedom: <DIV ALIGN=center><IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img115.gif"></DIV></UL><P>There are four description types possible to define the constraints. Each consists of a description of thenodes and degrees of freedom which must be constrained.<P>DS <b> BDCL</b> is composed of seven arrays of predefined order.<P><DL COMPACT><DT>Array BDC0:<DD> General information. <BR><P>This integer array contains 32 variables, consisting of a general description of the job (title, date, name), of DS <b> BDCL</b> (type, level, ...), and indicates the presence or absence of array <b> BDC1</b>.<P><DL COMPACT><DT> 1:20 <tt> TITRE</tt><DD><P>the job title in 20 words of 4 characters,<P> </DL><P><DL COMPACT><DT> 21:22 <tt> DATE</tt><DD><P>the date of creation in 2 words of 4 characters,<P> </DL><P><DL COMPACT><DT> 23:28 <tt> NOMCRE</tt><DD><P>the creator's name in 6 words of 4 characters,<P> </DL><P><DL COMPACT><DT> 29 <tt> 'BDCL'</tt><DD><P>the DS type,<P> </DL><P><DL COMPACT><DT> 30 <tt> NIVEAU</tt><DD><P>the DS level,<P> </DL><P><DL COMPACT><DT> 31 <tt> ETAT</tt><DD><P>a reserved parameter,<P> </DL><P><DL COMPACT><DT> 32 <tt> NTACM</tt><DD><P>the number of supplementary arrays associated with the DS <BR> (they are described in array BDC1).<P> </DL><P><DT>Array BDC1:<DD> Description of any supplementary arrays. <BR><P>This array is analogous to array <b> B1</b> of DS <b> B</b> (see this DS).<P><DT>Array BDC2:<DD> General description of the constraints. <BR><P>This integer array contains 8 values.<P><DL COMPACT><DT> 1 <tt> NTYP</tt><DD><P>the constraint coefficient type,<P> </DL><P><DL COMPACT><DT> 2 <tt> NCART</tt><DD><P>the number of data items describing prescribed constraints such as <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img116.gif"> value,<P> </DL><P><DL COMPACT><DT> 3 <tt> NCLRL</tt><DD><P>the number of linear relations to describe,<P> </DL><P><DL COMPACT><DT> 4 <tt> NOPTFI</tt><DD><P>storage option:<UL><LI> NOPTFI = 0: the 4 arrays, <b> BDC3, BDC4, BDC5</b> and <b>BDC6</b>, are in M.M.<LI> NOPTFI = 1: a file will be used. <BR> </UL> </DL><P><DL COMPACT><DT> 5 <tt> NMOT3</tt><DD><P>the number of words necessary to store array <b> BDC3</b>,<P> </DL><P><DL COMPACT><DT> 6 <tt> NMOT4</tt><DD><P>the number of words necessary to store array <b> BDC4</b>,<P> </DL><P><DL COMPACT><DT> 7 <tt> NMOT5</tt><DD><P>the number of words necessary to store array <b> BDC5</b>,<P> </DL><P><DL COMPACT><DT> 8 <tt> NMOT6</tt><DD><P>the number of words necessary to store array <b> BDC6</b>.<P> </DL><P><DT>Array BDC3:<DD> Description of the data type for the constraints per degree of freedom. <BR><P>This integer array, NMOT3 long, contains:<P><UL><LI> if NOPTFI = 0: Loop from 1 to NCART<P><DL COMPACT><DT>NTYCAR<DD> the data type number (1, 2, 3 or 4),<P><UL><LI> 1: constraint at node i of degree of freedom l <LI> 2: constraint from node i to node j with step <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img117.gif"> of degree of freedom l <LI> 3: constraint at node i of degrees of freedom l to m with step <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img118.gif"> <LI> 4: constraint from node i to node j with step <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img117.gif">of degrees of freedom l to m with step <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img118.gif"></UL><P><DT>DCART<DD> the data description (i.e. 2, 4, 4 or 6 integers),<P><UL><LI> if NTYCAR = 1: node number i and degree of freedom number l <LI> if NTYCAR = 2: node numbers i and j, the step <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img117.gif"> and the degree of freedom number l.<LI> if NTYCAR = 3: node number i followed by the degree of freedom numbers l and m and the step <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img118.gif"><LI> if NTYCAR = 4: node numbers i and j and the step <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img117.gif"> followed by the degree of freedom numbers l and m and the step <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img118.gif"></UL> </DL><P>End of loop<P><LI> if NOPTFI = 1, the array contains one description:<P><DL COMPACT><DT>NTYCAR<DD> the data type number (1, 2, 3 or 4),<DT>DCART<DD> the data description (i.e., 2, 4, 4 or 6 integers),<P> </DL></UL><P><DT>Array BDC4:<DD> Prescribed values at degrees of freedom. <BR><P>This NTYP type array is NMOT4 long and contains:<P><UL><LI> if NOPTFI = 0:<P>the NCART prescribed values<LI> if NOPTFI = 1:<P>The prescribed value of the data card under consideration. In this case <b> BDC3</b> and <b> BDC4</b> are readsequentially on file, the first array indicating the data type and the type of data description, followed bythe second array giving the corresponding prescribed value.<P></UL><P><P><P>If NCLRL = 0, arrays <b> BDC5</b> and <b> BDC6</b> do not exist. If not, they function, depending on the value of NOPTFI, as described below.<P><DT>Array BDC5:<DD> Description of constraints in linear relations. <BR><P>This integer array contains NMOT5 words:<P><UL><LI> if NOPTFI = 0: Loop from 1 to NCLRL<P><DL COMPACT><DT>N(i)<DD> the number of terms in linear relation i, and for each term, thereforefor j=1,N(i) :<P><DL COMPACT><DT>NOEUD(j)<DD> the node number<DT>NDLI(j)<DD> the local degree of freedom number<P> </DL> </DL><P>End of loop<P><LI> if NOPTFI = 1, the array contains one definition:<P><DL COMPACT><DT>N<DD> the number of terms in the linear relation, and for each term (j=1,N):<DL COMPACT><DT>NOEUD(j)<DD> the node number<DT>NDLI(j)<DD> the local degree of freedom number<P> </DL> </DL></UL><P><DT>Array BDC6:<DD> Coefficient values in the linear relations. <BR><P>This NTYP type array contains the coefficient values of the linear combinations:<P><UL><LI> if NOPTFI = 0: Loop from 1 to NCLRL<P><DL COMPACT><DT>ALPHA(i)<DD> the RHS of linear relation i, and for each term, therefore for j=1,N(i):<DL COMPACT><DT>V(j)<DD> the value of coefficient j in the relation<P> </DL> </DL><P>End of loop<P><LI> if NOPTFI = 1, the array contains one definition:<P><DL COMPACT><DT>ALPHA<DD> the RHS of the linear relation, and for each term, thereforefor j=1,N:<DL COMPACT><DT>V(j)<DD> the value of coefficient j of the relation. In this case, <b> BDC5</b> and <b> BDC6</b> are read sequentially onfile and function in a synchronized manner.<P> </DL> </DL></UL><P> </DL><P><P><P><H2><A NAME=SECTION05152000000000000000>1.4.2 Corresponding tools</A></H2><P><P><P><H3><A NAME=SECTION05152100000000000000> Reading and writing a DS BDCL</A></H3><P><P><P>A DS, residing in main memory, is written in secondary memory on a sequential access file.<P>This is a category 1 DS if NOPTFI = 0, and a category 2 DS if NOPTFI = 1. In the first case, all the arrays are generated automatically, and in the second case, only the 3 first arrays as well as any associated arrays (described inarray<b> BDC1</b>) are read (module <b> SDLECT</b>) or written (module <b> SDECRI</b>):<P><UL><LI> when reading, arrays 4 to 6 are only addressed and the read is performed by the programvia a READ command.<LI> when writing, they are transfered via a WRITE command.</UL><P><DL COMPACT><DT>Remark:<DD> When NOPTFI=1 and NCART or NCLRL are non-zero, the arrays are stored in the following form:<P><UL><LI> arrays 3 and 4:<UL><LI> NTYCAR = 1: LE, 3, NTYCAR, NOEUD1, DL1, L4, V<LI> NTYCAR = 2: LE, 5, NTYCAR, NOEUD1, NOEUD2, NOEUD3, DL1, L4, V<LI> NTYCAR = 3: LE, 5, NTYCAR, NOEUD1, DL1, DL2, DL3, L4, V<LI> NTYCAR = 4: LE, 7, NTYCAR, NOEUD1, NOEUD2, NOEUD3, DL1, DL2, DL3, L4, V <P></UL></UL><P>where LE is the number of words which follow, and L4 is the number of words of value V.<P><UL><LI> arrays 5 and 6:<UL><LI> LE, L5, N, ((NOEUD(J),NDL(J)),J=1,N), L6, ALPHA, (V(J),J=1,N)</UL></UL><P>where LE is the number of words which follow, L5 = 2N+1 and L6 is the number of words of prescribed values.<P> </DL><P><P><P><H3><A NAME=SECTION05152200000000000000> Printing a DS BDCL</A></H3><P><P><P>The contents (total or partial) of a DS <b> BDCL</b> can be printed by module <b> IMBDCL</b>. Preprocessor <b> IMAGXX</b> is used if a conversational call of <b> IMBDCL</b> is desired.<P><P><P><H3><A NAME=SECTION05152300000000000000> Creation and manipulation modules of a DS BDCL</A></H3><P><P><P>DS <b> BDCL</b> is created using a DS <b> MAIL</b>, and sometimes a DS <b> COOR</b>, for examplevia modules <b> COBDCL</b>, etc.<P><P><P><H2><A NAME=SECTION05153000000000000000>1.4.3 Remark regarding the linear relation conditions</A></H2><P><P><P>This type of condition, written in the simplified form as:<P><DIV ALIGN=center><IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img115.gif"></DIV><P>leads to the change of variables:<P><DIV ALIGN=center><IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img119.gif"></DIV><P>and thus the prescription of this value to <IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img120.gif">.<P>The system, which is written as follows:<P><DIV ALIGN=center><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img121.gif"></DIV><P>where A is the system matrix and b the right-hand-side vector, now becomes:<P><DIV ALIGN=center><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img122.gif"></DIV><P>after the change of variables of matrix P.<P>Whether or not the solution of <IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img123.gif"> is possible, depends on the solution method chosen.Note that the skyline of the matrix is significantly modified by this type of relation, which may consequentlycause problems when using a frontal solution method.<P><P> <HR SIZE=3 WIDTH="75%"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html917 HREF="node39.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html923 HREF="node35.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html925 HREF="node41.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html927 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A NAME=tex2html928 HREF="node58.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/index_motif.gif" ALT="index"></A><A HREF="../Guide2-18/node40.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide2-14/node40.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide2-10/node40.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html926 HREF="node41.html">1.5 DS COOR</A><B>Up: </B> <A NAME=tex2html924 HREF="node35.html">1 Description of DS by type</A><B> Prev: </B> <A NAME=tex2html918 HREF="node39.html">1.3 DS B</A><B><A HREF="node58.html" >Index</A></B><B><A HREF="node2.html" >Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?