elastortomat Class Reference

#include <elastortomat.h>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

elastortomat ( void   ) 

Definition at line 9 of file elastortomat.cpp.

References allocm(), de, and t.

~elastortomat ( void   ) 

Definition at line 17 of file elastortomat.cpp.


Member Function Documentation

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.

Parameters:
tmat - evaluated transformation matrix
ipp - integration point id
Returns:
The function returns transformation matrix in the argument tmat

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.

Parameters:
d - resulting stiffness matrix
ssst - stress/strain state indicator
Returns:
The funtion returns resulting matrix in the argument d.

Created by Tomas Koudelka, 19.12.2014

Definition at line 99 of file elastortomat.cpp.

References copym(), and de.

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.

Parameters:
d - resulting stiffness matrix
ipp - integration point id
Returns:
The funtion returns resulting matrix in the argument d.

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.

Parameters:
ipp - integration point id
Returns:
The funtion stores the resulting stresses in the stress array of the given integration point.

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.

Parameters:
out - pointer to the opened FILE
Returns:
The function does not return anything.

Created by Tomas Koudelka, 19.12.2014

Definition at line 51 of file elastortomat.cpp.

References de, printm(), and t.

void read ( XFILE in  ) 

reads material from the opened text file

Function reads material parameters from the opened text file.

Parameters:
in - pointer to the opened XFILE
Returns:
The function does not return anything.

Created by Tomas Koudelka, 19.12.2014

Definition at line 32 of file elastortomat.cpp.

References de, readm(), t, and xfscanf().


Member Data Documentation

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().


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

Generated by  doxygen 1.6.2