planeelemrotlt Class Reference

#include <plelemrotlt.h>

List of all members.

Public Member Functions

void addgeommat (matrix &gm, vector &x, vector &y, vector &areacoord, double &jac)
void allip_strains (double **stra, long lcid, long eid, long ri, long ci)
void allip_stresses (double **stre, long lcid, long eid, long ri, long ci)
double approx (vector &areacoord, vector &nodval)
double approx_nat (double xi, double eta, vector &nodval)
void appstrain (long lcid, long eid, double xi, double eta, long fi, long ncomp, vector &eps)
void appstress (long lcid, long eid, double xi, double eta, long fi, long ncomp, vector &sig)
void appval (double xi, double eta, long fi, long nc, vector &eps, double **val)
void bf_matrix (matrix &n, vector &l, vector &b, vector &c)
void compute_eigstress (long lcid, long eid, long ri, long ci)
void compute_nlstress (long lcid, long eid, long ri, long ci)
void compute_nlstressincr (long lcid, long eid, long ri, long ci)
void compute_nonloc_nlstress (long lcid, long eid, long ri, long ci)
void dmatblock (long ri, long ci, matrix &d, matrix &dd)
void eigstrain_forces (long lcid, long eid, long ri, long ci, vector &nfor, vector &x, vector &y)
void elem_integration (integratedquant iq, long lcid, long eid, long ri, long ci, vector &nv, vector &x, vector &y)
void elem_strains (double **stra, long lcid, long eid, long ri, long ci)
void elem_stresses (double **stra, double **stre, long lcid, long eid, long ri, long ci)
void geom_matrix (matrix &gm, vector &x, vector &y, vector &areacoord)
void geom_matrix_block (matrix &gm, long ri, vector &x, vector &y, vector &areacoord)
void incr_internal_forces (long lcid, long eid, long ri, long ci, vector &ifor, vector &x, vector &y)
void inicipval (long eid, long ri, long ci, matrix &nodval, inictype *ictn)
void internal_forces (long lcid, long eid, long ri, long ci, vector &ifor, vector &x, vector &y)
void ip_strains (long lcid, long eid, long ri, long ci, vector &x, vector &y, vector &r)
void ip_stresses (long lcid, long eid, long ri, long ci)
void ipcoord (long eid, long ipp, long ri, long ci, vector &coord)
void ipvolume (long eid, long ri, long ci)
void load_matrix (long eid, matrix &lm)
void local_values (long lcid, long eid, long ri, long ci)
void mainip_strains (long lcid, long eid, long ri, long ci, vector &x, vector &y, vector &r)
void mainip_stresses (long lcid, long eid, long ri, long ci)
void mass_matrix (long eid, matrix &mm, vector &x, vector &y)
void nod_others (long lcid, long eid, long ri, long ci)
void nod_strains (long lcid, long eid, long ri, long ci)
void nod_strains_ip (long lcid, long eid, long ri, long ci)
void nod_stresses (long lcid, long eid, long ri, long ci)
void nod_stresses_ip (long lcid, long eid, long ri, long ci)
void nodecoord (vector &xi, vector &eta)
void nonloc_internal_forces (long lcid, long eid, long ri, long ci, vector &ifor, vector &x, vector &y)
 planeelemrotlt (void)
void res_eigstrain_forces (long lcid, long eid, vector &nfor)
void res_incr_internal_forces (long lcid, long eid, vector &ifor)
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_mainip_strains (long lcid, long eid)
void res_mass_matrix (long eid, matrix &mm)
void res_nonloc_internal_forces (long lcid, long eid, vector &ifor)
void res_stiffness_matrix (long eid, matrix &sm)
void stiffness_matrix (long eid, long ri, long ci, matrix &sm, vector &x, vector &y)
void strains (long lcid, long eid, long ri, long ci)
void stresses (long lcid, long eid, long ri, long ci)
void transf_matrix (ivector &nodes, matrix &tmat)
 ~planeelemrotlt (void)

Public Attributes

long * cncomp
 array of cumulative numbers of components
long gncomp
 number of components for graphic purposes
long intordmm
 order of integration of mass matrix
long ** intordsm
 array of orders of integration of stiffness matrix
long napfun
 number of approximated functions on the element
long nb
 number of blocks
long * ncomp
 array of numbers of components
long ndofe
 number of DOFs on the element
long ned
 number of edges
long ** nip
 array of numbers of integration points
long nne
 number of nodes on one element
long nned
 number of nodes on one edge
strastrestate ssst
 stress/strain state
long tncomp
 total number of components of stress and strain tensors
long tnip
 total number of integration points on element

Detailed Description

class planeelemrotlt defines plane triangular element with rotational degrees of freedom

JK

Definition at line 16 of file plelemrotlt.h.


Constructor & Destructor Documentation

planeelemrotlt ( void   ) 

Definition at line 10 of file plelemrotlt.cpp.

References cncomp, gncomp, intordmm, intordsm, napfun, nb, ncomp, ndofe, ned, nip, nne, nned, tncomp, and tnip.

~planeelemrotlt ( void   ) 

Definition at line 69 of file plelemrotlt.cpp.

References cncomp, intordsm, nb, ncomp, and nip.


Member Function Documentation

void addgeommat ( matrix gm,
vector x,
vector y,
vector areacoord,
double &  jac 
)

Definition at line 260 of file plelemrotlt.cpp.

References vector::a, bf_rot_3_2d(), dx_bf_rot_3_2d(), dy_bf_rot_3_2d(), fillm(), ndofe, nne, plsb(), and plsc().

Referenced by stiffness_matrix().

void allip_strains ( double **  stra,
long  lcid,
long  eid,
long  ri,
long  ci 
)
void allip_stresses ( double **  stre,
long  lcid,
long  eid,
long  ri,
long  ci 
)
double approx ( vector areacoord,
vector nodval 
)

function approximates function defined by nodal values

Parameters:
areacoord - vector containing area coordinates
nodval - nodal values

6.1.2002

Definition at line 94 of file plelemrotlt.cpp.

References f, and scprd().

Referenced by appstrain(), appstress(), elem_integration(), interpolate(), ipcoord(), load_matrix(), mass_matrix(), and stiffness_matrix().

double approx_nat ( double  xi,
double  eta,
vector nodval 
)

function approximates function defined by nodal values

Parameters:
xi,eta - natural coordinates
nodval - nodal values

1.4.2002

Definition at line 109 of file plelemrotlt.cpp.

References f, and scprd().

Referenced by appval(), inicipval(), and ipvolume().

void appstrain ( long  lcid,
long  eid,
double  xi,
double  eta,
long  fi,
long  ncomp,
vector eps 
)

function computes strains in arbitrary point on element

Parameters:
eid - element id
xi,eta - natural coordinates of the point
fi,li - first and last indices
eps - array containing strains

11.5.2002

Definition at line 1077 of file plelemrotlt.cpp.

References approx(), mechtop::give_elemnodes(), Mt, vector::n, nne, mechtop::nodes, nodes, nodval(), node::strain, and tncomp.

Referenced by allip_strains(), elem_stresses(), mainip_stresses(), nod_stresses(), and strains().

void appstress ( long  lcid,
long  eid,
double  xi,
double  eta,
long  fi,
long  ncomp,
vector sig 
)

function computes stresses in arbitrary point on element

Parameters:
eid - element id
xi,eta - natural coordinates of the point
fi,li - first and last indices
sig - array containing stresses

11.5.2002

Definition at line 1432 of file plelemrotlt.cpp.

References approx(), mechtop::give_elemnodes(), Mt, vector::n, nne, mechtop::nodes, nodes, nodval(), node::stress, and tncomp.

Referenced by allip_stresses(), and stresses().

void appval ( double  xi,
double  eta,
long  fi,
long  nc,
vector eps,
double **  val 
)

function computes strains in arbitrary point on element

Parameters:
xi,eta - natural coordinates of the point
eps - array containing strains
val - array containing values on element

11.5.2002

Definition at line 1220 of file plelemrotlt.cpp.

References allocv(), approx_nat(), destrv(), nne, and nodval().

Referenced by allip_strains(), allip_stresses(), compute_nonloc_nlstress(), elem_stresses(), local_values(), strains(), and stresses().

void bf_matrix ( matrix n,
vector l,
vector b,
vector c 
)

function returns matrix of base function

Parameters:
n - array containing matrix
l - array of area coordinates
b,c - arrays of coefficients of area coordinates

6.1.2002

Definition at line 131 of file plelemrotlt.cpp.

References vector::a, bf_rot_3_2d(), and fillm().

Referenced by load_matrix(), and mass_matrix().

void compute_eigstress ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes correct eigen stresses caused by temperature at integration points on element

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices

TKo 7.2008

Definition at line 1925 of file plelemrotlt.cpp.

References mechtop::elements, mechmat::giveeigstrain(), intordsm, element::ipp, mechmat::matstiff(), Mm, Mt, mxv(), nb, mechmat::storeeigstress(), and tncomp.

Referenced by eigstrain_forces().

void compute_nlstress ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes correct stresses at integration points on element

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices

JK, 27.11.2006

Definition at line 789 of file plelemrotlt.cpp.

References mechmat::computenlstresses(), mechtop::elements, intordsm, element::ipp, Mm, Mp, Mt, nb, and probdesc::strcomp.

Referenced by shelltr::compute_nlstress(), elem_nlstresses(), internal_forces(), ip_stresses(), shelltr::res_ip_stresses(), and res_ip_stresses().

void compute_nlstressincr ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes correct stresses at integration points on element

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices

JK, 27.11.2006

Definition at line 815 of file plelemrotlt.cpp.

References mechmat::computenlstressesincr(), mechtop::elements, intordsm, element::ipp, Mm, Mp, Mt, nb, and probdesc::strcomp.

Referenced by shelltr::compute_nlstressincr(), and incr_internal_forces().

void compute_nonloc_nlstress ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes nonlocal correct stresses at integration points on element

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices

TKo, 7.2008

Definition at line 1878 of file plelemrotlt.cpp.

References vector::a, allocv(), appval(), mechmat::compnonloc_nlstresses(), destrv(), elem_strains(), mechtop::elements, gauss_points_tr(), intordsm, element::ipp, Mm, Mp, Mt, nb, nne, nodes, mechmat::storestrain(), probdesc::strcomp, and tncomp.

Referenced by nonloc_internal_forces().

void dmatblock ( long  ri,
long  ci,
matrix d,
matrix dd 
)

function assembles blocks of stiffness matrix of material

Parameters:
ri - row index
ci - column index
d - stiffness matrix of material
dd - required block of stiffness matrix of material

JK

Definition at line 300 of file plelemrotlt.cpp.

References fillm().

Referenced by elem_stresses(), mainip_stresses(), nod_stresses(), and stiffness_matrix().

void eigstrain_forces ( long  lcid,
long  eid,
long  ri,
long  ci,
vector nfor,
vector x,
vector y 
)

function computes nodal forces caused by temperature changes

Parameters:
lcid - load case id
eid - element id
ri,ci - row and column indices
ifor - vector of internal forces
x,y - vectors of nodal coordinates

TKo 7.2008

Definition at line 1678 of file plelemrotlt.cpp.

References compute_eigstress(), probdesc::eigstrcomp, eigstress, elem_integration(), and Mp.

Referenced by res_eigstrain_forces().

void elem_integration ( integratedquant  iq,
long  lcid,
long  eid,
long  ri,
long  ci,
vector nv,
vector x,
vector y 
)

function integrates selected quantity over the finite element it results in nodal values

Parameters:
iq - type of integrated quantity (see alias.h)
lcid - number of load case
eid - element id
ri,ci - row and column indices
nv - nodal values
x,y - node coordinates

TKo, 7.2008

Definition at line 1960 of file plelemrotlt.cpp.

References vector::a, addv(), allocm(), allocv(), approx(), cmulv(), cncomp, destrm(), destrv(), mechtop::elements, fillv(), gauss_points_tr(), geom_matrix_block(), mechtop::give_elemnodes(), mechcrsec::give_thickness(), mechmat::givequantity(), intordsm, element::ipp, Mc, Mm, Mt, mtxv(), nb, ncomp, ndofe, nne, and nodes.

Referenced by eigstrain_forces(), incr_internal_forces(), internal_forces(), and nonloc_internal_forces().

void elem_strains ( double **  stra,
long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes strains on element

Parameters:
val - array containing strains on element
lcid - load case id
eid - element id

15.7.2002

Definition at line 1019 of file plelemrotlt.cpp.

References vector::a, allocv(), cncomp, destrv(), mechtop::elements, gauss_points_tr(), mechtop::give_elemnodes(), mechmat::givestrain(), intordsm, element::ipp, matassem_lsm(), Mm, Mp, Mt, nb, ncomp, nne, nodal_values(), nodecoord(), nodes, nullv(), rhsassem_lsm(), solve_lsm(), and probdesc::zero.

Referenced by compute_nonloc_nlstress(), local_values(), strains(), and stresses().

void elem_stresses ( double **  stra,
double **  stre,
long  lcid,
long  eid,
long  ri,
long  ci 
)
void geom_matrix ( matrix gm,
vector x,
vector y,
vector areacoord 
)

function assembles strain-displacement (geometric) matrix

Parameters:
gm - geometric matrix
x,y - array containing node coordinates
areacoord - area coordinates

JK, 9.7.2001

Definition at line 163 of file plelemrotlt.cpp.

References vector::a, dx_bf_rot_3_2d(), dy_bf_rot_3_2d(), fillm(), plsb(), and plsc().

Referenced by ip_strains().

void geom_matrix_block ( matrix gm,
long  ri,
vector x,
vector y,
vector areacoord 
)

function assembles blocks of strain-displacement (geometric) matrix

Parameters:
gm - geometric matrix
ri - row index (number of required block)
x,y - array containing node coordinates
areacoord - area coordinates

JK, 9.7.2001

Definition at line 215 of file plelemrotlt.cpp.

References vector::a, dx_bf_rot_3_2d(), dy_bf_rot_3_2d(), fillm(), plsb(), and plsc().

Referenced by elem_integration(), mainip_strains(), and stiffness_matrix().

void incr_internal_forces ( long  lcid,
long  eid,
long  ri,
long  ci,
vector ifor,
vector x,
vector y 
)

function computes increments of internal forces

Parameters:
lcid - load case id
eid - element id
ri,ci - row and column indices
ifor - vector of internal forces
x,y - vectors of nodal coordinates

TKo 7.2008

Definition at line 1654 of file plelemrotlt.cpp.

References compute_nlstressincr(), elem_integration(), and stressincr.

Referenced by res_incr_internal_forces().

void inicipval ( long  eid,
long  ri,
long  ci,
matrix nodval,
inictype ictn 
)

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.

Parameters:
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 2073 of file plelemrotlt.cpp.

References vector::a, allocv(), approx_nat(), destrv(), mechtop::elements, intpoints::eqother, 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, print_err(), intpoints::strain, and intpoints::stress.

Referenced by mechbclc::inicipval().

void internal_forces ( long  lcid,
long  eid,
long  ri,
long  ci,
vector ifor,
vector x,
vector y 
)

function computes internal forces

this function is used in plane stress/strain elements (function is called by function res_internal_forces) and shell elements

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices
ifor - vector of internal forces
x,y - node coordinates

JK, 27.11.2006

Definition at line 847 of file plelemrotlt.cpp.

References compute_nlstress(), elem_integration(), and locstress.

Referenced by res_eigstrain_forces(), shelltr::res_internal_forces(), and res_internal_forces().

void ip_strains ( long  lcid,
long  eid,
long  ri,
long  ci,
vector x,
vector y,
vector r 
)

function computes strains at integration points of element

Parameters:
lcid - load case id
eid - element id
ri,ci - row and column indices
x,y - arrays with node coordinates
r - vector of nodal displacements

JK, 10.5.2002

Definition at line 638 of file plelemrotlt.cpp.

References vector::a, allocm(), allocv(), destrm(), destrv(), mechtop::elements, gauss_points_tr(), geom_matrix(), intordsm, element::ipp, Mm, Mt, mxv(), nb, ndofe, mechmat::storestrain(), and tncomp.

Referenced by shelltr::res_ip_strains(), and res_ip_strains().

void ip_stresses ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes stresses at integration points

Parameters:
lcid - load case id
eid - element id
ri,ci - row and column indices

JK

Definition at line 725 of file plelemrotlt.cpp.

References compute_nlstress().

void ipcoord ( long  eid,
long  ipp,
long  ri,
long  ci,
vector coord 
)

function returns coordinates of integration points

Parameters:
eid - element id
ipp - integration point pointer
ri,ci - row and column indices
coord - vector of coordinates

19.1.2002

Definition at line 2026 of file plelemrotlt.cpp.

References vector::a, approx(), mechtop::elements, gauss_points_tr(), mechtop::give_node_coord2d(), intordsm, element::ipp, Mt, and nne.

Referenced by ipcoord().

void ipvolume ( long  eid,
long  ri,
long  ci 
)

function computes volume appropriate to integration point

2.3.2004, JK 07.2008 TKo - multiplictaion by thick added, correction of last ip point

Definition at line 2188 of file plelemrotlt.cpp.

References vector::a, allocv(), approx_nat(), destrv(), mechtop::elements, gauss_points_tr(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), mechcrsec::give_thickness(), intordsm, element::ipp, jac_2d(), Mc, Mm, Mt, nb, nip, nne, nodes, and mechmat::storeipvol().

Referenced by ipvolume().

void load_matrix ( long  eid,
matrix lm 
)

function computes load matrix of the plane stress triangular finite element with linear approximation functions load vector is obtained after premultiplying load matrix by nodal load values

Parameters:
eid - number of element
lm - load matrix

25.7.2001

Definition at line 555 of file plelemrotlt.cpp.

References matrix::a, approx(), b_coeff(), bf_matrix(), c_coeff(), fillm(), gauss_points_tr(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), mechcrsec::give_thickness(), intordmm, matrix::m, Mc, Mt, matrix::n, napfun, ndofe, nne, nnj(), and nodes.

Referenced by loadmat().

void local_values ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes local values which will be used for averageing in nonlocal models at integration points. Mp->nonlocphase have to be 1.

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices

TKo, 7.2008

Definition at line 1831 of file plelemrotlt.cpp.

References vector::a, allocv(), appval(), mechmat::computenlstresses(), destrv(), elem_strains(), mechtop::elements, gauss_points_tr(), intordsm, element::ipp, Mm, Mp, Mt, nb, nne, nodes, mechmat::storestrain(), probdesc::strcomp, and tncomp.

Referenced by elem_local_values().

void mainip_strains ( long  lcid,
long  eid,
long  ri,
long  ci,
vector x,
vector y,
vector r 
)

function computes strains in integration points of element

Parameters:
lcid - load case id
eid - element id
ri - row index
ci - column index

10.5.2002

Definition at line 920 of file plelemrotlt.cpp.

References vector::a, allocm(), allocv(), cncomp, destrm(), destrv(), mechtop::elements, gauss_points_tr(), geom_matrix_block(), intordsm, element::ipp, Mm, Mt, mxv(), nb, ncomp, ndofe, and mechmat::storestrain().

Referenced by res_mainip_strains().

void mainip_stresses ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes stresses in integration points of element

Parameters:
eid - element id
ri - row index
ci - column index

10.5.2002

Definition at line 1247 of file plelemrotlt.cpp.

References vector::a, addv(), allocm(), allocv(), appstrain(), cncomp, destrm(), destrv(), dmatblock(), mechtop::elements, fillv(), gauss_points_tr(), mechmat::givestrain(), intordsm, element::ipp, mechmat::matstiff(), Mm, Mp, Mt, mxv(), nb, ncomp, mechmat::storestress(), probdesc::strainaver, and tncomp.

void mass_matrix ( long  eid,
matrix mm,
vector x,
vector y 
)

function computes mass matrix of the plane stress triangular finite element with rotationale degrees of freedom wtih linear approximation functions

Parameters:
eid - number of element
mm - mass matrix
x,y - vectors of node coordinates

8.12.2001

Definition at line 495 of file plelemrotlt.cpp.

References matrix::a, vector::a, approx(), b_coeff(), bf_matrix(), c_coeff(), fillm(), gauss_points_tr(), mechcrsec::give_density(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), mechcrsec::give_thickness(), intordmm, matrix::m, Mc, Mt, matrix::n, napfun, ndofe, nne, nnj(), and nodes.

Referenced by res_mass_matrix().

void nod_others ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes other values in nodes of element

Parameters:
lcid - load case id
eid - element id

10.5.2002

Definition at line 1561 of file plelemrotlt.cpp.

References vector::a, allocv(), destrv(), mechtop::elements, intpoints::eqother, gauss_points_tr(), mechtop::give_elemnodes(), intordsm, mechmat::ip, element::ipp, matassem_lsm(), Mm, Mp, Mt, nb, ncomp, intpoints::ncompother, nne, nodecoord(), nodes, nullv(), other, mechtop::other_nodal_values(), rhsassem_lsm(), solve_lsm(), and probdesc::zero.

void nod_strains ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes strains in nodes of element

Parameters:
lcid - load case id
eid - element id

10.5.2002

Definition at line 960 of file plelemrotlt.cpp.

References vector::a, allocv(), cncomp, destrv(), mechtop::elements, gauss_points_tr(), mechtop::give_elemnodes(), mechmat::givestrain(), intordsm, element::ipp, matassem_lsm(), Mm, Mp, Mt, nb, ncomp, nne, nodecoord(), nodes, nullv(), rhsassem_lsm(), solve_lsm(), mechtop::strain_nodal_values(), and probdesc::zero.

void nod_strains_ip ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes strains in nodes of element

Parameters:
lcid - load case id
eid - element id
ri,ci - row and column indices

10.5.2002

Definition at line 690 of file plelemrotlt.cpp.

References mechtop::elements, mechtop::give_elemnodes(), mechmat::givestrain(), gncomp, intordsm, element::ipp, Mm, Mt, nne, nod, mechtop::nodes, nodip_planelt(), and node::storestrain().

Referenced by compute_nodestrains().

void nod_stresses ( long  lcid,
long  eid,
long  ri,
long  ci 
)
void nod_stresses_ip ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes stresses in nodes of element

Parameters:
lcid - load case id
eid - element id
ri,ci - row and column indices

10.5.2002

Definition at line 755 of file plelemrotlt.cpp.

References mechtop::elements, mechtop::give_elemnodes(), mechmat::givestress(), gncomp, intordsm, element::ipp, Mm, Mt, nne, nod, mechtop::nodes, nodip_planelt(), and node::storestress().

Referenced by compute_nodestresses(), and shelltr::nod_stresses_ip().

void nodecoord ( vector xi,
vector eta 
)

function assembles natural coordinates of nodes of element

Parameters:
xi - array containing natural coordinates xi
eta - array containing natrual coordinates eta

10.5.2002

Definition at line 1204 of file plelemrotlt.cpp.

Referenced by elem_strains(), elem_stresses(), nod_others(), nod_strains(), and nod_stresses().

void nonloc_internal_forces ( long  lcid,
long  eid,
long  ri,
long  ci,
vector ifor,
vector x,
vector y 
)

function computes internal forces for nonlocal models

this function is used in plane stress/strain elements (function is called by function res_nonloc_internal_forces) and shell elements

Parameters:
lcid - load case id
eid - element id
ri,ci - row and column indices
ifor - vector of internal forces
x,y - vectors of nodal coordinates

TKo 7.2008

Definition at line 1630 of file plelemrotlt.cpp.

References compute_nonloc_nlstress(), elem_integration(), and nonlocstress.

Referenced by res_nonloc_internal_forces().

void res_eigstrain_forces ( long  lcid,
long  eid,
vector nfor 
)

function computes resulting contributions from eigenstrains to the right hand side

Parameters:
lcid - load case id
eid - element id
nfor - vector of internal forces

TKo, 7.2008

Definition at line 1794 of file plelemrotlt.cpp.

References copyv(), eigstrain_forces(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), glvectortransf(), internal_forces(), mechtop::locsystems(), Mt, ndofe, nne, nodes, and transf_matrix().

Referenced by elem_eigstrain_forces().

void res_incr_internal_forces ( long  lcid,
long  eid,
vector ifor 
)

function computes resulting increment of internal forces

Parameters:
lcid - load case id
eid - element id
ifor - vector of internal forces

TKo, 7.2008

Definition at line 1763 of file plelemrotlt.cpp.

References copyv(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), glvectortransf(), incr_internal_forces(), mechtop::locsystems(), Mt, ndofe, nne, nodes, and transf_matrix().

Referenced by elem_incr_internal_forces().

void res_internal_forces ( long  lcid,
long  eid,
vector ifor 
)

function computes resulting internal forces

Parameters:
lcid - load case id
eid - element id
ifor - vector of internal forces

TKo, 7.2008

Definition at line 1701 of file plelemrotlt.cpp.

References copyv(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), glvectortransf(), internal_forces(), mechtop::locsystems(), Mt, ndofe, nne, nodes, and transf_matrix().

Referenced by elem_internal_forces().

void res_ip_strains ( long  lcid,
long  eid 
)

function computes strains at integration points

Parameters:
lcid - load case id
eid - element id

JK

Definition at line 600 of file plelemrotlt.cpp.

References vector::a, allocm(), allocv(), copyv(), destrm(), destrv(), eldispl(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), ip_strains(), lgvectortransf(), mechtop::locsystems(), Mt, ndofe, nne, nodes, and transf_matrix().

Referenced by compute_ipstrains().

void res_ip_stresses ( long  lcid,
long  eid 
)

function computes stresses at integration points

Parameters:
lcid - load case id
eid - element id

JK

Definition at line 738 of file plelemrotlt.cpp.

References compute_nlstress().

Referenced by compute_ipstresses().

void res_mainip_strains ( long  lcid,
long  eid 
)
void res_mass_matrix ( long  eid,
matrix mm 
)

Definition at line 536 of file plelemrotlt.cpp.

References mechtop::give_node_coord2d(), mass_matrix(), Mt, and nne.

Referenced by massmat().

void res_nonloc_internal_forces ( long  lcid,
long  eid,
vector ifor 
)

function computes resulting internal forces for nonlocal models

Parameters:
lcid - load case id
eid - element id
ifor - vector of internal forces

TKo, 7.2008

Definition at line 1732 of file plelemrotlt.cpp.

References copyv(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), glvectortransf(), mechtop::locsystems(), Mt, ndofe, nne, nodes, nonloc_internal_forces(), and transf_matrix().

Referenced by elem_nonloc_internal_forces().

void res_stiffness_matrix ( long  eid,
matrix sm 
)

function assembles stiffness matrix of element

Parameters:
eid - element id
sm - stiffness matrix

JK

Definition at line 465 of file plelemrotlt.cpp.

References mechtop::give_elemnodes(), mechtop::give_node_coord2d(), glmatrixtransf(), mechtop::locsystems(), Mt, ndofe, nne, nodes, stiffness_matrix(), and transf_matrix().

Referenced by stiffmat().

void stiffness_matrix ( long  eid,
long  ri,
long  ci,
matrix sm,
vector x,
vector y 
)

function computes stiffness matrix of plane stress triangular finite element with rotational degrees of freedom with linear approximation functions

Parameters:
eid - number of element
ri,ci - row and column indices
sm - stiffness matrix
x,y - vectors of node coordinates

8.12.2001

Definition at line 362 of file plelemrotlt.cpp.

References vector::a, addgeommat(), addm(), allocm(), allocv(), approx(), bdbjac(), cmulm(), destrm(), destrv(), dmatblock(), mechtop::elements, fillm(), gauss_points_tr(), geom_matrix_block(), mechtop::give_elemnodes(), mechcrsec::give_thickness(), intordsm, element::ipp, mechmat::matstiff(), Mc, Mm, Mt, mtxm(), nb, ncomp, ndofe, nip, nne, nodes, and tncomp.

Referenced by shelltr::res_stiffness_matrix(), and res_stiffness_matrix().

void strains ( long  lcid,
long  eid,
long  ri,
long  ci 
)
void stresses ( long  lcid,
long  eid,
long  ri,
long  ci 
)
void transf_matrix ( ivector nodes,
matrix tmat 
)

function assembles transformation matrix from local nodal coordinate system to the global coordinate system x_g = T x_l

Parameters:
nodes - array containing node numbers
tmat - transformation matrix

JK, 9.7.2001

Definition at line 329 of file plelemrotlt.cpp.

References node::e1, node::e2, fillm(), matrix::m, Mt, ivector::n, mechtop::nodes, and node::transf.

Referenced by res_eigstrain_forces(), res_incr_internal_forces(), res_internal_forces(), res_ip_strains(), res_mainip_strains(), res_nonloc_internal_forces(), and res_stiffness_matrix().


Member Data Documentation

long* cncomp

array of cumulative numbers of components

Definition at line 97 of file plelemrotlt.h.

Referenced by elem_integration(), elem_strains(), elem_stresses(), mainip_strains(), mainip_stresses(), nod_strains(), nod_stresses(), planeelemrotlt(), and ~planeelemrotlt().

long gncomp

number of components for graphic purposes

Definition at line 91 of file plelemrotlt.h.

Referenced by nod_strains_ip(), nod_stresses_ip(), and planeelemrotlt().

long intordmm

order of integration of mass matrix

Definition at line 109 of file plelemrotlt.h.

Referenced by load_matrix(), mass_matrix(), and planeelemrotlt().

long** intordsm
long napfun

number of approximated functions on the element

Definition at line 99 of file plelemrotlt.h.

Referenced by mechtop::give_napfun(), load_matrix(), mass_matrix(), and planeelemrotlt().

long nb
long* ncomp
long ndofe
long ned

number of edges

Definition at line 101 of file plelemrotlt.h.

Referenced by mechtop::give_ned(), and planeelemrotlt().

long** nip

array of numbers of integration points

Definition at line 107 of file plelemrotlt.h.

Referenced by mechtop::give_nip(), ipvolume(), planeelemrotlt(), shelltr::shelltr(), stiffness_matrix(), and ~planeelemrotlt().

long nne
long nned

number of nodes on one edge

Definition at line 103 of file plelemrotlt.h.

Referenced by mechtop::give_nned(), and planeelemrotlt().

stress/strain state

Definition at line 113 of file plelemrotlt.h.

long tncomp
long tnip

total number of integration points on element

Definition at line 93 of file plelemrotlt.h.

Referenced by mechtop::give_tnip(), and planeelemrotlt().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2