axisymqq Class Reference

#include <axisymqq.h>

List of all members.

Public Member Functions

void allip_strains (long lcid, long eid, long ri, long ci)
void allip_strains (long lcid, long eid, long ri, long ci)
void allip_stresses (long lcid, long eid, long ri, long ci)
void allip_stresses (long lcid, long eid, long ri, long ci)
double approx (double xi, double eta, vector &nodval)
double approx (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 appval (double xi, double eta, long fi, long nc, vector &eps, double **val)
 axisymqq (void)
 axisymqq (void)
void bf_matrix (matrix &n, double xi, double eta)
void bf_matrix (matrix &n, double xi, double eta)
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 eleminit (long eid)
void geom_matrix (matrix &gm, vector &x, vector &y, double xi, double eta, double &jac)
void geom_matrix (matrix &gm, vector &x, vector &y, double xi, double eta, double &jac)
void geom_matrix_block (matrix &gm, long ri, vector &x, vector &y, double xi, double eta, double &jac)
void geom_matrix_block (matrix &gm, long ri, vector &x, vector &y, double xi, double eta, double &jac)
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 inicipval (long eid, long ri, long ci, matrix &nodval, inictype *ictn)
void internal_forces (long lcid, long eid, vector &ifor)
void internal_forces (long lcid, long eid, long ri, long ci, vector &ifor, vector &x, vector &y)
void intpointval (long eid, vector &nodval, vector &ipval)
void intpointval2 (long eid, vector &nodval, vector &ipval)
void ipcoord (long eid, long ipp, long ri, long ci, vector &coord)
void load_matrix (long eid, matrix &lm)
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)
void mainip_strains (long lcid, long eid, long ri, long ci)
void mainip_stresses (long lcid, long eid, long ri, long ci, long ii)
void mainip_stresses (long lcid, long eid, long ri, long ci)
void mass_matrix (long eid, matrix &mm)
void mass_matrix (long eid, matrix &mm)
void nod_eqother_ip (long eid)
void nod_strains (long lcid, long eid, long ri, long ci)
void nod_strains_comp (long lcid, long eid)
void nod_strains_ip (long lcid, long eid)
void nod_strains_old (long lcid, long eid, long ri, long ci)
void nod_stresses (long lcid, long eid, long ri, long ci)
void nod_stresses_comp (long lcid, long eid)
void nod_stresses_ip (long lcid, long eid)
void nod_stresses_old (long lcid, long eid, long ri, long ci)
void nodecoord (vector &xi, vector &eta)
void nodecoord (vector &xi, vector &eta)
void nodeforces (long eid, long *le, double *nv, vector &nf)
void nodeforces (long eid, long *le, double *nv, vector &nf)
void nodipnum (long eid, ivector &ipnum)
void nonloc_internal_forces (long lcid, long eid, long ri, long ci, vector &ifor, vector &x, vector &y)
void res_allip_strains (long lcid, long eid)
void res_allip_strains (long lcid, long eid)
void res_allip_stresses (long lcid, long eid)
void res_allip_stresses (long lcid, long eid)
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_internal_forces (long lcid, long eid, vector &ifor)
void res_mainip_strains (long lcid, long eid)
void res_mainip_strains (long lcid, long eid)
void res_mainip_stresses (long lcid, long eid)
void res_mainip_stresses (long lcid, long eid)
void res_nonloc_internal_forces (long lcid, long eid, vector &ifor)
void res_stiffness_matrix (long eid, matrix &sm)
void res_stiffness_matrix (long eid, matrix &sm)
void res_temp_forces (long lcid, long eid, vector &nfor)
void stiffness_matrix (long eid, long ri, long ci, matrix &sm)
void stiffness_matrix (long eid, long ri, long ci, matrix &sm)
void strains (long lcid, long eid, long ri, long ci)
void strains (long lcid, long eid, long ri, long ci)
void stresses (long lcid, long eid, long ri, long ci)
void stresses (long lcid, long eid, long ri, long ci)
void temp_forces (long lcid, long eid, long ri, long ci, vector &nfor, vector &x, vector &y)
void tempstrains (long lcid, long eid, long ipp, double xi, double eta, vector &eps)
void transf_matrix (ivector &nodes, matrix &tmat)
void transf_matrix (ivector &nodes, matrix &tmat)
 ~axisymqq (void)
 ~axisymqq (void)

Public Attributes

long * cncomp
 cumulative array of numbers of components of blocks
long intordb
 order of integration on edges
long intordmm
 order of integration of mass matrix
long ** intordsm
 array of orders of numerical 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 of blocks
long ndofe
 number of DOFs on the element
long ned
 number of edges
long ** nip
 array of numbers of integration points in sets
long nne
 number of nodes on one element
long nned
 number of nodes on 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 axisymqq defines quadrilateral element for axisymmetric problem with quadratic approximation functions

JK

Definition at line 16 of file axisymqq.h.


Constructor & Destructor Documentation

axisymqq ( void   ) 

Definition at line 14 of file axisymqq.cpp.

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

~axisymqq ( void   ) 

Definition at line 51 of file axisymqq.cpp.

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

axisymqq ( void   ) 
~axisymqq ( void   ) 

Member Function Documentation

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

function computes strains in all integration points

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

10.5.2002

Definition at line 536 of file axisymqq.cpp.

References res_mainip_strains().

Referenced by res_allip_strains().

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

function computes stresses in all integration points

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

10.5.2002

Definition at line 858 of file axisymqq.cpp.

References res_mainip_stresses().

Referenced by res_allip_stresses().

double approx ( double  xi,
double  eta,
vector nodval 
)
double approx ( double  xi,
double  eta,
vector nodval 
)
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:
lcid - load case id
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 739 of file axisymqq_nb3.cpp.

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

Referenced by elem_stresses(), and nod_stresses_old().

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:
lcid - load case id
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 1236 of file axisymqq_nb3.cpp.

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

void appval ( double  xi,
double  eta,
long  fi,
long  nc,
vector eps,
double **  val 
)
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 653 of file axisymqq.cpp.

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

Referenced by elem_stresses().

void bf_matrix ( matrix n,
double  xi,
double  eta 
)
void bf_matrix ( matrix n,
double  xi,
double  eta 
)

function returns matrix of approximation functions

Parameters:
n - matrix of approximation functions
xi,eta - natural coordinates

9.7.2001

Definition at line 95 of file axisymqq.cpp.

References vector::a, bf_quad_4_2d(), fillm(), and nne.

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

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 1335 of file axisymqq.cpp.

References mechtop::elements, mechmat::giveeigstrain(), intordsm, element::ipp, mechmat::matstiff(), Mm, Mt, mxv(), 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

TKo 7.2008

Definition at line 1230 of file axisymqq.cpp.

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

Referenced by elem_nlstresses(), and internal_forces().

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

function computes correct increments of 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 1256 of file axisymqq.cpp.

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

Referenced by 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 1309 of file axisymqq.cpp.

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

Referenced by nonloc_internal_forces().

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

function extracts blocks from stiffness matrix of the material

Parameters:
ri,ci - row and column indices
d - stiffness matrix of material
dd - required block from stiffness matrix of material

10.5.2002

Definition at line 270 of file axisymqq_nb3.cpp.

References fillm().

Referenced by temp_forces().

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:
eid - element id
ri,ci - row and column indices
nfor - array containing nodal forces
x,y - nodal coordinates

7.2008, TKo

Definition at line 1082 of file axisymqq.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 1370 of file axisymqq.cpp.

References vector::a, addv(), allocv(), approx(), cmulv(), destrv(), mechtop::elements, fillv(), gauss_points(), geom_matrix(), mechmat::givequantity(), intordsm, element::ipp, Mm, Mt, mtxv(), ndofe, and tncomp.

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 680 of file axisymqq_nb3.cpp.

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

void elem_stresses ( double **  stra,
double **  stre,
long  lcid,
long  eid,
long  ri,
long  ci 
)
void eleminit ( long  eid  ) 

Definition at line 91 of file axisymqq_nb3.cpp.

References mechtop::elements, intordsm, Mt, and nip.

void geom_matrix ( matrix gm,
vector x,
vector y,
double  xi,
double  eta,
double &  jac 
)
void geom_matrix ( matrix gm,
vector x,
vector y,
double  xi,
double  eta,
double &  jac 
)

function assembles geometric matrix

epsilon_x = du/dx epsilon_y = dv/dy epsilon_fi = u/r epsilon_xy = du/dy + dv/dx

Parameters:
gm - geometric matrix
ri - block index
x,y - arrays of node coordinates
xi,eta - natural coordinates
jac - jacobian

8.12.2001

Definition at line 128 of file axisymqq.cpp.

References vector::a, approx(), bf_quad_4_2d(), derivatives_2d(), dx_bf_quad_4_2d(), dy_bf_quad_4_2d(), fillm(), Mp, nne, and probdesc::zero.

Referenced by elem_integration(), geom_matrix_block(), axiquadc::lower_cap_coup_matrix(), axiquadc::lower_cond_coup_matrix(), mainip_strains(), nod_strains_comp(), stiffness_matrix(), and axiquadc::upper_cap_coup_matrix().

void geom_matrix_block ( matrix gm,
long  ri,
vector x,
vector y,
double  xi,
double  eta,
double &  jac 
)
void geom_matrix_block ( matrix gm,
long  ri,
vector x,
vector y,
double  xi,
double  eta,
double &  jac 
)

function assembles part of geometric matrix

epsilon_x = du/dx epsilon_y = dv/dy epsilon_fi = u/r epsilon_xy = du/dy + dv/dx

Parameters:
gm - geometric matrix
ri - block index
x,y - arrays of node coordinates
xi,eta - natural coordinates
jac - jacobian

8.12.2001

Definition at line 175 of file axisymqq.cpp.

References vector::a, approx(), bf_quad_4_2d(), derivatives_2d(), dx_bf_quad_4_2d(), dy_bf_quad_4_2d(), fillm(), geom_matrix(), Mp, nb, nne, and probdesc::zero.

Referenced by internal_forces(), nod_strains(), temp_forces(), axiquadc::upper_cond_coup_matrix(), and axiquadc::upper_cond_coup_vector().

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 1059 of file axisymqq.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 
)
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 1550 of file axisymqq.cpp.

References vector::a, allocv(), approx(), destrv(), mechtop::elements, intpoints::eqother, gauss_points(), 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.

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

function computes internal forces

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

8.12.2001

Definition at line 1521 of file axisymqq_nb3.cpp.

References vector::a, allocm(), allocv(), approx(), cmulv(), cncomp, mechmat::computenlstresses(), destrm(), destrv(), eldispl(), mechtop::elements, fillv(), gauss_points(), geom_matrix_block(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), mechmat::givestress(), element::ipp, Mm, Mt, mtxv(), ncomp, ndofe, nne, nodes, and tncomp.

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

function computes 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 1011 of file axisymqq.cpp.

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

Referenced by res_internal_forces().

void intpointval ( long  eid,
vector nodval,
vector ipval 
)

function interpolates the nodal values to the integration points on the element

Parameters:
eid - element id

21.6.2004, JK

Definition at line 1668 of file axisymqq.cpp.

References vector::a, allocv(), approx(), destrv(), gauss_points(), intordsm, and nb.

Referenced by elem_intpointval().

void intpointval2 ( long  eid,
vector nodval,
vector ipval 
)

function interpolates the nodal values to the integration points on the element

Parameters:
eid - element id

21.6.2004, JK

Definition at line 1707 of file axisymqq.cpp.

References vector::a, allocv(), axisymlq::approx(), Asymlq, destrv(), gauss_points(), intordsm, nb, and axisymlq::nne.

Referenced by elem_intpointval2().

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

function assembles coordinates of integration points

Parameters:
eid - element id
ipp - integration point pointer
ri - row index
ci - column index
ipcoord - array containing coordinates of integration points

TKo, 7.2008

Definition at line 1502 of file axisymqq.cpp.

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

Referenced by ipcoord().

void load_matrix ( long  eid,
matrix lm 
)
void load_matrix ( long  eid,
matrix lm 
)

function computes load matrix of the axisymmetric quadrilateral finite element with bilinear approximation functions load vector is obtained after premultiplying load matrix by nodal load values

Parameters:
eid - number of element
lm - load matrix

8.12.2001

Definition at line 966 of file axisymqq.cpp.

References matrix::a, vector::a, approx(), bf_matrix(), fillm(), gauss_points(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), intordmm, jac_2d(), matrix::m, 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 1283 of file axisymqq.cpp.

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

Referenced by elem_local_values().

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

function computes strains in main integration points of element

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

10.5.2002

Definition at line 381 of file axisymqq.cpp.

References vector::a, allocm(), allocv(), copyv(), destrm(), destrv(), eldispl(), mechtop::elements, gauss_points(), geom_matrix(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), intordsm, element::ipp, lgvectortransf(), mechtop::locsystems(), Mm, Mt, mxv(), ndofe, nne, nodes, mechmat::storestrain(), tncomp, and transf_matrix().

Referenced by res_mainip_strains().

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

function computes stresses in main integration points of element

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

10.5.2002

Definition at line 931 of file axisymqq_nb3.cpp.

References vector::a, addv(), allocm(), allocv(), cncomp, destrm(), destrv(), mechtop::elements, fillv(), gauss_points(), mechmat::givestrain(), element::ipp, mechmat::matstiff(), Mm, Mt, mxv(), ncomp, mechmat::storestress(), and tncomp.

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

function computes stresses in main integration points of element

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

10.5.2002

Definition at line 694 of file axisymqq.cpp.

References vector::a, allocv(), destrv(), mechtop::elements, gauss_points(), mechmat::givestrain(), intordsm, element::ipp, mechmat::matstiff(), Mm, Mt, mxv(), mechmat::storestress(), and tncomp.

Referenced by res_mainip_stresses().

void mass_matrix ( long  eid,
matrix mm 
)
void mass_matrix ( long  eid,
matrix mm 
)

function computes mass matrix of the rectangular axisymmetric finite element with bilinear approximation functions

Parameters:
eid - number of element
mm - mass matrix

24.6.2001

Definition at line 334 of file axisymqq.cpp.

References matrix::a, approx(), bf_matrix(), fillm(), gauss_points(), mechcrsec::give_density(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), intordmm, jac_2d(), matrix::m, Mc, Mt, matrix::n, napfun, ndofe, nne, nnj(), and nodes.

Referenced by massmat().

void nod_eqother_ip ( long  eid  ) 

function computes eqother components at nodes of element

Parameters:
eid - element id

JK, 10.5.2002

Definition at line 922 of file axisymqq.cpp.

References vector::a, allocv(), destrv(), mechtop::give_elemnodes(), mechmat::giveeqother(), mechmat::givencompeqother(), Mm, Mt, nne, nod, mechtop::nodes, nodipnum(), and node::storeother().

Referenced by compute_nodeothers().

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

JK, 23.9.2004

Definition at line 544 of file axisymqq_nb3.cpp.

References allocm(), allocv(), cncomp, copyv(), destrm(), destrv(), eldispl(), geom_matrix_block(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), mechtop::locsystems(), Mt, mxv(), ncomp, ndofe, nne, nodecoord(), mechtop::nodes, nodes, node::storestrain(), and transf_matrix().

void nod_strains_comp ( long  lcid,
long  eid 
)

function computes strains in nodes of element

Parameters:
lcid - load case id
eid - element id

JK, 23.9.2004

Definition at line 470 of file axisymqq.cpp.

References allocm(), allocv(), copyv(), destrm(), destrv(), eldispl(), geom_matrix(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), lgvectortransf(), mechtop::locsystems(), Mt, mxv(), ndofe, nne, nodecoord(), mechtop::nodes, nodes, node::storestrain(), tncomp, and transf_matrix().

void nod_strains_ip ( long  lcid,
long  eid 
)

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 439 of file axisymqq.cpp.

References mechtop::give_elemnodes(), mechmat::givestrain(), Mm, Mt, nne, nod, mechtop::nodes, nodipnum(), node::storestrain(), and tncomp.

Referenced by compute_nodestrains(), and strains().

void nod_strains_old ( long  lcid,
long  eid,
long  ri,
long  ci 
)
void nod_stresses ( long  lcid,
long  eid,
long  ri,
long  ci 
)
void nod_stresses_comp ( long  lcid,
long  eid 
)

function computes strains in nodes of element

Parameters:
lcid - load case id
eid - element id

JK, 23.9.2004

Definition at line 767 of file axisymqq.cpp.

References allocm(), allocv(), copyv(), destrm(), destrv(), eldispl(), mechtop::elements, mechtop::give_elemnodes(), mechtop::give_node_coord2d(), mechmat::givestress(), element::ipp, lgvectortransf(), mechtop::locsystems(), Mm, Mt, ndofe, nne, nodecoord(), mechtop::nodes, nodes, node::storestress(), tncomp, and transf_matrix().

void nod_stresses_ip ( long  lcid,
long  eid 
)

function computes stresses at nodes of element

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

10.5.2002

Definition at line 736 of file axisymqq.cpp.

References mechtop::give_elemnodes(), mechmat::givestress(), Mm, Mt, nne, nod, mechtop::nodes, nodipnum(), node::storestress(), and tncomp.

Referenced by compute_nodestresses(), and stresses().

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

function computes stresses in nodes

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

10.5.2002

Definition at line 1059 of file axisymqq_nb3.cpp.

References vector::a, addv(), allocm(), allocv(), appstrain(), cncomp, destrm(), destrv(), mechtop::elements, fillv(), gauss_points(), mechtop::give_elemnodes(), mechmat::givestrain(), element::ipp, matassem_lsm(), mechmat::matstiff(), Mm, Mp, Mt, mxv(), ncomp, ndofe, nne, nodecoord(), nodes, nullv(), rhsassem_lsm(), solve_lsm(), probdesc::strainaver, mechtop::stress_nodal_values(), tncomp, and probdesc::zero.

void nodecoord ( vector xi,
vector eta 
)
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 598 of file axisymqq.cpp.

Referenced by elem_strains(), elem_stresses(), nod_strains(), nod_strains_comp(), nod_strains_old(), nod_stresses(), nod_stresses_comp(), and nod_stresses_old().

void nodeforces ( long  eid,
long *  le,
double *  nv,
vector nf 
)
void nodeforces ( long  eid,
long *  le,
double *  nv,
vector nf 
)
void nodipnum ( long  eid,
ivector ipnum 
)

function returns numbers of integration point closest to element nodes

Parameters:
eid - element id
ri,ci - row and column indices
ipnum - array of numbers

JK, 25.9.2004

Definition at line 619 of file axisymqq.cpp.

References mechtop::elements, intordsm, element::ipp, and Mt.

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

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

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 1035 of file axisymqq.cpp.

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

Referenced by res_nonloc_internal_forces().

void res_allip_strains ( long  lcid,
long  eid 
)
void res_allip_strains ( long  lcid,
long  eid 
)

function computes strains in all integration points

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

10.5.2002

Definition at line 523 of file axisymqq.cpp.

References allip_strains().

Referenced by compute_ipstrains().

void res_allip_stresses ( long  lcid,
long  eid 
)
void res_allip_stresses ( long  lcid,
long  eid 
)

function computes stresses in all integration points

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

10.5.2002

Definition at line 844 of file axisymqq.cpp.

References allip_stresses().

Referenced by compute_ipstresses().

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 1199 of file axisymqq.cpp.

References copyv(), eigstrain_forces(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), glvectortransf(), 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 1168 of file axisymqq.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 
)
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 1106 of file axisymqq.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_mainip_strains ( long  lcid,
long  eid 
)
void res_mainip_strains ( long  lcid,
long  eid 
)

Definition at line 366 of file axisymqq.cpp.

References mainip_strains().

Referenced by allip_strains().

void res_mainip_stresses ( long  lcid,
long  eid 
)
void res_mainip_stresses ( long  lcid,
long  eid 
)

function computes stresses at integration points

Parameters:
lcid - load case id
eid - element id

JK

Definition at line 679 of file axisymqq.cpp.

References mainip_stresses().

Referenced by allip_stresses().

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 1137 of file axisymqq.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 
)
void res_stiffness_matrix ( long  eid,
matrix sm 
)

function computes resulting stiffness matrix of element

Parameters:
eid - element id
sm - stiffness matrix

10.5.2002

Definition at line 320 of file axisymqq.cpp.

References stiffness_matrix().

Referenced by stiffmat().

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

Definition at line 1409 of file axisymqq_nb3.cpp.

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

void stiffness_matrix ( long  eid,
long  ri,
long  ci,
matrix sm 
)
void stiffness_matrix ( long  eid,
long  ri,
long  ci,
matrix sm 
)

function computes stiffness matrix of axisymmetric quadrilateral finite element with bilinear approximation functions

Parameters:
eid - element id
ri,ci - row and column indices
sm - stiffness matrix

8.12.2001

Definition at line 260 of file axisymqq.cpp.

References vector::a, allocv(), approx(), bdbjac(), destrv(), mechtop::elements, fillm(), gauss_points(), geom_matrix(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), glmatrixtransf(), intordsm, element::ipp, mechtop::locsystems(), mechmat::matstiff(), Mm, Mt, ndofe, nne, nodes, tncomp, and transf_matrix().

Referenced by res_stiffness_matrix().

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

if (Mp->strainaver==0){ stra = new double* [nne]; for (i=0;i<nne;i++){ stra[i] = new double [tncomp]; } elem_strains (stra,lcid,eid,ri,ci); }

Definition at line 544 of file axisymqq.cpp.

References enodes, intpts, Mm, nod_strains_ip(), nowhere, mechmat::stra, aepoints::tape, and userdefined.

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

Definition at line 863 of file axisymqq.cpp.

References enodes, intpts, Mm, nod_stresses_ip(), nowhere, mechmat::stre, aepoints::tape, and userdefined.

Referenced by computestresses().

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

function computes nodal forces caused by temperature changes

Parameters:
eid - element id
ri,ci - row and column indices
nfor - array containing nodal forces
x,y - nodal coordinates

22.11.2002, JK

Definition at line 1426 of file axisymqq_nb3.cpp.

References vector::a, allocm(), allocv(), cmulv(), cncomp, destrm(), destrv(), dmatblock(), mechtop::elements, extract(), fillv(), gauss_points(), geom_matrix_block(), element::ipp, mechmat::matstiff(), Mm, Mt, mtxv(), mxv(), ncomp, ndofe, tempstrains(), and tncomp.

Referenced by res_temp_forces().

void tempstrains ( long  lcid,
long  eid,
long  ipp,
double  xi,
double  eta,
vector eps 
)

function computes strains caused by temperature changes

Parameters:
lcid - load case id
eid - element id
ipp - integration point pointer
xi,eta - natural coordinates
eps - array containing strains

22.12.2002, JK

Definition at line 1486 of file axisymqq_nb3.cpp.

References approx(), fillv(), mechtop::give_elemnodes(), mechbclc::lc, mechmat::matdilat(), Mb, Mm, Mt, mxv(), nne, nodes, mechmat::storeeigstrain(), and tncomp.

Referenced by temp_forces().

void transf_matrix ( ivector nodes,
matrix tmat 
)
void transf_matrix ( ivector nodes,
matrix tmat 
)

Member Data Documentation

long * cncomp

cumulative array of numbers of components of blocks

Definition at line 108 of file axisymqq.h.

Referenced by axisymqq(), elem_strains(), elem_stresses(), internal_forces(), mainip_stresses(), nod_strains(), nod_strains_old(), nod_stresses_old(), temp_forces(), and ~axisymqq().

long intordb

order of integration on edges

Definition at line 100 of file axisymqq.h.

Referenced by axisymqq(), and nodeforces().

long intordmm

order of integration of mass matrix

Definition at line 98 of file axisymqq.h.

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

long ** intordsm
long napfun

number of approximated functions on the element

Definition at line 90 of file axisymqq.h.

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

long nb
long * ncomp
long ndofe
long ned

number of edges

Definition at line 92 of file axisymqq.h.

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

long ** nip

array of numbers of integration points in sets

Definition at line 102 of file axisymqq.h.

Referenced by axisymqq(), eleminit(), mechtop::give_nip(), and ~axisymqq().

long nne
long nned

number of nodes on edge

Definition at line 94 of file axisymqq.h.

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

stress/strain state

Definition at line 110 of file axisymqq.h.

Referenced by axisymqq(), and mechtop::give_ssst().

long tncomp
long tnip

total number of integration points on element

Definition at line 88 of file axisymqq.h.

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


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

Generated by  doxygen 1.6.2