- Mapdl.secwrite(fname='', ext='', elem_type='', **kwargs)¶
Creates an ASCII file containing user mesh section information.
APDL Command: SECWRITE
fname – 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.
ext – Filename extension (eight-character maximum).
elem_type – Element type attribute pointer (ET) for the elements that are part of the section. See SECREAD for a detailed description.
Before creating a user mesh file, first create a model using 2-D meshing. Use PLANE183 or MESH200 with 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.