Beam

Define a beam material

Parameters

name : str
String naming the material.
color : Color
Material appearance. color=rgb(169,179,193)
envelope : str
Type of yield envelope. envelope= 'none', 'square', 'diamond', 'iluyshin'
m_py : float
Bending moment capacity, in kNm/m.
m_pz : float
Bending moment capacity, in kNm/m.
n_p : float
Yield force, in kN.
t_p : float
Torsional capacity, in kNm.
EI_y : float
Bending stifness in y, in kNm^2.
EI_z : float
Bending stifness in z, in kNm^2.
EA : float
Normal Stiffness, in kN.
GJ : float
Torsional stifness, in kN/m^2.
gamma : float
Unit weight, in kN/m.

Examples

i = 22
model2d.add_rectangle([i,0],[i+1,2])
Face = model2d.select(p0=[i+0.5,1],types='face')
BeamMaterial = prj.Beam(name='BeamMaterial',
                        color=rgb(0,84,166),
                        envelope='diamond',
                        m_py=800,
                        m_pz=800,
                        n_p=5000,
                        t_p=500,
                        EI_y=100000,
                        EI_z=100000,
                        EA=4e6,
                        GJ=100000,
                        gamma=0,
                        )
model2d.set_solid(shapes=Face,material=BeamMaterial)