Modulefpreviousupnextcontents[BIG][Normal][small]
Next: 7 Implementation notes Up: 6 Diverse visualizations Prev: 6.4 Characteristic points and lines TRPOXX Contents


6.5 Diverse

6.5.1 Isovalues on a cut through a 3D mesh

In the case of a 3D problem modeled using Lagrange elements of degree 1 (tetrahedron, pentahedron or hexahedron) for which the mesh is known in the form of a NOPO structure and the solution is a B structure, preprocessor COUPXX is used to plot the isovalues of the solution on a cut plane.

  1. Activate preprocessor COUPXX.

  2. Choose the output terminal.

  3. Enter the names of the files containing the mesh (D.S. NOPO) and the solution (D.S. B). In addition, enter the coefficients defining the cut plane (equation of the form: AX + BY + CX + D = 0.).

  4. The menu appears (see below).

  5. An automatic plot ( mesh of the cut plane and isovalues) is obtained by typing 0.

  6. The values of the visualization parameters are obtained by typing V.

  7. Modify, if necessary, these values by choosing the corresponding key and entering the requested information. Once the desired state is obtained, type 0 to display the plot.

In practice, using preprocessor COUPXX, the user indicates to the module the different choices made from the possibilities offered.

The module computes the extrema corresponding to the mesh and solution automatically so that the corners of the box in which the plot will be displayed can be defined.

The menu of TRISO3 (module called in this case) is shown below:

   

 ------------------------------------------------------------
 |    | PLOT TYPE                 |  MESH AND CUT OF A 3D D.S. B          
 ------------------------------------------------------------
 | 20 | D.S. NOPO IN USE          |  levier.nopo                                              
 ------------------------------------------------------------
 | 20 | S.D. B IN USE             |  levier.b                                                 
 ------------------------------------------------------------
 | 21 | PLANE : AX+BY+CZ+D=0.     |      1.0000             0.00000          
 ------------------------------------------------------------
 | 21 |                           |     0.00000              1.0000          
 ------------------------------------------------------------
 | 24 | LOAD CASE                 |       1
 ------------------------------------------------------------
 | 27 | TABLE B4 IN USE           |       1
 ------------------------------------------------------------
 | 28 | TIMESTEP TO BE USED       |   NOT USED                            
 ------------------------------------------------------------
 | 32 | D.O.F. IN USE             |       1
 ------------------------------------------------------------
 | 25 | NUMBER OF ISOVALUES       |      20
 ------------------------------------------------------------
 | 26 | CHOICE FOR ISOVALUES      |   MIN < ** < MAX                      
 ------------------------------------------------------------
 | 71 | ISOVALUES ARE POINTED     |   NO                                  
 ------------------------------------------------------------
 | 31 | QUESTIONS ABOUT A D.S.    |   NO                                  
 ------------------------------------------------------------
 | 30 | PLOT SIZE                 |  AUTO
 ------------------------------------------------------------
 | 40 | CHARACTER TYPE            |  HARD
 ------------------------------------------------------------
 | 50 | ITEMS TO PLOT             |  TRIANGULATION                        
 ------------------------------------------------------------
 | 51 | SUB-DOMAINS CONSIDERED    |  ALL                                  
 ------------------------------------------------------------
 | 52 | OVERLAPPING               |  YES                                  
 ------------------------------------------------------------
 | 60 | LEGEND                    |  YES                                  
 ------------------------------------------------------------
 | 80 | LINE TYPE (MESH)          |  SOLID                                
 ------------------------------------------------------------
 | 80 | LINE TYPE (ISOVALUES) |      DOTTED                               
 ------------------------------------------------------------

A default value is proposed for each option. The above table lists the selections made automatically when plotting the stresses. Type 0 to obtain the plot of the mesh.

A key (a number) and a status corresponds to each item. To modify the status, it suffices to type the key and enter the values corresponding to the status desired (see the general introduction). The list of keys is given below:

Key 10:
the plot type: mesh and cuts (default value fixed).
Key 20:
the name of the files containing the mesh (D.S. NOPO) and the solution (D.S. B). To change files, activate this key and enter the new file names.
Key 21:
the new cut plane.
Key 24:
already seen.
Key 27:
already seen.
Key 28:
for a transient problem.
Key 32:
already seen.
Key 25:
already seen.
Key 26:
already seen.
Key 71:
already seen.
Key 31:
by activating this key, we can "inquire" about the D.S. and obtain information regarding its contents.
Key 30:
the plot will be full screen, otherwise the user must specify the size in cm.
Key 40:
the type of characters plotted: hardware (by default), software if not.
Key 50:
the choice of items to plot: the triangulation (by default). By activating this key, we have a choice between:
  -- MESH 
     NOTHING                 : 0            
     TRIANGULATION           : 1            
     GEOMETRIC BOUNDARY      : 2
Key 51:
The sub-domains to consider (by default, all). By activating this key, the user enters the number of sub-domains to take into account and their numbers.
Key 52:
the mesh and isovalues are superposed on the plot (by default),. By activating this key, the mesh of the cut is first obtained and then, by responding with a YES to the question:
  --  OTHER VIEW (YES-NO) ?
a plot of the isovalues without the mesh.
Key 60:
the general legend (there is a legend by default) corresponds to the indications appearing to the right of the plot (see examples: title, date, file name,...).
Key 80:
the type of plot lines desired: solid (by default) or, by activating this key, the choice between:
  

    SOLID      : 1  --   DOTTED    : 2           
    DASHED     : 3  --   MIXED     : 4 ?
and for the solution: DOTTED (by default) or, by activating the key the choice shown above.

Once a plot is displayed on the screen, a graphics menu appears which allows us to:

6.5.2 Piezometry

In the case of a 2D problem modeled using Lagrange elements of degree 1 for which the mesh is known in the form of a NOPO structure and the solution is a B structure, preprocessor ISOPXX is used to plot the isovalues (it corresponds to a poor version of TRMCXX). In reality, this preprocessor was written to visualize solutions (piezometric pressure and head) of an incompressible fluid flow problem in a porous medium.

  1. Activate preprocessor ISOPXX.

  2. Choose the output terminal.

  3. Enter the names of the files containing the mesh (D.S. NOPO).

  4. The menu appears (see below).

  5. An automatic plot ( mesh) is obtained by typing 0.

  6. The values of the visualization parameters are obtained by typing V.

  7. Modify, if necessary, these values by choosing the corresponding key and entering the requested information. In particular, key 10 is used to indicate that the solution must be taken into account. Once the desired state is obtained, type 0 to display the plot.

  8. A graphics menu is available on the plot which enables the user to perform modifications to the plot, to quit, or to return to the menu mentioned above.

In practice, using preprocessor ISOPXX, the user indicates to the module the different choices made from the possibilities offered.

The module computes the extrema corresponding to the mesh and solution automatically so that the corners of the box in which the plot will be displayed can be defined.

The menu of ISOPIE (module called in this case) is identical to that obtained for TRNOPO (module used to plot a 2D mesh, to which the user is referred) By activating key 10, we indicate that the solution must be considered after which the name of the file containing it must be entered. The enlarged menu is shown below;

 ------------------------------------------------------------
 | 10 | PLOT TYPE                 |  MESH AND ISOVALUES                   
 ------------------------------------------------------------
 | 11 | DEVICE NUMBER             |       1
 ------------------------------------------------------------
 | 12 | PLOT TITLE               |   piezo                                                                           
 ------------------------------------------------------------
 | 20 | D.S. NOPO TO PLOT         |  damian.nopo                                              
 ------------------------------------------------------------
 | 21 | S.D. B IN USE             |  damian.b                                                 
 ------------------------------------------------------------
 | 24 | LOAD CASE                 |       1
 ------------------------------------------------------------
 | 27 | ARRAY B4 SELECTED         |       1
 ------------------------------------------------------------
 | 28 | CLASSICAL PROBLEM         |  
 ------------------------------------------------------------
 | 32 | D.O.F. CHOSEN             |       1
 ------------------------------------------------------------
 | 25 | NUMBER OF ISOVALUES       |      20
 ------------------------------------------------------------
 | 26 | ISOVALUE CHOICE           |   MIN < ** < MAX                      
 ------------------------------------------------------------
 | 72 | ISOVALUES PLOT            |   COLOUR LINE                         
 ------------------------------------------------------------
 | 45 | COLOR SPECTRUM            |   STANDARD : RED -> BLUE              
 ------------------------------------------------------------
 | 46 | SPECTRUM DIRECTION        |   DIRECT                              
 ------------------------------------------------------------
 | 34 | COLOR-VALUE IMPOSED       |   NO                                  
 ------------------------------------------------------------
 | 71 | ISOVALUES ARE POINTED     |   NO                                  
 ------------------------------------------------------------
 | 31 | QUESTIONS ABOUT A D.S.    |   NO                                  
 ------------------------------------------------------------
 | 30 | PLOT SIZE                 |  AUTO
 ------------------------------------------------------------
 | 40 | CHARACTER TYPE            |  HARD
 ------------------------------------------------------------
 | 50 | ITEMS TO PLOT             |  TRIANGULATION                        
 ------------------------------------------------------------
 | 60 | LEGEND                    |  YES                                  
 ------------------------------------------------------------
 | 70 | NUMBER                    |  NONE                                 
 ------------------------------------------------------------
 | 80 | LINE TYPE (MESH)          |  SOLID                                
 ------------------------------------------------------------
 | 80 | LINE TYPE (ISOVALUES)     |  SOLID                                
 ------------------------------------------------------------

A default value is proposed for each option. The above table lists the selections made automatically. Type 0 to obtain a plot.

A key (a number) and a status correspond to each item. To modify the status, it suffices to type the key and enter the values corresponding to the status desired (see the general introduction). The general initial menu is identical to that obtained when using TRNOXX in 2D. By choosing, via key 10, to plot a solution, the menu described below is obtained:

Key 10:
the plot type: mesh (default value), or by activating this key, the choice between:

  
    MESH       : 0  --  ISOVALUES : 1

Key 11:
already seen.
Key 12:
already seen.
Key 20:
the name of the file containing the mesh (D.S. NOPO)
Key 21:
the name of the file containing the solution (D.S. B). To change files, activate this key and enter the name of the new file to be consider. Activate this key to enter the new file names to be considered.
Key 24:
already seen.
Key 27:
already seen.
Key 28:
classical problem (by default), the isovalues (pressure, etc.) of the solution are plotted. By activating this key, the user changes to an interpretation of a piezometric problem (defined via key29).
Key 29:
the type of plot (by default the pressure isovalues):
    PRESSURE              : 1           
    PIEZOMETRIC HEAD      : 2
Key 32:
already seen.
Key 25:
already seen.
Key 26:
already seen.
Key 72:
already seen.
Key 45:
already seen.
Key 46:
already seen.
Key 71:
already seen.
Key 31:
by activating this key, we can "inquire" about the D.S. and obtain information regarding its contents.
Key 30:
the plot will be full screen, otherwise the user must specify the size in cm.
Key 40:
the type of characters plotted: hardware (by default), software if not.
Key 50:
the choice of items to plot: the triangulation (by default). By activating this key, we have a choice between:
  -- MESH 
     NOTHING                 : 0            
     TRIANGULATION           : 1            
     GEOMETRIC BOUNDARY      : 2
Key 60:
the general legend (there is a legend by default) corresponds to the indications appearing to the right of the plot (see examples: title, date, file name,...).
Key 70:
already seen.
Key 80:
the type of plot lines desired for the mesh: solid (by default) or, by activating this key, the choice between:
  

    SOLID      : 1  --   DOTTED    : 2           
    DASHED     : 3  --   MIXED     : 4 ?
and the same choice for the isovalues.

Once a plot is displayed on the screen, a graphics menu appears, as for the other modules.

Example:
It corresponds to an example taken from [110].

The plots were obtained by typing the following sequences:

By typing 72, and when using a color screen, we obtain a colored-in plot.

 
Figure 6.4: Example ISOPXX: pressure 

 
Figure 6.5: Example ISOPXX: piezometric head 

6.5.3 Eigenvalues and eigenvectors

To plot the eigenvalues of a problem, we use preprocessor CODEXX to constructs a file from D.S. VVPR which is read by TRACXX to visualize the eigenvalues.

To plot the eigenvectors of a problem, we use preprocessor COBVXX to construct a B structure from D.S. VVPR containing one or several vectors which is read by TRMCXX to visualize the eigenvectors in the form of a deformation or velocity.


Modulefpreviousupnextcontents[BIG][Normal][small]
Next: 7 Implementation notes Up: 6 Diverse visualizations Prev: 6.4 Characteristic points and lines TRPOXX Contents