#include <shelltr.h>
Public Member Functions | |
void | compute_nlstress (long lcid, long eid) |
void | compute_nlstressincr (long lcid, long eid) |
void | inicipval (long eid, long ri, long ci, matrix &nodval, inictype *ictn) |
void | nod_strains_ip (long lcid, long eid) |
void | nod_stresses_ip (long lcid, long eid) |
void | res_internal_forces (long lcid, long eid, vector &ifor) |
void | res_ip_strains (long lcid, long eid) |
void | res_ip_stresses (long lcid, long eid) |
void | res_stiffness_matrix (long eid, matrix &sm) |
shelltr (void) | |
void | strains (long lcid, long eid) |
void | stresses (long lcid, long eid) |
void | tran_mat (vector &x, vector &y, matrix &tran, vector &gx, vector &gy, vector &gz) |
void | tran_mat_old (vector &x, vector &y, matrix &tran, vector &gx, vector &gy, vector &gz) |
void | transf_matrix (ivector &nodes, matrix &tmat) |
~shelltr (void) | |
Public Attributes | |
long * | dofe |
long ** | intordsm |
long | napfun |
long | nb |
long * | ncompd |
long * | ncomps |
long | ndofe |
long | ned |
long ** | nip |
long | nne |
long | nned |
strastrestate | ssst |
long | tncomp |
long | tncompd |
long | tncomps |
long | tnip |
total number of integration points on element |
shell triangular element resulting matrices are composed from plane triangular element with rotational degrees of freedom and from constant curve triangle
Definition at line 15 of file shelltr.h.
shelltr | ( | void | ) |
Definition at line 12 of file shelltr.cpp.
References Dkt, dofe, dktelem::intordsm, planeelemrotlt::intordsm, intordsm, napfun, dktelem::nb, planeelemrotlt::nb, nb, ncompd, ncomps, dktelem::ndofe, planeelemrotlt::ndofe, ndofe, ned, dktelem::nip, planeelemrotlt::nip, nip, nne, nned, Perlt, shell, ssst, dktelem::tncomp, planeelemrotlt::tncomp, tncomp, tncompd, tncomps, and tnip.
~shelltr | ( | void | ) |
void compute_nlstress | ( | long | lcid, | |
long | eid | |||
) |
function computes stresses
lcid | - load case id | |
eid | - element id |
JK, 26.9.2008
Definition at line 481 of file shelltr.cpp.
References dktelem::compute_nlstress(), planeelemrotlt::compute_nlstress(), Dkt, and Perlt.
void compute_nlstressincr | ( | long | lcid, | |
long | eid | |||
) |
function computes correct increments of stresses at integration points on element
lcid | - number of load case | |
eid | - element id |
JK, 23.9.2008
Definition at line 496 of file shelltr.cpp.
References dktelem::compute_nlstressincr(), planeelemrotlt::compute_nlstressincr(), Dkt, and Perlt.
The function computes initial values of the given quantities at each integration point of the element from the nodal values given by the parameter nodval. Initial condition types must be the same for all nodes of the element.
eid | - element id | |
ri | - block row index | |
ci | - block column index | |
nodval | - nodal values of particular initial conditions. nodval[i][j] represents value of j-th initial condition at i-th node of the given element. | |
ictn | - array of types of initial condition for each node of element. The type of initial condition determines which values are being specified in the node. (ictn[i] & inistrain) returns nonzero if nodal values of initial strains are specified (ictn[i] & inistress) returns nonzero if nodal values of initial stresses are specified (ictn[i] & iniother) returns nonzero if nodal values of initial values of eqother array are specified (ictn[i] & inicond) returns nonzero if nodal values of other initial conditions are specified |
The function does not return anything.
Created by Tomas Koudelka 2004 Revised by Tomas Koudelka 03.2012
Definition at line 678 of file shelltr.cpp.
References vector::a, allocv(), destrv(), mechtop::elements, gauss_points_tr(), mechmat::ic, inicond, iniother, inistrain, inistress, intordsm, mechmat::ip, element::ipp, memset(), Mm, Mt, matrix::n, nb, intpoints::ncompeqother, intpoints::ncompstr, nne, and print_err().
Referenced by mechbclc::inicipval().
void nod_strains_ip | ( | long | lcid, | |
long | eid | |||
) |
Definition at line 558 of file shelltr.cpp.
References destrv(), mechtop::elements, mechtop::give_elemnodes(), mechtop::give_node_coord3d(), mechmat::givestrain(), intordsm, element::ipp, loc_glob_tens_trans(), Mm, Mt, vector::n, nne, nod, mechtop::nodes, nodip_planelt(), node::storestrain(), tncomp, tncomps, and tran_mat().
Referenced by compute_nodestrains().
void nod_stresses_ip | ( | long | lcid, | |
long | eid | |||
) |
Definition at line 638 of file shelltr.cpp.
References Dkt, dktelem::nod_stresses_ip(), planeelemrotlt::nod_stresses_ip(), and Perlt.
Referenced by compute_nodestresses().
void res_internal_forces | ( | long | lcid, | |
long | eid, | |||
vector & | ifor | |||
) |
function computes resulting internal forces
lcid | - load case id | |
eid | - element id | |
ifor | - vector of internal forces |
JK, 26.9.2008
Definition at line 512 of file shelltr.cpp.
References vector::a, allocv(), copyv(), destrv(), Dkt, dofe, mechtop::give_elemnodes(), mechtop::give_node_coord3d(), glvectortransf(), dktelem::internal_forces(), planeelemrotlt::internal_forces(), locglob(), mechtop::locsystems(), Mt, ndofe, nne, nodes, Perlt, tran_mat(), and transf_matrix().
Referenced by elem_internal_forces().
void res_ip_strains | ( | long | lcid, | |
long | eid | |||
) |
function computes strains at integration points of element
lcid | - load case id | |
eid | - element id |
JK, 23.9.2008
Definition at line 390 of file shelltr.cpp.
References vector::a, allocm(), allocv(), copyv(), destrm(), destrv(), Dkt, dofe, eldispl(), mechtop::give_elemnodes(), mechtop::give_node_coord3d(), globloc(), glvectortransfblock(), dktelem::ip_strains(), planeelemrotlt::ip_strains(), lgvectortransf(), mechtop::locsystems(), Mt, ndofe, nne, nodes, Perlt, tran_mat(), and transf_matrix().
Referenced by compute_ipstrains().
void res_ip_stresses | ( | long | lcid, | |
long | eid | |||
) |
function computes stresses at integration points
lcid | - load case id | |
eid | - element id |
JK, 26.9.2008
Definition at line 467 of file shelltr.cpp.
References dktelem::compute_nlstress(), planeelemrotlt::compute_nlstress(), Dkt, and Perlt.
Referenced by compute_ipstresses().
void res_stiffness_matrix | ( | long | eid, | |
matrix & | sm | |||
) |
function assembles stiffness matrix of triangular shell element
eid | - element id | |
sm | - stiffness matrix |
4.5.2002
Definition at line 318 of file shelltr.cpp.
References allocm(), destrm(), Dkt, dofe, fillm(), mechtop::give_elemnodes(), mechtop::give_node_coord3d(), glmatrixtransf(), lgmatrixtransfblock(), mechtop::locsystems(), mat_localize(), Mt, ndofe, nne, nodes, Perlt, dktelem::stiffness_matrix(), planeelemrotlt::stiffness_matrix(), tran_mat(), and transf_matrix().
Referenced by stiffmat().
void strains | ( | long | lcid, | |
long | eid | |||
) |
Definition at line 633 of file shelltr.cpp.
void stresses | ( | long | lcid, | |
long | eid | |||
) |
Definition at line 650 of file shelltr.cpp.
Referenced by computestresses().
function assembles transformation matrix T between coordinate system defined on element and global coordinate system
T x_local = x_global x_local = T^T x_global
direction vector denotes vector defining local coordinate axis
x,y | - vectors of nodal coordinates in element coordinate system | |
tran | - tranformation matrix T | |
gx,gy,gz | - vectors of nodal coordinates in global coordinate systems |
JK, 1.10.2008
Definition at line 117 of file shelltr.cpp.
References p.
Referenced by nod_strains_ip(), res_internal_forces(), res_ip_strains(), and res_stiffness_matrix().
function assembles transformation matrix between coordinate system defined on element and global coordinate system transformation deals with coordinates
transformation matrix from local to global systems x,y,z In vectors s are global coordinates of Nodes 1 , 2 , 3 Vector local s. s.( edge 1-2 = x' ) in glob. s. s.
v(g) = tran * v(l) t t v(l) = tran * v(g) = v(g) * tran
t sm(g) = tran * sm(l) * tran t sm(l) = tran * sm(g) * tran
Definition at line 211 of file shelltr.cpp.
function assembles transformation matrix between global coordinate system and local nodal coordinate sytem transformation deals with nodal forces
transformation matrix x_g = T x_l
9.5.2002
Definition at line 283 of file shelltr.cpp.
References node::e1, node::e2, node::e3, fillm(), matrix::m, Mt, ivector::n, mechtop::nodes, and node::transf.
Referenced by res_internal_forces(), res_ip_strains(), and res_stiffness_matrix().
long* dofe |
Definition at line 60 of file shelltr.h.
Referenced by res_internal_forces(), res_ip_strains(), res_stiffness_matrix(), shelltr(), and ~shelltr().
long** intordsm |
Definition at line 50 of file shelltr.h.
Referenced by mechtop::give_intordsm(), inicipval(), nod_strains_ip(), shelltr(), and ~shelltr().
long napfun |
Definition at line 58 of file shelltr.h.
Referenced by mechtop::give_napfun(), and shelltr().
long nb |
Definition at line 64 of file shelltr.h.
Referenced by mechtop::give_nb(), mechtop::give_nb_te(), inicipval(), shelltr(), and ~shelltr().
long* ncompd |
Definition at line 56 of file shelltr.h.
Referenced by shelltr(), and ~shelltr().
long* ncomps |
Definition at line 54 of file shelltr.h.
Referenced by shelltr(), and ~shelltr().
long ndofe |
Definition at line 40 of file shelltr.h.
Referenced by mechtop::give_ndofe(), res_internal_forces(), res_ip_strains(), res_stiffness_matrix(), and shelltr().
long ned |
Definition at line 44 of file shelltr.h.
Referenced by mechtop::give_ned(), and shelltr().
long** nip |
Definition at line 62 of file shelltr.h.
Referenced by mechtop::give_nip(), shelltr(), and ~shelltr().
long nne |
Definition at line 42 of file shelltr.h.
Referenced by mechtop::give_nne(), inicipval(), nod_strains_ip(), res_internal_forces(), res_ip_strains(), res_stiffness_matrix(), and shelltr().
long nned |
Definition at line 46 of file shelltr.h.
Referenced by mechtop::give_nned(), and shelltr().
long tncomp |
Definition at line 52 of file shelltr.h.
Referenced by mechtop::give_tncomp(), nod_strains_ip(), and shelltr().
long tncomps |
Definition at line 52 of file shelltr.h.
Referenced by nod_strains_ip(), and shelltr().
long tnip |
total number of integration points on element
Definition at line 48 of file shelltr.h.
Referenced by mechtop::give_tnip(), and shelltr().