pyNastran  0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
pyNastran.bdf.bdf_Methods.BDFMethods Class Reference
Inheritance diagram for pyNastran.bdf.bdf_Methods.BDFMethods:
pyNastran.bdf.bdf.BDF pyNastran.op2.op2.OP2

List of all members.

Public Member Functions

def __init__
def MassProperties
 Caclulates mass properties in the global system about <0,0,0> I = mass*centroid*centroid Ixx = mass*(y^2+z^2) Iyz = -mass*y*z http://en.wikipedia.org/wiki/Moment_of_inertia#Moment_of_inertia_tensor.
def Mass
 Caclulates mass in the global coordinate system.
def resolveGrids
 Puts all nodes in a common coordinate system (mainly for cid testing)
def unresolveGrids
 Puts all nodes back to original coordinate system.
def sumForces
 Sums applied forces for all load cases.
def sumMoments
 Sums applied forces & moments about a reference point p0 for all load cases.

Detailed Description

Definition at line 34 of file bdf_Methods.py.


Constructor & Destructor Documentation

Definition at line 35 of file bdf_Methods.py.


Member Function Documentation

Puts all nodes in a common coordinate system (mainly for cid testing)

Parameters:
selfthe object pointer
cidthe cid to resolve the nodes to
Note:
loses association with previous coordinate systems so to go back requires another fem

Definition at line 94 of file bdf_Methods.py.

References pyNastran.bdf.bdf_Methods.BDFMethods.unresolveGrids().

Referenced by pyNastran.bdf.bdf_Methods.BDFMethods.Mass().

Puts all nodes back to original coordinate system.

Parameters:
selfthe object pointer
femOldthe old model that hasnt lost it's connection to the node cids
Warning:
hasnt been tested well...

Definition at line 114 of file bdf_Methods.py.

References 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, pyNastran.bdf.bdf_Methods.BDFMethods.sumForces(), pyNastran.bdf.cards.nodes.GRID.xyz, pyNastran.bdf.cards.loads.staticLoads.FORCE.xyz, pyNastran.bdf.cards.loads.staticLoads.FORCE1.xyz, pyNastran.bdf.cards.loads.staticLoads.FORCE2.xyz, pyNastran.bdf.cards.loads.staticLoads.MOMENT.xyz, pyNastran.bdf.cards.loads.staticLoads.MOMENT1.xyz, and pyNastran.bdf.cards.loads.staticLoads.MOMENT2.xyz.

Referenced by pyNastran.bdf.bdf_Methods.BDFMethods.resolveGrids().

Sums applied forces for all load cases.

Considers FORCE, FORCE1, FORCE2.

Return values:
Forcesthe forces as a numpy array
Warning:
not validated

Definition at line 131 of file bdf_Methods.py.

References pyNastran.bdf.bdf_Methods.BDFMethods.sumMoments().

Referenced by pyNastran.bdf.bdf_Methods.BDFMethods.unresolveGrids().

Sums applied forces & moments about a reference point p0 for all load cases.

Considers FORCE, FORCE1, FORCE2, MOMENT, MOMENT1, MOMENT2.

Parameters:
p0the reference point
Return values:
Momentsthe moments as a numpy array
Forcesthe forces as a numpy array
Warning:
not validated

Definition at line 157 of file bdf_Methods.py.

References inertiaFormulas.cross(), and pyNastran.bdf.bdfInterface.getCard.GetMethods.Node().

Referenced by pyNastran.bdf.bdf_Methods.BDFMethods.sumForces().


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