elements Package

bars Module

Inheritance diagram of pyNastran.bdf.cards.elements.bars

class pyNastran.bdf.cards.elements.bars.CBAR(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.bars.LineElement

CBAR EID PID GA GB X1 X2 X3 OFFT
  PA PB W1A W2A W3A W1B W2B W3B

or

CBAR EID PID GA GB G0     OFFT
  PA PB W1A W2A W3A W1B W2B W3B
CBAR 2 39 7 6 105     GGG
    513 0.0+0 0.0+0 -9. 0.0+0 0.0+0 -9.
Area()[source]
Centroid()[source]
Ga()[source]
Gb()[source]
I1()[source]
I2()[source]
J()[source]
Length()[source]
Mid()[source]
Nsm()[source]
_field_map = {1: u'eid', 2: u'pid', 3: u'ga', 4: u'gb', 8: u'offt', 9: u'pa', 10: u'pb'}
_update_field_helper(n, value)[source]
_verify(xref=False)[source]
asterType = u'CBAR'
cross_reference(model)[source]
getX_G0_defaults()[source]
get_orientation_vector(xyz)[source]
initX_G0(card)[source]
nodeIDs()[source]
node_ids[source]
offt = None

Todo

offt can be an integer; translate to char

raw_fields()[source]

Todo

not perfectly accurate b/c ???

repr_fields()[source]
type = u'CBAR'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.bars.CBAROR[source]

Bases: object

add(card=None, data=None, comment=u'')[source]
type = u'CBAROR'
class pyNastran.bdf.cards.elements.bars.CBEAM3(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.bars.CBAR

Defines a three-node beam element

Length()[source]
\[L = g_b - g_a\]
cross_reference(model)[source]
raw_fields()[source]
repr_fields()[source]
type = u'CBEAM3'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.bars.CBEND(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.bars.LineElement

Area()[source]
_field_map = {8: u'geom', 1: u'eid', 2: u'pid', 3: u'ga', 4: u'gb'}
_update_field_helper(n, value)[source]
raw_fields()[source]
repr_fields()[source]
type = u'CBEND'
write_card(size, is_double)[source]
class pyNastran.bdf.cards.elements.bars.LineElement(card, data)[source]

Bases: pyNastran.bdf.cards.baseCard.Element

Area()[source]

returns the area of the element face

C()[source]

torsional constant

E()[source]

returns the Young’s Modulus, \(E\)

G()[source]

returns the Shear Modulus, \(G\)

I11()[source]

returns the Moment of Inertia, \(I_{11}\)

I12()[source]

returns the Moment of Inertia, \(I_{12}\)

I22()[source]

returns the Moment of Inertia, \(I_{22}\)

J()[source]

returns the Polar Moment of Inertia, \(J\)

Length()[source]

Gets the length, \(L\), of the element.

\[L = \sqrt{ (n_{x2}-n_{x1})^2+(n_{y2}-n_{y1})^2+(n_{z2}-n_{z1})^2 }\]
Parameters:self – the object pointer
Mass()[source]

Get the mass of the element.

\[m = \left( \rho A + nsm \right) L\]
MassPerLength()[source]
Get the mass per unit length, :math:`

rac{m}{L}`

Nsm()[source]

Placeholder method for the non-structural mass, \(nsm\)

Nu()[source]

Get Poisson’s Ratio, :math:` u`

Rho()[source]

Get the material density, :math:` ho`

cross_reference(model)[source]

bush Module

Inheritance diagram of pyNastran.bdf.cards.elements.bush

All bush elements are defined in this file. This includes:

  • CBUSH
  • CBUSH1D
  • CBUSH2D

All bush elements are BushElement and Element objects.

class pyNastran.bdf.cards.elements.bush.BushElement(card, data)[source]

Bases: pyNastran.bdf.cards.baseCard.Element

Cid()[source]
Mass()[source]
class pyNastran.bdf.cards.elements.bush.CBUSH(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.bush.BushElement

Cid()[source]
Eid()[source]
Ga()[source]
Gb()[source]
OCid()[source]
_field_map = {1: u'eid', 2: u'pid', 3: u'ga', 4: u'gb', 8: u'cid', 9: u's', 10: u'ocid'}
_update_field_helper(n, value)[source]
_verify(xref=False)[source]
cid = None

Element coordinate system identification. A 0 means the basic coordinate system. If CID is blank, then the element coordinate system is determined from GO or Xi. (default=blank=element-based)

cross_reference(model)[source]
nodeIDs()[source]
node_ids[source]
ocid = None

Coordinate system identification of spring-damper offset. See Remark 9. (Integer > -1; Default = -1, which means the offset point lies on the line between GA and GB

raw_fields()[source]
repr_fields()[source]
s = None

Location of spring damper (0 <= s <= 1.0)

si = None

Components of spring-damper offset in the OCID coordinate system if OCID > 0.

type = u'CBUSH'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.bush.CBUSH1D(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.bush.BushElement

Ga()[source]
Gb()[source]
_field_map = {1: u'eid', 2: u'pid', 3: u'ga', 4: u'gb', 5: u'cid'}
_verify(xref=False)[source]
cross_reference(model)[source]
nodeIDs()[source]
node_ids[source]
raw_fields()[source]
type = u'CBUSH1D'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.bush.CBUSH2D(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.bush.BushElement

2-D Linear-Nonlinear Connection Defines the connectivity of a two-dimensional Linear-Nonlinear element.

Ga()[source]
Gb()[source]
_field_map = {1: u'eid', 2: u'pid', 3: u'ga', 4: u'gb', 5: u'cid', 6: u'plane', 7: u'sptid'}
_verify(xref=False)[source]
cross_reference(model)[source]
nodeIDs()[source]
node_ids[source]
raw_fields()[source]
type = u'CBUSH2D'
write_card(size=8, is_double=False)[source]

damper Module

Inheritance diagram of pyNastran.bdf.cards.elements.damper

All damper elements are defined in this file. This includes:

  • CDAMP1
  • CDAMP2
  • CDAMP3
  • CDAMP4
  • CDAMP5
  • CVISC

All damper elements are DamperElement and Element objects.

class pyNastran.bdf.cards.elements.damper.CDAMP1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.damper.LineDamper

B()[source]
Eid()[source]
_field_map = {1: u'eid', 2: u'pid', u'c1': 4, u'c2': 6}
_is_same_card(elem, debug=False)[source]
_update_field_helper(n, value)[source]
_verify(xref=True)[source]
c1 = None

component number

cross_reference(model)[source]
nodeIDs()[source]

deprecated

node_ids[source]
raw_fields()[source]
type = u'CDAMP1'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.damper.CDAMP2(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.damper.LineDamper

B()[source]
Eid()[source]
_field_map = {1: u'eid', 2: u'b', u'c1': 4, u'c2': 6}
_update_field_helper(n, value)[source]
_verify(xref=True)[source]
b = None

Value of the scalar damper (Real)

c1 = None

component number

cross_reference(model)[source]
nodeIDs()[source]
node_ids[source]
raw_fields()[source]
type = u'CDAMP2'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.damper.CDAMP3(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.damper.LineDamper

B()[source]
Eid()[source]
_field_map = {1: u'eid', 2: u'pid'}
_update_field_helper(n, value)[source]
_verify(xref=True)[source]
cross_reference(model)[source]
nodeIDs()[source]

deprecated

node_ids[source]
raw_fields()[source]
type = u'CDAMP3'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.damper.CDAMP4(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.damper.LineDamper

B()[source]
Eid()[source]
_field_map = {1: u'eid', 2: u'b'}
_update_field_helper(n, value)[source]
_verify(xref=True)[source]
b = None

Value of the scalar damper (Real)

cross_reference(model)[source]
nodeIDs()[source]

deprecated

node_ids[source]
raw_fields()[source]
type = u'CDAMP4'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.damper.CDAMP5(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.damper.LineDamper

B()[source]
Eid()[source]
_field_map = {1: u'eid', 2: u'pid'}
_update_field_helper(n, value)[source]
_verify(xref=True)[source]
cross_reference(model)[source]
nodeIDs()[source]

deprecated

node_ids[source]
pid = None

Property ID

raw_fields()[source]
type = u'CDAMP5'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.damper.CVISC(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.damper.LineDamper

B()[source]
Eid()[source]
_field_map = {1: u'eid', 2: u'pid'}
_update_field_helper(n, value)[source]
_verify(xref=True)[source]
nodeIDs()[source]

deprecated

node_ids[source]
raw_fields()[source]
repr_fields()[source]
type = u'CVISC'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.damper.DamperElement(card, data)[source]

Bases: pyNastran.bdf.cards.baseCard.Element

class pyNastran.bdf.cards.elements.damper.LineDamper(card, data)[source]

Bases: pyNastran.bdf.cards.elements.damper.DamperElement

cross_reference(model)[source]

elements Module

Inheritance diagram of pyNastran.bdf.cards.elements.elements

All ungrouped elements are defined in this file. This includes:

  • CFAST
  • CGAP
  • CRAC2D
  • CRAC3D

All ungrouped elements are Element objects.

class pyNastran.bdf.cards.elements.elements.CFAST(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.baseCard.Element

_field_map = {1: u'eid', 2: u'pid', 3: u'Type', 4: u'ida', 5: u'idb', 6: u'gs', 7: u'ga', 8: u'gb', 9: u'xs', 10: u'ys', 11: u'zs'}
cross_reference(model)[source]
raw_fields()[source]
repr_fields()[source]
type = u'CFAST'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.elements.CGAP(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.baseCard.Element

# .. todo:: not done...

Cid()[source]
Eid()[source]
Ga()[source]
Gb()[source]
_field_map = {1: u'eid', 2: u'pid', 3: u'ga', 4: u'gb'}
_verify(xref=True)[source]
cross_reference(model)[source]
nodeIDs()[source]
node_ids[source]
raw_fields()[source]
type = u'CGAP'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.elements.CRAC2D(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.elements.CrackElement

Eid()[source]
_field_map = {1: u'eid', 2: u'pid'}
_verify(xref=True)[source]
nodeIDs()[source]
node_ids[source]
raw_fields()[source]
type = u'CRAC2D'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.elements.CRAC3D(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.elements.CrackElement

Eid()[source]
_field_map = {1: u'eid', 2: u'pid'}
_verify(xref=True)[source]
nodeIDs()[source]
node_ids[source]
raw_fields()[source]
type = u'CRAC3D'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.elements.CrackElement(card, data)[source]

Bases: pyNastran.bdf.cards.baseCard.Element

cross_reference(model)[source]
type = u'Crack'

mass Module

Inheritance diagram of pyNastran.bdf.cards.elements.mass

All mass elements are defined in this file. This includes:

  • CMASS1
  • CMASS2
  • CMASS3
  • CMASS4
  • CONM1
  • CONM2

All mass elements are PointMassElement and Element objects.

class pyNastran.bdf.cards.elements.mass.CMASS1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.mass.PointMassElement

Defines a scalar mass element.

CMASS1 EID PID G1 C1 G2 C2
Centroid()[source]

Centroid is assumed to be c=(g1+g2)/2. If g2 is blank, then the centroid is the location of g1.

Eid()[source]
G1()[source]
G2()[source]
Mass()[source]
Pid()[source]
_field_map = {1: u'eid', 2: u'pid', 3: u'g1', 4: u'c1', 5: u'g2', 6: u'c2'}
_verify(xref=False)[source]
cross_reference(model)[source]
nodeIDs()[source]
raw_fields()[source]
type = u'CMASS1'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.mass.CMASS2(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.mass.PointMassElement

Defines a scalar mass element without reference to a property entry.

CMASS2 M PID G1 C1 G2 C2
Centroid()[source]

Centroid is assumed to be c=(g1+g2)/2. If g2 is blank, then the centroid is the location of g1.

Eid()[source]
G1()[source]
G2()[source]
Mass()[source]
_field_map = {1: u'eid', 2: u'pid', 3: u'g1', 4: u'c1', 5: u'g2', 6: u'c2'}
_verify(xref=False)[source]
cross_reference(model)[source]
nodeIDs()[source]
raw_fields()[source]
repr_fields()[source]
type = u'CMASS2'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.mass.CMASS3(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.mass.PointMassElement

Defines a scalar mass element that is connected only to scalar points.

CMASS3 EID PID S1 S2
Eid()[source]
Mass()[source]
_field_map = {1: u'eid', 2: u'pid', 3: u's1', 4: u's2'}
_is_same_card(elem, debug=False)[source]
cross_reference(model)[source]

Links up the propertiy ID

raw_fields()[source]
type = u'CMASS3'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.mass.CMASS4(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.mass.PointMassElement

Defines a scalar mass element that is connected only to scalar points, without reference to a property entry

CMASS4 EID M G1 S2
Eid()[source]
Mass()[source]
_field_map = {1: u'eid', 2: u'mass', 3: u's1', 4: u's2'}
_is_same_card(elem, debug=False)[source]
cross_reference(model)[source]
raw_fields()[source]
type = u'CMASS4'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.mass.CONM1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.mass.PointMassElement

Concentrated Mass Element Connection, General Form Defines a 6 x 6 symmetric mass matrix at a geometric grid point

CONM1 EID G CID M11 M21 M22 M31 M32
  M33 M41 M42 M43 M44 M51 M52 M53
  M54 M55 M61 M62 M63 M64 M65 M66
[M] = [M11 M21 M31 M41 M51 M61]
      [    M22 M32 M42 M52 M62]
      [        M33 M43 M53 M63]
      [            M44 M54 M64]
      [    Sym         M55 M65]
      [                    M66]
Cid()[source]
Eid()[source]
Mass()[source]
MassMatrix()[source]
Nid()[source]
_field_map = {1: u'eid', 2: u'nid', 3: u'cid'}
_update_field_helper(n, value)[source]
_verify(xref=False)[source]
cross_reference(model)[source]
nodeIDs()[source]
raw_fields()[source]
repr_fields()[source]
type = u'CONM1'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.mass.CONM2(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.mass.PointMassElement

Parameters:
  • self – the CONM2 object
  • eid – element ID
  • nid – node ID
  • cid – coordinate frame of the offset (-1=absolute coordinates)
  • X – offset vector relative to nid
  • I – mass moment of inertia matrix about the CG
CONM2 EID NID CID MASS X1 X2 X3  
  I11 I21 I22 I31 I32 I33    
CONM2 501274 11064   132.274
Centroid()[source]

This method seems way more complicated than it needs to be thanks to all these little caveats that don’t seem to be supported.

Cid()[source]
Eid()[source]
I = None

Mass moments of inertia measured at the mass center of gravity in

Inertia()[source]

Returns the 3x3 inertia matrix .. warning:: doesnt handle offsets or coordinate systems

Mass()[source]
Nid()[source]
X = None

Offset distances from the grid point to the center of gravity of coordinate system. (Real)

_field_map = {1: u'eid', 2: u'nid', 3: u'cid', 4: u'mass'}
_update_field_helper(n, value)[source]
_verify(xref=False)[source]
cid = None

Coordinate system identification number. For CID of -1; see X1, X2, X3 below. (Integer > -1; Default = 0)

cross_reference(model)[source]
eid = None

Element identification number. (0 < Integer < 100,000,000)

mass = None

Mass value. (Real)

nid = None

Grid point identification number. (Integer > 0)

nodeIDs()[source]
raw_fields()[source]
repr_fields()[source]
type = u'CONM2'
write_card(size=8, is_double=False)[source]
write_code_aster()[source]
class pyNastran.bdf.cards.elements.mass.PointElement(card, data)[source]

Bases: pyNastran.bdf.cards.baseCard.Element

class pyNastran.bdf.cards.elements.mass.PointMassElement(card, data)[source]

Bases: pyNastran.bdf.cards.elements.mass.PointElement

Mass()[source]

rigid Module

Inheritance diagram of pyNastran.bdf.cards.elements.rigid

All rigid elements are defined in this file. This includes:

  • RBAR
  • RBAR1
  • RBE1
  • RBE2
  • RBE3

All rigid elements are RigidElement and Element objects.

class pyNastran.bdf.cards.elements.rigid.RBAR(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.rigid.RigidElement

RBAR EID GA GB CNA CNB CMA CMB ALPHA
RBAR 5 1 2 123456       6.5-6
raw_fields()[source]
repr_fields()[source]
type = u'RBAR'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.rigid.RBAR1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.rigid.RigidElement

RBAR1 EID GA GB CB ALPHA
RBAR1 5 1 2 123 6.5-6
raw_fields()[source]
repr_fields()[source]
type = u'RBAR1'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.rigid.RBE1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.rigid.RigidElement

raw_fields()[source]
repr_fields()[source]
type = u'RBE1'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.rigid.RBE2(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.rigid.RigidElement

1 2 3 4 5 6 7 8 9
RBE2 EID GN CM GM1 GM2 GM3 GM4 GM5
  GM6 GM7 GM8 etc. ALPHA      
_field_map = {1: u'eid', 2: u'gn', 3: u'cm'}
_update_field_helper(n, value)[source]

Updates complicated parameters on the GRID card

Parameters:
  • self – the GRID object pointer
  • n (int) – the field number to update
  • value – the value for the appropriate field
alpha = None

Grid point identification numbers at which dependent degrees-of-freedom are assigned. (Integer > 0)

cm = None

Component numbers of the dependent degrees-of-freedom in the global coordinate system at grid points GMi. (Integers 1 through 6 with no embedded blanks.)

convert_to_MPC(mpc_id)[source]
\[-A_i u_i + A_j u_j = 0\]

where \(u_i\) are the base DOFs (max=6)

MPC sid g1 c1 a1 g2 c2 a2
RBE2 eid gn cm g1 g2 g3 g4
convert_to_RBE3()[source]
eid = None

Element identification number

gn = None

Identification number of grid point to which all six independent degrees-of-freedom for the element are assigned. (Integer > 0)

raw_fields()[source]
repr_fields()[source]
type = u'RBE2'
write_card(size=8, is_double=False)[source]
write_code_aster()[source]

Converts to a LIAISON SOLIDE for dofs 123456. For other dof combinations, general MPC equations are written

class pyNastran.bdf.cards.elements.rigid.RBE3(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.rigid.RigidElement

Todo

not done, needs testing badly

eid refgrid refc WtCG_groups = [wt,ci,Gij] Gmi Cmi alpha

alpha = None

thermal expansion coefficient

raw_fields()[source]
repr_fields()[source]
type = u'RBE3'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.rigid.RigidElement(card, data)[source]

Bases: pyNastran.bdf.cards.baseCard.Element

cross_reference(model)[source]

shell Module

solid Module

springs Module

Inheritance diagram of pyNastran.bdf.cards.elements.springs

All spring elements are defined in this file. This includes:

  • CELAS1
  • CELAS2
  • CELAS3
  • CELAS4

All spring elements are SpringElement and Element objects.

class pyNastran.bdf.cards.elements.springs.CELAS1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.springs.SpringElement

K()[source]
_field_map = {1: u'eid', 2: u'pid', 4: u'c1', 6: u'c2'}
_is_same_card(elem, debug=False)[source]
_update_field_helper(n, value)[source]
_verify(xref=False)[source]
asterType = u'CELAS1'
c1 = None

component number

cross_reference(model)[source]
nodeIDs()[source]
node_ids[source]
pid = None

property ID

raw_fields()[source]
type = u'CELAS1'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.springs.CELAS2(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.springs.SpringElement

K()[source]
_field_map = {1: u'eid', 2: u'k', 4: u'c1', 6: u'c2'}
_is_same_card(elem, debug=False)[source]
_update_field_helper(n, value)[source]
_verify(xref=False)[source]
asterType = u'CELAS2'
c1 = None

component number

cross_reference(model)[source]
ge = None

damping coefficient

k = None

stiffness of the scalar spring

nodeIDs()[source]
node_ids[source]
raw_fields()[source]
repr_fields()[source]
s = None

stress coefficient

type = u'CELAS2'
write_card(size=8, is_double=False)[source]
write_code_aster()[source]
class pyNastran.bdf.cards.elements.springs.CELAS3(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.springs.SpringElement

K()[source]
_field_map = {1: u'eid', 2: u'pid', 4: u's1', 6: u's2'}
_is_same_card(elem, debug=False)[source]
asterType = u'CELAS3'
cross_reference(model)[source]
nodeIDs()[source]
node_ids[source]
pid = None

property ID

raw_fields()[source]
s1 = None

Scalar point identification numbers

type = u'CELAS3'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.springs.CELAS4(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.elements.springs.SpringElement

K()[source]
_field_map = {1: u'eid', 2: u'k', 4: u's1', 6: u's2'}
_is_same_card(elem, debug=False)[source]
asterType = u'CELAS4'
cross_reference(model)[source]
k = None

stiffness of the scalar spring

nodeIDs()[source]
node_ids[source]
raw_fields()[source]
s1 = None

Scalar point identification numbers

type = u'CELAS4'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.elements.springs.SpringElement(card, data)[source]

Bases: pyNastran.bdf.cards.baseCard.Element

Centroid()[source]
Eid()[source]
Mass()[source]
repr_fields()[source]