ansys.mapdl.core.Mapdl.secwrite#
- Mapdl.secwrite(fname='', ext='', elem_type='', **kwargs)#
Creates an ASCII file containing user mesh section information.
Mechanical APDL Command: SECWRITE
- Parameters:
- fname
str File name and directory path (248 characters maximum, including the characters needed for the directory path). An unspecified directory path defaults to the working directory; in this case, you can use all 248 characters for the file name. The file name defaults to
JobnameifFnameis left blank.- ext
str Filename extension (eight-character maximum). The extension defaults to SECT if
Extis left blank.- elem_type
str Element type attribute pointer ( et ) for the elements that are part of the section. See secread for a detailed description.
- fname
Notes
Before creating a user mesh file, first create a model using 2D meshing. Use
PLANE183orMESH200with KEYOPT(1) = 7 (quadrilateral with 8 nodes option) to model the cells. secwrite creates an ASCII file that contains information about the nodes and cells that describe a beam section. For detailed information on how to create a user mesh file, see Creating Custom Cross Sections with a User-defined Mesh in the Structural Analysis Guide.