pyNastran
0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
|
Public Member Functions | |
def | __init__ |
def | hasParameter |
def | getSubcaseParameter |
def | hasSubcase |
def | createNewSubcase |
def | deleteSubcase |
def | copySubcase |
def | getSubcaseList |
def | getLocalSubcaseList |
def | updateSolution |
def | addParameterToGlobalSubcase |
def | addParameterToLocalSubcase |
def | has_parameter |
def | get_subcase_parameter |
def | has_subcase |
Checks to see if a subcase exists. | |
def | create_new_subcase |
def | delete_subcase |
def | copy_subcase |
overwrites the parameters from one subcase to another | |
def | get_subcase_list |
def | get_local_subcase_list |
def | update_solution |
sol = STATICS, FLUTTER, MODAL, etc. | |
def | add_parameter_to_global_subcase |
takes in a single-lined string | |
def | add_parameter_to_local_subcase |
def | finish_subcases |
removes any unwanted data in the subcase...specifically the SUBCASE data member. | |
def | crossReference |
def | get_op2_data |
returns the relevant op2 parameters required for a given subcase | |
def | __repr__ |
Public Attributes | |
debug | |
log | |
lines | |
subcases |
Definition at line 33 of file caseControlDeck.py.
def pyNastran.bdf.caseControlDeck.CaseControlDeck.__init__ | ( | self, | |
lines, | |||
log = None |
|||
) |
self | the case control deck object |
lines | list of lines that represent the case control deck ending with BEGIN BULK |
log | a logger object |
Definition at line 44 of file caseControlDeck.py.
def pyNastran.bdf.caseControlDeck.CaseControlDeck.hasParameter | ( | self, | |
iSubcase, | |||
paramName | |||
) |
Definition at line 61 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.get_subcase_parameter(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.getSubcaseParameter().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.updateSolution().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.getSubcaseParameter | ( | self, | |
iSubcase, | |||
paramName | |||
) |
Definition at line 66 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.createNewSubcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.has_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.hasSubcase().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.hasParameter().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.hasSubcase | ( | self, | |
iSubcase | |||
) |
Definition at line 71 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.create_new_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.deleteSubcase().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.addParameterToGlobalSubcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.create_new_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.get_subcase_parameter(), pyNastran.bdf.caseControlDeck.CaseControlDeck.getSubcaseParameter(), pyNastran.bdf.caseControlDeck.CaseControlDeck.has_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.updateSolution().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.createNewSubcase | ( | self, | |
iSubcase | |||
) |
Definition at line 76 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.copy_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.copySubcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.delete_subcase().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.getSubcaseParameter().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.deleteSubcase | ( | self, | |
iSubcase | |||
) |
Definition at line 81 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.get_subcase_list(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.getSubcaseList().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.hasSubcase().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.copySubcase | ( | self, | |
iFromSubcase, | |||
iToSubcase, | |||
overwriteSubcase = True |
|||
) |
Definition at line 86 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.get_local_subcase_list(), pyNastran.bdf.caseControlDeck.CaseControlDeck.getLocalSubcaseList(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.updateSolution().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.createNewSubcase().
Definition at line 91 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.addParameterToGlobalSubcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.update_solution(), and pyNastran.bdf.bdf.BDF.update_solution().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.deleteSubcase().
Definition at line 96 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.add_parameter_to_global_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.add_parameter_to_local_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.addParameterToLocalSubcase().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.copySubcase().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.updateSolution | ( | self, | |
iSubcase, | |||
sol | |||
) |
Definition at line 101 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.has_parameter(), pyNastran.bdf.caseControlDeck.CaseControlDeck.hasParameter(), pyNastran.bdf.caseControlDeck.CaseControlDeck.hasSubcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.subcases.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.copySubcase().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.addParameterToGlobalSubcase | ( | self, | |
param | |||
) |
Definition at line 106 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.get_subcase_parameter(), pyNastran.bdf.caseControlDeck.CaseControlDeck.hasSubcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.subcases.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.getSubcaseList().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.addParameterToLocalSubcase | ( | self, | |
iSubcase, | |||
param | |||
) |
Definition at line 111 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.has_subcase().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.getLocalSubcaseList().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.has_parameter | ( | self, | |
iSubcase, | |||
paramName | |||
) |
Definition at line 115 of file caseControlDeck.py.
Referenced by pyNastran.bdf.subcase.Subcase.hasParameter(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.updateSolution().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.get_subcase_parameter | ( | self, | |
iSubcase, | |||
paramName | |||
) |
Definition at line 119 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.create_new_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.hasSubcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.subcases.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.addParameterToGlobalSubcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.hasParameter().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.has_subcase | ( | self, | |
iSubcase | |||
) |
Checks to see if a subcase exists.
self | the case control deck object |
iSubcase | the subcase ID |
does_subcase_exist | (type = bool) |
Definition at line 131 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.copy_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.delete_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.hasSubcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.subcases.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.addParameterToLocalSubcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.delete_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.getSubcaseParameter().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.create_new_subcase | ( | self, | |
iSubcase | |||
) |
Definition at line 142 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.hasSubcase().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.get_subcase_parameter(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.hasSubcase().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.delete_subcase | ( | self, | |
iSubcase | |||
) |
Definition at line 148 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.has_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.subcases.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.createNewSubcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.has_subcase().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.copy_subcase | ( | self, | |
iFromSubcase, | |||
iToSubcase, | |||
overwriteSubcase = True |
|||
) |
overwrites the parameters from one subcase to another
self | the case control deck object |
iFromSubcase | the subcase to pull the data from |
iToSubcase | the subcase to map the data to |
overwriteSubcase | NULLs iToSubcase before copying iFromSubcase |
Definition at line 161 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.add_parameter_to_global_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.add_parameter_to_local_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.get_local_subcase_list(), pyNastran.bdf.caseControlDeck.CaseControlDeck.get_subcase_list(), pyNastran.bdf.caseControlDeck.CaseControlDeck.subcases, and pyNastran.bdf.caseControlDeck.CaseControlDeck.update_solution().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.createNewSubcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.finish_subcases(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.has_subcase().
Definition at line 180 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck._parse_data_from_user().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.copy_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.deleteSubcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.get_local_subcase_list().
Definition at line 183 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.add_parameter_to_local_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.get_subcase_list().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.copy_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.copySubcase().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.update_solution | ( | self, | |
iSubcase, | |||
sol | |||
) |
sol = STATICS, FLUTTER, MODAL, etc.
Definition at line 189 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck._addParameterToSubcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck._parse_data_from_user().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.copy_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.getSubcaseList().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.add_parameter_to_global_subcase | ( | self, | |
param | |||
) |
takes in a single-lined string
Definition at line 198 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck._parse_entry().
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.copy_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.getLocalSubcaseList().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.add_parameter_to_local_subcase | ( | self, | |
iSubcase, | |||
param | |||
) |
Definition at line 205 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck._addParameterToSubcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck._clean_lines(), pyNastran.bdf.caseControlDeck.CaseControlDeck._parse_entry(), pyNastran.bdf.bdfInterface.BDF_Card.BDFCard.debug, pyNastran.bdf.caseControlDeck.CaseControlDeck.debug, pyNastran.bdf.bdf.BDF.debug, pyNastran.bdf.caseControlDeck.CaseControlDeck.finish_subcases(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.subcases.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.copy_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.get_local_subcase_list(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.getLocalSubcaseList().
removes any unwanted data in the subcase...specifically the SUBCASE data member.
Otherwise it will print out after a key like stress.
Definition at line 456 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.__repr__(), pyNastran.bdf.caseControlDeck.CaseControlDeck.copy_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.crossReference(), pyNastran.bdf.bdfInterface.BDF_Card.BDFCard.debug, pyNastran.bdf.caseControlDeck.CaseControlDeck.debug, pyNastran.bdf.bdf.BDF.debug, pyNastran.bdf.caseControlDeck.CaseControlDeck.get_op2_data(), pyNastran.bdf.subcase.Subcase.sol, pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.sol, pyNastran.bdf.bdf.BDF.sol, pyNastran.bdf.bdf.BDF.solmap_toValue, and pyNastran.bdf.caseControlDeck.CaseControlDeck.subcases.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.add_parameter_to_local_subcase().
def pyNastran.bdf.caseControlDeck.CaseControlDeck.crossReference | ( | self, | |
model | |||
) |
Definition at line 498 of file caseControlDeck.py.
References pyNastran.bdf.caseControlDeck.CaseControlDeck.subcases.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.finish_subcases(), pyNastran.bdf.bdf.BDF.readBDF(), and pyNastran.bdf.bdf.BDF.readBDF_Punch().
returns the relevant op2 parameters required for a given subcase
Definition at line 506 of file caseControlDeck.py.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.finish_subcases().
Definition at line 514 of file caseControlDeck.py.
References pyNastran::bdf::caseControlDeck.test1().
Referenced by pyNastran.bdf.cards.elements.bars.CROD.displacementStress(), pyNastran.bdf.caseControlDeck.CaseControlDeck.finish_subcases(), and pyNastran.bdf.cards.elements.bars.CBAR.Stiffness().
Definition at line 44 of file caseControlDeck.py.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck::add_parameter_to_local_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck::finish_subcases().
Definition at line 44 of file caseControlDeck.py.
Referenced by pyNastran.converters.panair.panairGrid.PanairGrid.addWakePatch(), pyNastran.f06.tables.oes.OES.getBarHeader(), pyNastran.f06.tables.oug.OUG.getComplexDisplacement(), pyNastran.f06.tables.oug.OUG.getDisplacement(), pyNastran.f06.tables.oqg.OQG.getMpcForces(), pyNastran.f06.tables.oes.OES.getQuadCompositeStress(), pyNastran.f06.tables.oes.OES.getQuadHeader(), pyNastran.f06.f06.F06.getRealEigenvectors(), pyNastran.f06.tables.oes.OES.getRodHeader(), pyNastran.f06.tables.oqg.OQG.getSpcForces(), pyNastran.f06.tables.oug.OUG.getTemperatureVector(), pyNastran.f06.tables.oes.OES.getTriHeader(), pyNastran.bdf.bdf_Methods.BDFMethods.MassProperties(), pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.processCard(), pyNastran.f06.tables.oes.OES.readSolidStrain(), pyNastran.converters.panair.panairGrid.PanairGrid.splitPoints(), and pyNastran.f06.f06.F06.startLog().
Definition at line 44 of file caseControlDeck.py.
Referenced by pyNastran.converters.panair.panairGrid.PanairGrid.printFile(), and pyNastran.converters.panair.panairGrid.PanairGrid.splitIntoSections().
Definition at line 44 of file caseControlDeck.py.
Referenced by pyNastran.bdf.caseControlDeck.CaseControlDeck.add_parameter_to_local_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.addParameterToGlobalSubcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.copy_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.crossReference(), pyNastran.bdf.caseControlDeck.CaseControlDeck.delete_subcase(), pyNastran.bdf.caseControlDeck.CaseControlDeck.finish_subcases(), pyNastran.bdf.caseControlDeck.CaseControlDeck.get_subcase_parameter(), pyNastran.bdf.caseControlDeck.CaseControlDeck.has_subcase(), and pyNastran.bdf.caseControlDeck.CaseControlDeck.updateSolution().