#include <beam2dspec.h>
Public Member Functions | |
beam2dspec (void) | |
void | beam_transf_matrix (double c, double s, matrix &tmat) |
void | internal_forces (long lcid, long eid, vector &ifor) |
void | mass_matrix_expl (long eid, long ri, long ci, matrix &mm) |
void | res_internal_forces (long lcid, long eid, vector &ifor) |
void | res_mainip_strains (long lcid, long eid) |
void | res_mainip_stresses (long lcid, long eid) |
void | res_mass_matrix (long eid, matrix &mm) |
void | res_stiffness_matrix (long eid, matrix &sm) |
void | stiffness_matrix_expl (long eid, long ri, long ci, matrix &sm) |
void | strains (long eid, long lcid) |
void | stresses (long eid, long lcid) |
void | transf_matrix (ivector &nodes, matrix &tmat) |
~beam2dspec (void) | |
Public Attributes | |
long * | cncomp |
array containing cumulative numbers of components of stress and strain tensors | |
long | intordism |
order of integration of initial stress matrix | |
long | intordmm |
order of integration of mass matrix | |
long | napfun |
number of approximated functions on the element | |
long | nb |
number of blocks | |
long * | ncomp |
array containing numbers of components of stress and strain tensors | |
long | ndofe |
number of DOFs on the element | |
long ** | nip |
array of numbers of integration points in sets | |
long | nne |
number of nodes on one element | |
strastrestate | ssst |
stress/strain state | |
long | tncomp |
total number of components of stress and strain tensors | |
long | tnip |
total number of integration points; |
class beam2dspec defines beam element for 2D analysis
JK
Definition at line 16 of file beam2dspec.h.
beam2dspec | ( | void | ) |
~beam2dspec | ( | void | ) |
Definition at line 34 of file beam2dspec.cpp.
void beam_transf_matrix | ( | double | c, | |
double | s, | |||
matrix & | tmat | |||
) |
function assembles transformation matrix x_g = T x_l
c,s | - cosine and sine of beam angle | |
tmat | - transformation matrix |
JK, 3.2.2002
Definition at line 85 of file beam2dspec.cpp.
References fillm().
Referenced by mass_matrix_expl(), res_mainip_stresses(), stiffness_matrix_expl(), and strains().
void internal_forces | ( | long | lcid, | |
long | eid, | |||
vector & | ifor | |||
) |
function computes internal forces
lcid | - load case id | |
eid | - element id | |
ifor | - vector of internal forces |
12.8.2001
Definition at line 258 of file beam2dspec.cpp.
References vector::a, eldispl(), mechtop::elements, fillv(), mechtop::give_node_coord2dxz(), intpoints::idm, mechmat::ip, element::ipp, Mm, Mt, ndofe, nne, and tncomp.
Referenced by res_internal_forces().
void mass_matrix_expl | ( | long | eid, | |
long | ri, | |||
long | ci, | |||
matrix & | mm | |||
) |
function computes mass matrix of 2D beam element
eid | - number of element | |
ri,ci | - row and column indices | |
mm | - mass matrix |
JK, 3.2.200
Definition at line 175 of file beam2dspec.cpp.
References beam_transf_matrix(), mechtop::elements, fillm(), g, mechcrsec::give_area(), mechcrsec::give_densitye(), mechtop::give_elemnodes(), mechcrsec::give_mominer(), mechtop::give_node_coord2dxz(), mechcrsec::give_shearcoeff(), glmatrixtransf(), element::ipp, lgmatrixtransf(), mechtop::locsystems(), mechmat::matstiff(), Mc, Mm, Mt, ndofe, nne, nodes, tncomp, and transf_matrix().
Referenced by res_mass_matrix().
void res_internal_forces | ( | long | lcid, | |
long | eid, | |||
vector & | ifor | |||
) |
Definition at line 303 of file beam2dspec.cpp.
References internal_forces().
void res_mainip_strains | ( | long | lcid, | |
long | eid | |||
) |
function stores end displacements and rotations to integration points
JK, 24.5.2006
Definition at line 402 of file beam2dspec.cpp.
References allocm(), allocv(), copyv(), destrm(), destrv(), eldispl(), mechtop::elements, element::ipp, lgvectortransf(), mechtop::locsystems(), Mm, Mt, ndofe, nne, nodes, mechmat::storestrain(), and transf_matrix().
void res_mainip_stresses | ( | long | lcid, | |
long | eid | |||
) |
function computes
lcid | - load case id | |
eid | - element id |
JK, 10.10.2005
Definition at line 444 of file beam2dspec.cpp.
References allocv(), beam_transf_matrix(), copyv(), destrv(), eldispl(), mechtop::elements, mechtop::give_elemnodes(), mechtop::give_node_coord2dxz(), mechmat::ip, element::ipp, lgvectortransf(), mechtop::locsystems(), Mm, Mt, mxv(), ndofe, nne, nodes, stiffness_matrix_expl(), intpoints::stress, and transf_matrix().
void res_mass_matrix | ( | long | eid, | |
matrix & | mm | |||
) |
Definition at line 161 of file beam2dspec.cpp.
References mass_matrix_expl().
void res_stiffness_matrix | ( | long | eid, | |
matrix & | sm | |||
) |
Definition at line 101 of file beam2dspec.cpp.
References stiffness_matrix_expl().
void stiffness_matrix_expl | ( | long | eid, | |
long | ri, | |||
long | ci, | |||
matrix & | sm | |||
) |
function computes stiffness matrix of plane stress rectangular finite element with bilinear approximation functions
eid | - number of element | |
ri,ci | - row and column indices | |
sm | - stiffness matrix |
JK, 3.2.2002
Definition at line 117 of file beam2dspec.cpp.
References beam_transf_matrix(), mechtop::elements, fillm(), mechtop::give_elemnodes(), mechtop::give_node_coord2dxz(), glmatrixtransf(), intpoints::idm, mechmat::ip, element::ipp, lgmatrixtransf(), mechtop::locsystems(), Mm, Mt, ndofe, nne, nodes, tncomp, and transf_matrix().
Referenced by res_mainip_stresses(), res_stiffness_matrix(), and stresses().
void strains | ( | long | eid, | |
long | lcid | |||
) |
function computes strains
eid | - element id | |
lcid | - load case id |
20.2.2002
Definition at line 354 of file beam2dspec.cpp.
References beam_transf_matrix(), copyv(), eldispl(), mechtop::elements, mechtop::give_elemnodes(), mechtop::give_node_coord2dxz(), glvectortransf(), element::ipp, lgvectortransf(), mechtop::locsystems(), Mm, Mt, ndofe, nne, nodes, rl, mechmat::storestrain(), and transf_matrix().
void stresses | ( | long | eid, | |
long | lcid | |||
) |
function computes internal forces
lcid | - load case id | |
eid | - element id | |
ifor | - vector of internal forces |
12.8.2001
Definition at line 318 of file beam2dspec.cpp.
References vector::a, eldispl(), mechtop::elements, f, mechtop::give_node_coord2dxz(), intpoints::idm, mechmat::ip, element::ipp, Mm, Mt, mxv(), ndofe, nne, stiffness_matrix_expl(), intpoints::stress, and tncomp.
function assembles transformation matrix x_g = T x_l
nodes | - array containing node numbers | |
tmat | - transformation matrix |
JK, 3.2.2002
Definition at line 54 of file beam2dspec.cpp.
References node::e1, node::e2, fillm(), matrix::m, Mt, ivector::n, mechtop::nodes, and node::transf.
Referenced by mass_matrix_expl(), res_mainip_strains(), res_mainip_stresses(), stiffness_matrix_expl(), and strains().
long* cncomp |
array containing cumulative numbers of components of stress and strain tensors
Definition at line 44 of file beam2dspec.h.
Referenced by beam2dspec().
long intordism |
order of integration of initial stress matrix
Definition at line 50 of file beam2dspec.h.
Referenced by beam2dspec().
long intordmm |
order of integration of mass matrix
Definition at line 48 of file beam2dspec.h.
Referenced by beam2dspec().
long napfun |
number of approximated functions on the element
Definition at line 46 of file beam2dspec.h.
Referenced by beam2dspec(), and mechtop::give_napfun().
long nb |
number of blocks
Definition at line 56 of file beam2dspec.h.
Referenced by beam2dspec(), mechtop::give_nb(), mechtop::give_nb_te(), and ~beam2dspec().
long* ncomp |
array containing numbers of components of stress and strain tensors
Definition at line 42 of file beam2dspec.h.
Referenced by beam2dspec().
long ndofe |
number of DOFs on the element
Definition at line 36 of file beam2dspec.h.
Referenced by beam2dspec(), mechtop::give_ndofe(), internal_forces(), mass_matrix_expl(), res_mainip_strains(), res_mainip_stresses(), stiffness_matrix_expl(), strains(), and stresses().
long** nip |
array of numbers of integration points in sets
Definition at line 52 of file beam2dspec.h.
Referenced by beam2dspec(), mechtop::give_nip(), and ~beam2dspec().
long nne |
number of nodes on one element
Definition at line 38 of file beam2dspec.h.
Referenced by beam2dspec(), mechtop::give_nne(), internal_forces(), mass_matrix_expl(), res_mainip_strains(), res_mainip_stresses(), stiffness_matrix_expl(), strains(), and stresses().
stress/strain state
Definition at line 58 of file beam2dspec.h.
Referenced by beam2dspec(), and mechtop::give_ssst().
long tncomp |
total number of components of stress and strain tensors
Definition at line 40 of file beam2dspec.h.
Referenced by beam2dspec(), mechtop::give_ncomp(), mechtop::give_tncomp(), internal_forces(), mass_matrix_expl(), stiffness_matrix_expl(), and stresses().
long tnip |
total number of integration points;
Definition at line 54 of file beam2dspec.h.
Referenced by beam2dspec(), and mechtop::give_tnip().