pyNastran
0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
|
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. |
Definition at line 34 of file bdf_Methods.py.
def pyNastran.bdf.bdf_Methods.BDFMethods.__init__ | ( | self | ) |
Definition at line 35 of file bdf_Methods.py.
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.
Definition at line 48 of file bdf_Methods.py.
References pyNastran.bdf.bdfInterface.bdf_Reader.BDFReader.log, pyNastran.converters.panair.panairGridPatch.PanairPatch.log, pyNastran.bdf.caseControlDeck.CaseControlDeck.log, pyNastran.converters.panair.panairGrid.PanairGrid.log, pyNastran.converters.cart3d.cart3d_reader.Cart3DAsciiReader.log, pyNastran.op2.resultObjects.op2_Objects.scalarObject.log, pyNastran.f06.f06.F06.log, pyNastran.converters.panair.panairGridPatch.PanairWakePatch.log, pyNastran.converters.cart3d.cart3d_reader.Cart3DBinaryReader.log, and pyNastran.bdf.bdf_Methods.BDFMethods.Mass().
def pyNastran.bdf.bdf_Methods.BDFMethods.Mass | ( | self | ) |
Caclulates mass in the global coordinate system.
Definition at line 79 of file bdf_Methods.py.
References pyNastran.bdf.bdf.BDF.coords, and pyNastran.bdf.bdf_Methods.BDFMethods.resolveGrids().
Referenced by pyNastran.bdf.cards.elements.shell.TriShell.Centroid(), pyNastran.bdf.cards.elements.shell.QuadShell.Centroid(), pyNastran.bdf.cards.elements.bars.CBAR.Gb(), pyNastran.bdf.cards.elements.bars.CROD.Lambda(), and pyNastran.bdf.bdf_Methods.BDFMethods.MassProperties().
def pyNastran.bdf.bdf_Methods.BDFMethods.resolveGrids | ( | self, | |
cid = 0 |
|||
) |
Puts all nodes in a common coordinate system (mainly for cid testing)
self | the object pointer |
cid | the cid to resolve the nodes to |
Definition at line 94 of file bdf_Methods.py.
References pyNastran.bdf.bdf_Methods.BDFMethods.unresolveGrids().
Referenced by pyNastran.bdf.bdf_Methods.BDFMethods.Mass().
def pyNastran.bdf.bdf_Methods.BDFMethods.unresolveGrids | ( | self, | |
femOld | |||
) |
Puts all nodes back to original coordinate system.
self | the object pointer |
femOld | the old model that hasnt lost it's connection to the node cids |
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().
def pyNastran.bdf.bdf_Methods.BDFMethods.sumForces | ( | self | ) |
Sums applied forces for all load cases.
Considers FORCE, FORCE1, FORCE2.
Forces | the forces as a numpy array |
Definition at line 131 of file bdf_Methods.py.
References pyNastran.bdf.bdf_Methods.BDFMethods.sumMoments().
Referenced by pyNastran.bdf.bdf_Methods.BDFMethods.unresolveGrids().
def pyNastran.bdf.bdf_Methods.BDFMethods.sumMoments | ( | self, | |
p0 | |||
) |
Sums applied forces & moments about a reference point p0 for all load cases.
Considers FORCE, FORCE1, FORCE2, MOMENT, MOMENT1, MOMENT2.
p0 | the reference point |
Moments | the moments as a numpy array |
Forces | the forces as a numpy array |
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().