pyNastran  0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
pyNastran.bdf.subcase.Subcase Class Reference

List of all members.

Public Member Functions

def __init__
def get_stress_code
def get_format_code
def get_sort_code
def get_device_code
def get_analysis_code
 8 - post-buckling (maybe 7 depending on NLPARM???)
def get_table_code
def hasParameter
def getParameter
def updateParamName
def writeSubcase
def has_parameter
def get_parameter
def update_param_name
 takes an abbreviated name and expands it so the user can type DISP or DISPLACEMENT and get the same answer
def get_op2_data
def print_param
 Prints a single entry of the a subcase from the global or local subcase list.
def crossReference
def finish_subcase
 Removes the subcase parameter from the subcase to avoid printing it in a funny spot.
def write_subcase
 internal method to print a subcase
def subcase_sorted
 does a "smart" sort on the keys such that SET cards increment in numerical order.
def __repr__
 Prints out every entry in the subcase.

Public Attributes

 id
 params
 sol

Static Public Attributes

dictionary solCodeMap

Detailed Description

Definition at line 29 of file subcase.py.


Constructor & Destructor Documentation

def pyNastran.bdf.subcase.Subcase.__init__ (   self,
  id = 0 
)

Definition at line 45 of file subcase.py.


Member Function Documentation

def pyNastran.bdf.subcase.Subcase.get_stress_code (   self,
  key,
  options,
  value 
)
Note:
the individual element must take the stressCode and reduce it to what the element can return. For example, for an isotropic CQUAD4 the fiber field doesnt mean anything.

BAR - no von mises/fiber ISOTROPIC - no fiber

Todo:
how does the MATERIAL bit get turned on? I'm assuming it's element dependent...

Definition at line 62 of file subcase.py.

References pyNastran.bdf.subcase.Subcase.get_format_code().

Referenced by pyNastran.bdf.subcase.Subcase.get_op2_data().

8 - post-buckling (maybe 7 depending on NLPARM???)

# not important 3/4 - differential stiffness (obsolete) 11 - old geometric nonlinear statics 12 - contran (???)

Todo:
verify

Definition at line 120 of file subcase.py.

References pyNastran.bdf.subcase.Subcase.get_table_code().

Referenced by pyNastran.bdf.subcase.Subcase.get_device_code(), and pyNastran.bdf.subcase.Subcase.get_op2_data().

def pyNastran.bdf.subcase.Subcase.subcase_sorted (   self,
  listA 
)

does a "smart" sort on the keys such that SET cards increment in numerical order.

Parameters:
selfthe subcase object
listAthe list of subcase list objects
Return values:
listBthe sorted version of listA

Definition at line 728 of file subcase.py.

References pyNastran.bdf.subcase.Subcase.__repr__(), pyNastran.bdf.subcase.Subcase.id, pyNastran.bdf.cards.properties.mass.NSM.id, pyNastran.bdf.cards.aero.AELINK.id, pyNastran.bdf.cards.aero.AEPARM.id, pyNastran.bdf.cards.aero.AESTAT.id, and pyNastran.bdf.subcase.Subcase.subcase_sorted().

Referenced by pyNastran.bdf.subcase.Subcase.finish_subcase(), pyNastran.bdf.subcase.Subcase.subcase_sorted(), and pyNastran.bdf.subcase.Subcase.write_subcase().


Member Data Documentation

Initial value:
{
                  1:  101,
                 21:  101,
                 24:  101,
                 26:  101,
                 61:  101,
                 64:  106,  # correct
                 66:  106,  # correct
                 68:  106,  # correct
                 76:  101,
                 99:  129,  # correct
                144:  101,  # correct
                187:  101,
             }

Definition at line 30 of file subcase.py.

Referenced by pyNastran.bdf.subcase.Subcase::get_op2_data().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables