shabp Package

shabp Module

Inheritance diagram of pyNastran.converters.shabp.shabp
dfeines:
  • read_shabp(shabp_filename, log=None, debug=False)
  • SHABP(log=None, debug=False)
class pyNastran.converters.shabp.shabp.SHABP(log=None, debug=False)[source]

Bases: pyNastran.converters.shabp.shabp_results.ShabpOut

defines the SHABP class

Initializes the SHABP object

Parameters:
debug : bool/None; default=True
used to set the logger if no logger is passed in

True: logs debug/info/error messages False: logs info/error messages None: logs error messages

log : logging module object / None

if log is set, debug is ignored and uses the settings the logging object has

build_patches(self, patches)[source]
get_area_by_component(self, components=None)[source]

gets the area of a set of components

get_area_by_patch(self, ipatches=None)[source]

gets the area of a set of patches

get_area_xlength_by_component(self, components=None)[source]

gets the area and length of a set of components

get_points_elements_regions(self)[source]
parse_trailer(self)[source]

parses the case information (e.g., number of angles of attack, control surface info)

read_shabp(self, shabp_filename)[source]

reads an SHABP.INP / SHABP.mk5 file

write_shabp(self, out_filename)[source]

writes an S/HABP file

pyNastran.converters.shabp.shabp.read_shabp(shabp_filename, log=None, debug=False)[source]

reads an S/HABP file

shabp_io Module

shabp_results Module

Inheritance diagram of pyNastran.converters.shabp.shabp_results
class pyNastran.converters.shabp.shabp_results.ShabpOut(model, log=None, debug=False)[source]

Bases: object

read_shabp_out(self, out_filename)[source]
read_viscous2(self, f, i)[source]
readline(self, f, i)[source]
readline_n(self, f, i, n)[source]