pyNastran  0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh Class Reference

List of all members.

Public Member Functions

def __init__
def echoBDF
 This method removes all comment lines from the bdf A write method is stil required.
def autoRejectBDF
 This method parses supported cards, but does not group them into nodes, elements, properties, etc.
def write_elements_as_CTRIA3
 takes the cquad4 elements and splits them
def write_DMIGs
def write_common
 method to write the common outputs so none get missed...
def writeBDFAsPatran
 Writes a bdf with properties & elements interspersed like how Patran writes the bdf.
def writeBDF
 Writes the bdf.
def write_as_CTRIA3
 Writes a series of CQUAD4s as CTRIA3s.
def write_header
 Writes the executive and case control decks.
def write_executive_control_deck
 Writes the executive control deck.
def write_case_control_deck
 Writes the Case Control Deck.
def write_params
 writes the PARAM cards
def write_nodes
 writes the NODE-type cards
def write_nodes_associated
 Writes the NODE-type in associated and unassociated groups.
def write_elements
 writes the elements in a sorted order
def write_rigid_elements
 writes the rigid elements in a sorted order
def write_properties
 writes the properties in a sorted order
def write_elements_properties
 writes the elements and properties in and interspersed order
def write_materials
 writes the materials in a sorted order
def write_thermal_materials
 writes the thermal materials in a sorted order
def write_constraints
 writes the constraint cards sorted by ID
def write_loads
 writes the load cards sorted by ID
def write_optimization
 writes the optimization cards sorted by ID
def write_tables
 writes the TABLEx cards sorted by ID
def write_sets
 writes the SETx cards sorted by ID
def write_dynamic
 writes the dynamic cards sorted by ID
def write_aero
 writes the aero cards
def write_aero_control
 writes the aero control surface cards
def write_flutter
 writes the flutter cards
def write_thermal
 writes the thermal cards
def write_coords
 writes the coordinate cards in a sorted order
def write_rejects
 writes the rejected (processed) cards and the rejected unprocessed cardLines

Public Attributes

 cardsToRead
 autoReject
 sol

Detailed Description

Definition at line 31 of file bdf_writeMesh.py.


Constructor & Destructor Documentation


Member Function Documentation

This method parses supported cards, but does not group them into nodes, elements, properties, etc.

Todo:
maybe add the write method

Definition at line 51 of file bdf_writeMesh.py.

References pyNastran.bdf.bdfInterface.getCard.GetMethods.elementIDs(), pyNastran.bdf.bdf.BDF.readBDF(), and pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_elements_as_CTRIA3().

Referenced by pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.echoBDF().

method to write the common outputs so none get missed...

Parameters:
selfthe object pointer
Return values:
msgpart of the bdf

Definition at line 95 of file bdf_writeMesh.py.

References pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_aero(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_aero_control(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_constraints(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_coords(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_dynamic(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_flutter(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_header(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_loads(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_nodes(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_optimization(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_params(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_rejects(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_sets(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_tables(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_thermal(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_thermal_materials(), and pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.writeBDFAsPatran().

Referenced by pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_as_CTRIA3(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_DMIGs(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.writeBDF(), and pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.writeBDFAsPatran().

def pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_as_CTRIA3 (   self,
  outFileName = 'fem.out.bdf',
  debug = False 
)

writes the PARAM cards

Definition at line 242 of file bdf_writeMesh.py.

References pyNastran.bdf.bdf.BDF.gridSet, pyNastran.bdf.cards.loads.loads.Load.nodes, pyNastran.bdf.cards.elements.damper.LineDamper.nodes, pyNastran.bdf.cards.elements.solid.SolidElement.nodes, pyNastran.bdf.cards.elements.shell.ShellElement.nodes, pyNastran.bdf.cards.elements.damper.CDAMP1.nodes, pyNastran.bdf.cards.elements.bush.CBUSH.nodes, pyNastran.bdf.cards.elements.elements.CrackElement.nodes, pyNastran.bdf.cards.elements.damper.CDAMP2.nodes, pyNastran.bdf.cards.elements.bush.CBUSH1D.nodes, pyNastran.bdf.cards.elements.springs.CELAS1.nodes, pyNastran.bdf.cards.elements.damper.CDAMP3.nodes, pyNastran.bdf.cards.elements.shell.CTRIA3.nodes, pyNastran.bdf.cards.elements.bush.CBUSH2D.nodes, pyNastran.bdf.cards.baseCard.Element.nodes, pyNastran.bdf.cards.elements.damper.CDAMP4.nodes, pyNastran.bdf.cards.elements.springs.CELAS2.nodes, pyNastran.bdf.cards.elements.damper.CDAMP5.nodes, pyNastran.bdf.cards.elements.springs.CELAS3.nodes, pyNastran.bdf.cards.elements.shell.CTRIA6.nodes, pyNastran.bdf.cards.elements.springs.CELAS4.nodes, pyNastran.bdf.cards.loads.staticLoads.ACCEL1.nodes, pyNastran.bdf.cards.elements.shell.CTRIAR.nodes, pyNastran.bdf.bdf.BDF.nodes, pyNastran.bdf.cards.elements.shell.CTRIAX6.nodes, pyNastran.bdf.cards.elements.bars.CONROD.nodes, pyNastran.bdf.cards.constraints.SPC1.nodes, pyNastran.bdf.cards.elements.shell.QuadShell.nodes, pyNastran.bdf.cards.elements.shell.CSHEAR.nodes, pyNastran.bdf.cards.elements.shell.CQUAD4.nodes, pyNastran.bdf.cards.loads.staticLoads.PLOAD.nodes, pyNastran.bdf.cards.elements.shell.CQUADR.nodes, pyNastran.bdf.cards.elements.shell.CQUAD.nodes, pyNastran.bdf.cards.elements.shell.CQUAD8.nodes, pyNastran.bdf.cards.elements.shell.CQUADX.nodes, and pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_nodes_associated().

Referenced by pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_common(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_executive_control_deck(), pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.writeBDF(), and pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.writeBDFAsPatran().

Writes the NODE-type in associated and unassociated groups.

Warning:
Sometimes crashes, probably on invalid BDFs.

Definition at line 277 of file bdf_writeMesh.py.

References pyNastran.bdf.cards.aero.AELIST.elements, pyNastran.bdf.bdf.BDF.elements, pyNastran.bdf.bdf.BDF.gridSet, pyNastran.bdf.cards.loads.loads.Load.nodes, pyNastran.bdf.cards.elements.damper.LineDamper.nodes, pyNastran.bdf.cards.elements.solid.SolidElement.nodes, pyNastran.bdf.cards.elements.shell.ShellElement.nodes, pyNastran.bdf.cards.elements.damper.CDAMP1.nodes, pyNastran.bdf.cards.elements.bush.CBUSH.nodes, pyNastran.bdf.cards.elements.elements.CrackElement.nodes, pyNastran.bdf.cards.elements.damper.CDAMP2.nodes, pyNastran.bdf.cards.elements.bush.CBUSH1D.nodes, pyNastran.bdf.cards.elements.springs.CELAS1.nodes, pyNastran.bdf.cards.elements.damper.CDAMP3.nodes, pyNastran.bdf.cards.elements.shell.CTRIA3.nodes, pyNastran.bdf.cards.elements.bush.CBUSH2D.nodes, pyNastran.bdf.cards.baseCard.Element.nodes, pyNastran.bdf.cards.elements.damper.CDAMP4.nodes, pyNastran.bdf.cards.elements.springs.CELAS2.nodes, pyNastran.bdf.cards.elements.damper.CDAMP5.nodes, pyNastran.bdf.cards.elements.springs.CELAS3.nodes, pyNastran.bdf.cards.elements.shell.CTRIA6.nodes, pyNastran.bdf.cards.elements.springs.CELAS4.nodes, pyNastran.bdf.cards.loads.staticLoads.ACCEL1.nodes, pyNastran.bdf.cards.elements.shell.CTRIAR.nodes, pyNastran.bdf.bdf.BDF.nodes, pyNastran.bdf.cards.elements.shell.CTRIAX6.nodes, pyNastran.bdf.cards.elements.bars.CONROD.nodes, pyNastran.bdf.cards.constraints.SPC1.nodes, pyNastran.bdf.cards.elements.shell.QuadShell.nodes, pyNastran.bdf.cards.elements.shell.CSHEAR.nodes, pyNastran.bdf.cards.elements.shell.CQUAD4.nodes, pyNastran.bdf.cards.loads.staticLoads.PLOAD.nodes, pyNastran.bdf.cards.elements.shell.CQUADR.nodes, pyNastran.bdf.cards.elements.shell.CQUAD.nodes, pyNastran.bdf.cards.elements.shell.CQUAD8.nodes, pyNastran.bdf.cards.elements.shell.CQUADX.nodes, and pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_elements().

Referenced by pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_nodes(), and pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_params().

writes the rejected (processed) cards and the rejected unprocessed cardLines

Definition at line 671 of file bdf_writeMesh.py.

Referenced by pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_common(), and pyNastran.bdf.bdfInterface.bdf_writeMesh.WriteMesh.write_thermal().


Member Data Documentation


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