#include <springel.h>
Public Member Functions | |
long | give_ndofe (long eid) |
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) |
void | intpointval (long eid, vector &nodval, vector &ipval) |
void | mass_matrix (long eid, matrix &mm) |
void | res_internal_forces (long lcid, long eid, vector &ifor) |
void | res_stiffness_matrix (long eid, matrix &sm) |
springel (void) | |
void | stiffness_matrix (long eid, long ri, long ci, matrix &sm) |
void | strains (long eid, long lcid) |
void | stresses (long eid, long lcid) |
~springel (void) | |
Public Attributes | |
long * | cncomp |
array containing cumulative numbers of components of stress and strain tensors | |
long | intordmm |
order of integration of mass matrix | |
long ** | intordsm |
order of integration of stiffness 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 blocks | |
long | nne |
number of nodes on one element | |
strastrestate | ssst |
stress/strain state | |
long | tncomp |
total number of components of the strain and stress tensors | |
long | tnip |
total number of integration points on element |
CLASS SPRINGEL This class defines special type of onedimensional element which is used as spring support in the different directions. The direction of the support is given by the element type and can be one of these :
created by Tomas Koudelka, koudelka@cml.fsv.cvut.cz,18.9.2002
Definition at line 20 of file springel.h.
springel | ( | void | ) |
~springel | ( | void | ) |
long give_ndofe | ( | long | eid | ) |
The function returns correct number of dofs on the spring for given element eid and also setups ndofe attribute to this value.
eid | - element id |
Created by Tomas Koudelka, 12.8.2001
This function returns correct number of dofs on the spring for given element eid and also setups ndofe attribute to this value.
Definition at line 82 of file springel.cpp.
References enodes, gtopology::gelements, mechtop::give_elemnodes(), gtopology::give_ndofe(), mechtop::give_ndofn(), gtopology::give_nne(), Gtm, Mt, and gelement::ndofe.
Referenced by mechtop::give_ndofe().
Definition at line 33 of file springel.h.
References matrix::n.
Referenced by mechbclc::inicipval().
void internal_forces | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
vector & | ifor | |||
) |
The function computes internal forces of given block.
lcid | - load case id | |
eid | - element id | |
ri | - block row id | |
ci | - block column id | |
ifor | - vector of internal forces |
Created by Tomas Koudelka, 12.8.2001
This function computes internal forces of given block.
lcid | - load case id | |
eid | - element id | |
ri | - block row id | |
ci | - block column id | |
ifor | - vector of internal forces |
12.8.2001
Definition at line 265 of file springel.cpp.
References mechmat::computenlstresses(), mechtop::elements, fillv(), mechmat::givestress(), element::ipp, Mm, Mp, Mt, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, probdesc::strcomp, and element::te.
Referenced by res_internal_forces().
Function interpolates the nodal values to the integration points on the element.
eid | - element id | |
nodval | - array of nodal values | |
ipval | - array of values at integration points |
Created by Tomas Koudelka, 12.8.2001
Definition at line 354 of file springel.cpp.
References copyv().
Referenced by elem_intpointval(), and elem_intpointval2().
void mass_matrix | ( | long | eid, | |
matrix & | mm | |||
) |
The function computes mass matrix of given element.
eid | - element id. | |
mm | - mass matrix where the results are stored (output) |
Created by Tomas Koudelka, 12.8.2001
This function computes mass matrix of given element.
eid | - element id. | |
mm | - mass matrix where the results are stored |
Definition at line 168 of file springel.cpp.
References fillm().
void res_internal_forces | ( | long | lcid, | |
long | eid, | |||
vector & | ifor | |||
) |
The function computes resulting internal forces.
lcid | - load case id | |
eid | - element id | |
ifor | - vector of internal forces (output) |
Created by Tomas Koudelka, 12.8.2001
This function computes resulting internal forces.
lcid | - load case id | |
eid | - element id | |
ifor | - vector of internal forces |
12.8.2001
Definition at line 336 of file springel.cpp.
References internal_forces().
Referenced by elem_internal_forces(), elem_nonloc_internal_forces(), and femplast_epressure().
void res_stiffness_matrix | ( | long | eid, | |
matrix & | sm | |||
) |
The function computes resulting stiffness matrix
eid | - element id. | |
sm | - stiffness matrix where the results are stored (output) |
Created by Tomas Koudelka, 12.8.2001
This function computes resulting stiffness matrix
eid | - element id. | |
sm | - stiffness matrix where the results are stored. |
Definition at line 151 of file springel.cpp.
References stiffness_matrix().
Referenced by arclengthrv(), and stiffmat().
void stiffness_matrix | ( | long | eid, | |
long | ri, | |||
long | ci, | |||
matrix & | sm | |||
) |
The function computes stiffness matrix of given block. The type of element determines direction of the spring support and thus the stiffness contribution is stored to the appropriate position of the matrix sm.
eid | - element id. | |
ri | - block row id | |
ci | - block column id | |
sm | - stiffness matrix where the results are stored (output) |
Created by Tomas Koudelka, 12.8.2001
This function computes stiffness matrix of given block. The type of element determines direction of the spring support and thus the stiffness contribution is stored to the appropriate position of the matrix sm.
eid | - element id. | |
ri | - block row id | |
ci | - block column id | |
sm | - stiffness matrix where the results are stored. |
Definition at line 111 of file springel.cpp.
References mechtop::elements, element::ipp, mechmat::matstiff(), Mm, Mt, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, and element::te.
Referenced by res_stiffness_matrix().
void strains | ( | long | eid, | |
long | lcid | |||
) |
The function computes strains on the required spring element for the given load case.
eid | - element id | |
lcid | - load case id |
Created by Tomas Koudelka, 12.8.2001
This function computes strains. Not yet implemented. 11.8.2001
Definition at line 186 of file springel.cpp.
References vector::a, eldispl(), mechtop::elements, mechtop::give_ndofe(), element::ipp, Mm, Mt, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, mechmat::storestrain(), and element::te.
Referenced by compute_ipstrains().
void stresses | ( | long | eid, | |
long | lcid | |||
) |
The function computes stresses.
eid | - element id | |
lcid | - load case id |
Created by Tomas Koudelka, 12.8.2001
This function computes stresses. Not yet implemented.
11.8.2001
Definition at line 233 of file springel.cpp.
References mechtop::elements, mechtop::give_ndofe(), mechmat::givestrain(), element::ipp, mechmat::matstiff(), Mm, Mt, mxv(), and mechmat::storestress().
Referenced by compute_ipstresses(), and computestresses().
long* cncomp |
array containing cumulative numbers of components of stress and strain tensors
Definition at line 47 of file springel.h.
Referenced by springel(), and ~springel().
long intordmm |
order of integration of mass matrix
Definition at line 53 of file springel.h.
long** intordsm |
order of integration of stiffness matrix
Definition at line 51 of file springel.h.
Referenced by mechtop::give_intordsm(), springel(), and ~springel().
long napfun |
number of approximated functions on the element
Definition at line 49 of file springel.h.
Referenced by mechtop::give_napfun(), and springel().
long nb |
number of blocks
Definition at line 57 of file springel.h.
Referenced by mechtop::give_nb(), mechtop::give_nb_te(), springel(), and ~springel().
long* ncomp |
array containing numbers of components of stress and strain tensors
Definition at line 45 of file springel.h.
Referenced by springel(), and ~springel().
long ndofe |
long** nip |
array of numbers of integration points in blocks
Definition at line 55 of file springel.h.
Referenced by mechtop::give_nip(), springel(), and ~springel().
long nne |
number of nodes on one element
Definition at line 39 of file springel.h.
Referenced by mechtop::give_nne(), and springel().
stress/strain state
Definition at line 59 of file springel.h.
Referenced by mechtop::give_ssst(), and springel().
long tncomp |
total number of components of the strain and stress tensors
Definition at line 41 of file springel.h.
Referenced by mechtop::give_ncomp(), mechtop::give_tncomp(), and springel().
long tnip |
total number of integration points on element
Definition at line 43 of file springel.h.
Referenced by mechtop::give_tnip(), and springel().