su2 Package

su2_reader Module

digraph inheritance282974d9f1 { bgcolor=transparent; rankdir=LR; size=""; "pyNastran.converters.su2.su2_reader.SU2Reader" [URL="#pyNastran.converters.su2.su2_reader.SU2Reader",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="SU2 reader/writer"]; }
class pyNastran.converters.su2.su2_reader.SU2Reader(log=None, debug=False)[source]

Bases: object

SU2 reader/writer

initializes the SU2Reader object

_read_2d(lines, i, ndim, nelem)[source]

reads a 2d SU2 zone

_read_2d_bcs(lines, i, bcs)[source]

reads the 1d boundary conditions for a 2d SU2 zone

_read_3d(lines, i, unused_ndim, nelem)[source]

reads a 3d SU2 zone

_read_3d_bcs(lines, i, bcs)[source]

reads the 2d boundary conditions for a 3d SU2 zone

etype_nnodes_map = {3: 2, 5: 3, 9: 4, 10: 4, 12: 8, 13: 6, 14: 5}
read_su2(su2_filename)[source]

reads a 2d/3d SU2 single zone model

write_su2(su2_filename, zones=None)[source]

writes a 2d/3d multizone SU2 file

pyNastran.converters.su2.su2_reader.read_header(lines, i, log)[source]

reads the header and stores it as a dictionary

pyNastran.converters.su2.su2_reader.read_su2(su2_filename, log=None, debug=False)[source]

reads a 2d/3d SU2 multi-zone model