#include <elastortomat.h>
Public Member Functions | |
elastortomat (void) | |
void | give_transf_mat (matrix &tmat, long ipp) |
returns transformation matrix from the local material coordinate system to the global one | |
void | loc_matstiff (matrix &d, strastrestate ssst) |
returns the stiffness matrix of the elastic orthotropic material in the local coordinate system | |
void | matstiff (matrix &d, long ipp) |
computes the stiffness matrix of the elastic orthotropic material in the global coordinate system | |
void | nlstresses (long ipp) |
calculates stresses | |
void | print (FILE *out) |
printf material to the opened text file | |
void | read (XFILE *in) |
reads material from the opened text file | |
~elastortomat (void) | |
Public Attributes | |
matrix | de |
stiffness matrix in the local coordinate system of the material | |
gfmatrix | t |
The class defines elastic orthotropic material given by the stiffness matrix de in the local coordinate system of the material. There must be also defined transformation matrix t whose components represent general functions (gfunct). The components of the matrix t must be evaluated with respect to space coordinates of the given integration point.
Created by Tomas Koudelka, 12.2014
Definition at line 21 of file elastortomat.h.
elastortomat | ( | void | ) |
Definition at line 9 of file elastortomat.cpp.
~elastortomat | ( | void | ) |
Definition at line 17 of file elastortomat.cpp.
void give_transf_mat | ( | matrix & | tmat, | |
long | ipp | |||
) |
returns transformation matrix from the local material coordinate system to the global one
The function returns transformation matrix from the local material coordinate system to the global one in the argument. Components of the transformation matrix are evaluated with respect to space coordinates of the given integration point ipp. The argument tmat is supposed to be allocated to dimensions 3x3.
tmat | - evaluated transformation matrix | |
ipp | - integration point id |
Created by Tomas Koudelka, 19.12.2014
Definition at line 120 of file elastortomat.cpp.
References mechmat::elip, gfmatrix::evaluate(), ipcoord(), Mm, p, and t.
Referenced by mechmat::loc_transf_mat().
void loc_matstiff | ( | matrix & | d, | |
strastrestate | ssst | |||
) |
returns the stiffness matrix of the elastic orthotropic material in the local coordinate system
The function assembles the stiffness matrix in the local coordinate system.
d | - resulting stiffness matrix | |
ssst | - stress/strain state indicator |
Created by Tomas Koudelka, 19.12.2014
Definition at line 99 of file elastortomat.cpp.
Referenced by mechmat::loc_elmatstiff().
void matstiff | ( | matrix & | d, | |
long | ipp | |||
) |
computes the stiffness matrix of the elastic orthotropic material in the global coordinate system
The function assembles the stiffness matrix in the global coordinate system.
d | - resulting stiffness matrix | |
ipp | - integration point id |
Created by Tomas Koudelka, 19.12.2014
Definition at line 70 of file elastortomat.cpp.
References de, mechmat::elip, gfmatrix::evaluate(), mechmat::ip, ipcoord(), lg_tens4transf(), Mm, p, intpoints::ssst, t, and tensor4_matrix().
Referenced by nlstresses().
void nlstresses | ( | long | ipp | ) |
calculates stresses
The function computes stresses for the given strains. Resulting stresses are given in the global coordinate system.
ipp | - integration point id |
Created by Tomas Koudelka, 19.12.2014
Definition at line 144 of file elastortomat.cpp.
References mechmat::ip, matstiff(), Mm, mxv(), intpoints::ncompstr, intpoints::strain, and intpoints::stress.
void print | ( | FILE * | out | ) |
printf material to the opened text file
Function prints material parameters into the opened text file.
out | - pointer to the opened FILE |
Created by Tomas Koudelka, 19.12.2014
Definition at line 51 of file elastortomat.cpp.
void read | ( | XFILE * | in | ) |
reads material from the opened text file
Function reads material parameters from the opened text file.
in | - pointer to the opened XFILE |
Created by Tomas Koudelka, 19.12.2014
Definition at line 32 of file elastortomat.cpp.
stiffness matrix in the local coordinate system of the material
Definition at line 41 of file elastortomat.h.
Referenced by elastortomat(), loc_matstiff(), matstiff(), print(), and read().
Transformation matrix whose components are evaluated with respect to coordinates of the given integration point, It must be given in the form x_g = T x_l where x_g and x_l are vectors in the global and local coordinate system.
Definition at line 47 of file elastortomat.h.
Referenced by elastortomat(), give_transf_mat(), matstiff(), print(), and read().