f06 Package¶
This is the pyNastran.f06.rst file.
f06 Module¶
- class pyNastran.f06.f06.F06(debug=False, log=None)[source]¶
Bases: pyNastran.f06.tables.oes.OES, pyNastran.f06.tables.oef.OEF, pyNastran.f06.tables.oug.OUG, pyNastran.f06.tables.oqg.OQG, pyNastran.f06.tables.lama.LAMA, pyNastran.f06.tables.max_min.MAX_MIN, pyNastran.f06.f06Writer.F06Writer
Initializes the F06 object
Parameters: - makeGeom – reads the BDF tables (default=False)
- debug – prints data about how the F06 was parsed (default=False)
- log – a logging object to write debug messages to
See also
import logging
- Title = None¶
the TITLE in the Case Control Deck
- _element_strain_energies()[source]¶
EIGENVALUE = -3.741384E-04 CYCLES = 3.078479E-03 E L E M E N T S T R A I N E N E R G I E S ELEMENT-TYPE = QUAD4 * TOTAL ENERGY OF ALL ELEMENTS IN PROBLEM = -1.188367E-05 MODE 1 * TOTAL ENERGY OF ALL ELEMENTS IN SET -1 = -1.188367E-05 ELEMENT-ID STRAIN-ENERGY PERCENT OF TOTAL STRAIN-ENERGY-DENSITY 1 -5.410134E-08 -0.0929 -4.328107E-05 2 -3.301516E-09 -0.0057 -2.641213E-06
- _get_grid_point_singularities()[source]¶
G R I D P O I N T S I N G U L A R I T Y T A B L E POINT TYPE FAILED STIFFNESS OLD USET NEW USET ID DIRECTION RATIO EXCLUSIVE UNION EXCLUSIVE UNION 1 G 4 0.00E+00 B F SB S * 1 G 5 0.00E+00 B F SB S *
- _read_f06_subcase_header(n=-2)[source]¶
-4 -> 1 JANUARY 5, 2014 MSC.NASTRAN 11/25/11 PAGE 14 -3 -> DEFAULT -2 -> xxx subcase 1
- _read_f06_table(Format, debug=False)[source]¶
Reads displacement, spc/mpc forces
Parameters: - self – the object pointer
- Format – list of types [int,str,float,float,float] that maps to sline
See also
self.parseLine
- _start_log(log=None, debug=False)[source]¶
Sets up a dummy logger if one is not provided
Self: the object pointer Log: a python logging object Debug: adds debug messages (True/False)
- parseLine(sline, formats)[source]¶
Parameters: - self – the object pointer
- sline – list of strings (split line)
- formats – list of types [int,str,float,float,float] that maps to sline
f06Writer Module¶
- class pyNastran.f06.f06Writer.F06Writer[source]¶
Bases: pyNastran.op2.op2_f06_common.OP2_F06_Common
- write_f06(f06_outname, is_mag_phase=False, delete_objects=True, end_flag=False)[source]¶
Writes an F06 file based on the data we have stored in the object
Parameters: - self – the F06 object
- f06_outname – the name of the F06 file to write
- is_mag_phase – should complex data be written using Magnitude/Phase instead of Real/Imaginary (default=False; Real/Imag) Real objects don’t use this parameter.
- delete_objects – should objects be deleted after they’re written to reduce memory (default=True)
- end_flag – should a dummy Nastran “END” table be made (default=False)
f06_classes Module¶
f06_formatting Module¶
- pyNastran.f06.f06_formatting.get_key0(adict)[source]¶
Gets the “first” key in a dictionary
The entry is kind of irrelevant.
errors Module¶