SECREAD

SECREAD, Fname, Ext, --, Option
Reads a custom section library or a user-defined section mesh into ANSYS.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | –

Fname

Section library file name and directory path containing the section library file (248 characters maximum, including directory). If you do not specify a directory path, it will default to your working directory and you can use all 248 characters for the file name.

When the SECREAD command is given without a directory path, the command searches for a section library in the following order:

  • The user's home directory

  • The current working directory

  • The path specified by the /SECLIB command

The file name defaults to Jobname if Fname is left blank.

Ext

Filename extension (eight-character maximum).

The extension defaults to SECT if Ext is left blank.

--

Unused field.

Option

LIBRARY

 — 

Reads in a library of sections and their associated section data values; the default. A section library may be created by editing the section-defining portions of the Jobname.LOG file and saving it with a .SECT suffix.

MESH

 — 

Reads in a user mesh section file containing the cell connectivity, cell flags, and nodal coordinates for the current beam section of subtype MESH as defined by SECTYPE. See the "Notes" section of this command description for details about user mesh section files. SECWRITE builds mesh files based on 2-D models you create.

Notes

The SECREAD command operates on the section specified via the most recently issued SECTYPE command. Issue a separate SECREAD command for each section ID that you want to read in.

Sample User Section Cell Mesh File

Here are excerpts from a sample user section mesh file for a section with 75 nodes, 13 cells, and 9 nodes per cell for a two-hole box section. Illustrations of the two-hole box section and the cell mesh for it appear later in this command description.

First Line:
75   13
Cells Section:
      1   3   25   23   2   14   24   12   13   1
      3   5   27   25   4   16   26   14   15   1
      5   7   29   27   6   18   28   16   17   1
      7   9   31   29   8   20   30   18   19   1
      9   11  33   31   10  22   32   20   21   1
      23  25  45   43   24  36   44   34   35   1
...
      49  51  73   71   50  62   72   60   61   1
      51  53  75   73   52  64   74   62   63   1
0     0.0          0.0
0     0.025        0.0
0     0.05         0.0
0     5.0175       0.0
Nodes Section:
...
0    19.98        10.00
0    20.00        10.00

The mesh file is divided into three sections: the First Line, the Cells Section, and the Nodes Section. Here are brief descriptions of the contents of each.

First Line: The First Line defines the number of nodes and the number of cells for the mesh.

Cells Section: The Cells Section contains as many lines as there are cells. In this example, there are thirteen cells, so there are thirteen lines in this section. In each line, the number “1” that follows the cell connectivity information is the material number.

Cell nodal connectivity must be given in a counterclockwise direction, with the center node being the ninth node. For details, see Figure 14: Cell Mesh for the Two-hole Box Section.

Nodes Section: The Nodes Section contains as many lines as there are nodes. In this example, there are 75 nodes, so there are a total of 75 lines in this section. Each node line contains the node's boundary flag, the Y coordinate of the node, and the Z coordinate of the node. Currently, all node boundary flags appear as 0s in a cell mesh file (as illustrated in Figure 13: Two-hole Box Section). Since all node boundary flags are 0, SECREAD ignores them when it reads a cell mesh file into ANSYS.

There cannot be any gaps in the node numbering of a cell mesh. The nodes in a cell mesh must be numbered consecutively, with the first node having a node number of 1, and the last node having a node number that is equal to the maximum number of nodes in the cell mesh.

Figure 13:  Two-hole Box Section

Two-hole Box Section

Figure 14:  Cell Mesh for the Two-hole Box Section

Cell Mesh for the Two-hole Box Section

Menu Paths

Main Menu>Preprocessor>Sections>Beam>Custom Sections>Read Sect Mesh
Main Menu>Preprocessor>Sections>Section Library>Import Library

Release 18.2 - © ANSYS, Inc. All rights reserved.