📄 node41.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>2.7 A complete example</TITLE><LINK REL=STYLESHEET TYPE="text/css" HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="2.7 A complete example"><meta name="keywords" value="Guide3"><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=tex2html1351 HREF="node40.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html1357 HREF="node29.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html1359 HREF="node42.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html1361 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A NAME=tex2html1362 HREF="node28.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/index_motif.gif" ALT="index"></A><A HREF="../Guide3-18/node41.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide3-14/node41.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide3-10/node41.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1360 HREF="node42.html">2.8 Abbreviated list of the keywords</A><B>Up: </B> <A NAME=tex2html1358 HREF="node29.html">2 Three-dimensional mesh generation (1)</A><B> Prev: </B> <A NAME=tex2html1352 HREF="node40.html">2.6.2 Keywords</A><B><A HREF="node28.html" >Index</A></B><B><A HREF="node2.html" >Contents</A></B><HR SIZE=3 WIDTH="75%"><H1><A NAME=SECTION00570000000000000000>2.7 A complete example</A></H1><P><P><P>This example corresponds to meshing the domain in figure <A HREF="node41.html#figup">2.5</A>. This figure presents symmetries, where only one section was studied. It is, furthermore, topologically cylindrical.<P>The remainder of this section contains:<UL><LI> a flowchart of the different modules (figure <A HREF="#figenchma23">2.2</A>);<LI> the two initial 2D meshes (figures <A HREF="#figdepart2D">2.3</A> and <A HREF="#figdepart2D1">2.4</A>); <LI> the data "cards", i.e., the data file for module <b> APNOP3</b>;<LI> the final mesh (figure <A HREF="node41.html#figup">2.5</A>).</UL><P><P><A NAME=4268> </A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img114.gif"><BR><STRONG>Figure 2.2:</STRONG> <i> Flowchart</i><A NAME=4264iFlowcharti4264> </A><BR><P><P> up6.bas.psfig:depart2DMesh oneup6.haut.psfig:depart2D1Mesh two<P><P><A NAME=4277> </A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img115.gif"><BR><STRONG>Figure 2.5:</STRONG> <i> Final mesh</i><A NAME=figup> </A><BR><P><P>The data file used by <b> APNOXX</b> to create the two 2D meshes which forms the basis, is given below:<P><PRE>'3D TEST ' COURBES 1 $ IMPRE COURBE01(X,Y)= (X-7.)**2+(Y+3.975094)**2-36.; COURBE02(X,Y)= X**2+(Y-4.)**2-64.; COURBE03(X,Y)= X**2+Y**2-2.05**2; COURBE04(X,Y)= X**2+Y**2-0.85**2; COURBE05(X,Y)= X**2+(Y+3.4)**2-0.09; FIN'POINTS ' 1 11 $ IMPRE NPOINT $$ NOP NOREF(NOP) X(NOP). Y(NOP). $ 1 2 0.000000E+00 -.400000E+01 2 2 0.130000E+01 -.389367E+01 3 1 0.107976E+01 -.300000E+01 4 1 0.131722E+01 -.205000E+01 5 1 0.177535E+01 -.102500E+01 6 4 0.736122E+00 -.425000E+00 7 4 0.000000E+00 -.850000E+00 8 3 0.000000E+00 -.205000E+01 9 5 0.000000E+00 -.310000E+01 10 5 0.000000E+00 -.370000E+01 11 5 0.300000E+00 -.340000E+01'LIGNE ' 1 12 $ IMPRE NDLM $$ NOLIG NOELIG NEXTR1 NEXTR2 NOREFL NFFRON RAISON $ 1 5 1 2 2 10 0.100000E+01 2 5 2 3 1 0 0.100000E+01 3 5 4 3 1 10 0.100000E+01 4 5 5 6 0 0 0.100000E+01 5 6 7 6 4 10 0.100000E+01 6 5 7 8 0 0 0.100000E+01 7 5 8 9 0 0 0.100000E+01 8 3 11 9 5 10 0.100000E+01 9 3 10 11 5 10 0.100000E+01 10 3 1 10 0 0 0.100000E+01 11 6 8 5 3 10 0.100000E+01 12 5 4 5 0 0 0.100000E+01'TRIH ' 1 0 1 9 1 $ IMPRE LEVEL NUDSD NBRELI NS1L $ LIST OF THE CONTOUR LINES : 1 2 3 12 11 7 8 9 10 1 0 1 $ NCOMP NBRINT IOPT $ 9 $ COMPONENT $ 'REGU ' 1 0 1 $ IMPRE NIVO1 NIVO2'QUAC ' 1 2 2 4 1 $ IMPRE LEVEL NUDSD NBRELI NS1L $ LIST OF THE CONTOUR LINES : 6 11 4 5 5 1 $ IMAX NQUAD'RECO ' 1 1 2 3 0.10000E-02 1 $ IMP NIV1 NIV2 NIV3 EPS IOPT 0 0 $ NBNNF NBNNSD'SAUV ' 1 3 0 $ IMPRE NINOPO NTNOPO UP6.BAS.NOPO $ FILE NAME 'SAUV ' 1 2 0 $ IMPRE NINOPO NTNOPO UP6.HAUT.NOPO $ FILE NAME 'FIN '</PRE><P><P><P>The data file used by <b> APN3XX</b> to create the final 3D mesh: we will re-encounterthe keywords <b> INTR</b>, <b> MA23</b>, <b> RECO</b>, <b> SYMP</b>, <b> ROTA</b>, <b> SAUV</b> and <b> FIN</b> which specifythe operations to be performed to obtain the final mesh:<P><UL><LI> INTR : introduce the 2D mesh residing on file, with the name UP6.BAS.NOPO, into main memory;<LI> MA23 : construct from this mesh 2 (or 6) layers (i.e. 3 (or 7) sections) by simple translation; <LI> INTR and MA23 : the same operations for the mesh of UP6.HAUT.NOPO;<LI> RECO : glue together the 2 preceding meshes;<LI> SYMP : construct a symmetry with respect to plane <b>x=0</b> of the resulting mesh; <LI> RECO : glue together the above mesh and its symmetry;<LI> ROTA (twice) : rotate the result to right and left;<LI> RECO (twice) : glue together;<LI> SAUV : store the final mesh on file;<LI> FIN : end of construction.</UL><P><PRE>'EXAMPLE_UP6.2D==>UP. ''INTR ' 1 0 $ IMPRE NINOPO (EXTERNAL D.S.) UP6.BAS.NOPO $ FILE NAME'MA23 ' 1 0 1 $ IMPRE NIVO2D NIVO3D $ === DEFINITION OF THE FUNCTION === TRAN 2 $ TOP SECTION 0.0000000E+00 0.0000000E+00 0.5000000E+00 $ TRANSLATION VECTOR BASE -1.000000 FIN $ END OF FUNCTION DEFINITION $ =========== THE OPTIONS ========= $ ==== CALLING THE MESH GENERATOR ==== GO 'INTR ' 1 2 $ IMPRE NINOPO (EXTERIOR DS) UP6.HAUT.NOPO $ FILE NAME'MA23XX ' 1 2 3 $ IMPRE NIVO2D NIVO3D $ === DEFINITION OF THE FUNCTION === TRAN 6 $ TOP SECTION 0.0000000E+00 0.0000000E+00 0.5000000E+00 $ TRANSLATION VECTOR FIN $ END OF FUNCTION DEFINITION $ =========== THE OPTIONS ========= $ ==== CALLING THE MESH GENERATOR ==== GO 'RECO ' 1 1 3 4 0.10000E-02 0 $ IMP NIV1 NIV2 NIV3 EPS IOPT 0 0 $ NBNNF NBNNSD'SYMP ' 1 4 5 $ IMPRE LEVEL1 LEVEL2 0 0 $ NBNNF NBNNSD 0.1000000E+01 0.0000000E+00 0.0000000E+00 0.0000000E+00$ A. B. C. D.'RECO ' 1 4 5 6 0.10000E-02 0 $ IMP NIV1 NIV2 NIV3 EPS IOPT 0 0 $ NBNNF NBNNSD'ROTA ' 1 6 7 $ IMPRE LEVEL1 LEVEL2 0 0 $ NBNNF NBNNSD 0.0000000E+00 0.0000000E+00 0.1000000E+01 $ AXIS OF ROTATION 0.1200000E+03 0.0000000E+00 0.0000000E+00 0.0000000E+00$ TETA. X. Y. Z. 'ROTA ' 1 6 8 $ IMPRE LEVEL1 LEVEL2 0 0 $ NBNNF NBNNSD 0.0000000E+00 0.0000000E+00 0.1000000E+01 $ AXIS OF ROTATION -0.1200000E+03 0.0000000E+00 0.0000000E+00 0.0000000E+00$ TETA. X. Y. Z. 'RECO ' 1 6 8 9 0.10000E-02 0 $ IMP NIV1 NIV2 NIV3 EPS IOPT 0 0 $ NBNNF NBNNSD'RECO ' 1 9 7 10 0.10000E-02 0 $ IMP NIV1 NIV2 NIV3 EPS IOPT 0 0 $ NBNNF NBNNSD'SAUV ' 1 10 0 $ IMPRE NINOPO NTNOPO UP.NOPO3D1 $ FILE NAME'F '</PRE><P><HR SIZE=3 WIDTH="75%"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html1351 HREF="node40.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html1357 HREF="node29.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html1359 HREF="node42.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html1361 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A NAME=tex2html1362 HREF="node28.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/index_motif.gif" ALT="index"></A><A HREF="../Guide3-18/node41.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide3-14/node41.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide3-10/node41.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1360 HREF="node42.html">2.8 Abbreviated list of the keywords</A><B>Up: </B> <A NAME=tex2html1358 HREF="node29.html">2 Three-dimensional mesh generation (1)</A><B> Prev: </B> <A NAME=tex2html1352 HREF="node40.html">2.6.2 Keywords</A><B><A HREF="node28.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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -