timeswmat Class Reference

#include <timeswmat.h>

List of all members.

Public Member Functions

double give_actual_ft (long ipp, long im, long ido)
double give_actual_nu (long ipp, long im, long ido)
double give_actual_ym (long ipp, long im, long ido)
double give_initial_ym (long ipp, long im, long ido)
long givencompeqother (long ipp, long im)
long givencompother (long ipp, long im)
void initvalues (long lcid, long ipp, long im, long ido)
void matstiff (matrix &d, long ipp, long im, long ido)
void nlstresses (long ipp, long im, long ido)
void read (XFILE *in)
 timeswmat (void)
void updateval (long ipp, long im, long ido)
 ~timeswmat (void)

Public Attributes

gfunctgf
 time functions for material switching
long ncm
 number of combined material models

Detailed Description

This class defines artificial material model which combines several arbitrary material models for time dependent problems These models are switched on and off depending on their time functions.

15.1.2004

Definition at line 18 of file timeswmat.h.


Constructor & Destructor Documentation

timeswmat ( void   ) 

The constructor inializes attributes to zero values.

Created by Tomas Koudelka, 21.11.2006

Definition at line 16 of file timeswmat.cpp.

References gf, and ncm.

~timeswmat ( void   ) 

The destructor is defined only for the formal purposes.

Created by Tomas Koudelka, 21.11.2006

Definition at line 29 of file timeswmat.cpp.

References gf.


Member Function Documentation

double give_actual_ft ( long  ipp,
long  im,
long  ido 
)

The function returns actual value of tensile strength depeneding on the active material model.

Parameters:
ipp - integration point number
im - material index
ido - index of internal variables for given material in the ipp eqother array
Returns:
The function returns actual value tensile strength.

Created by Tomas Koudelka, 21.11.2006

Definition at line 197 of file timeswmat.cpp.

References gf, mechmat::give_actual_ft(), mechmat::givencompeqother(), Mm, Mp, ncm, print_err(), and probdesc::time.

Referenced by mechmat::give_actual_ft().

double give_actual_nu ( long  ipp,
long  im,
long  ido 
)

The function returns actual value of Poissons ratio depeneding on the active material model.

Parameters:
ipp - integration point number
im - material index
ido - index of internal variables for given material in the ipp eqother array
Returns:
The function returns actual value of Poissons ratio.

Created by Tomas Koudelka, 21.11.2006

Definition at line 156 of file timeswmat.cpp.

References gf, mechmat::give_actual_nu(), mechmat::givencompeqother(), Mm, Mp, ncm, print_err(), and probdesc::time.

Referenced by mechmat::give_actual_nu(), and mechmat::give_initial_nu().

double give_actual_ym ( long  ipp,
long  im,
long  ido 
)

The function returns actual value of Young modulus depending on active material model.

Parameters:
ipp - integration point number
im - material index
ido - index of internal variables for given material in the ipp eqother array
Returns:
The function returns actual value of Young modulus.

Created by Tomas Koudelka, 21.11.2006

Definition at line 74 of file timeswmat.cpp.

References gf, mechmat::give_actual_ym(), mechmat::givencompeqother(), Mm, Mp, ncm, print_err(), and probdesc::time.

Referenced by mechmat::give_actual_ym().

double give_initial_ym ( long  ipp,
long  im,
long  ido 
)

The function returns initial value of Young modulus depeneding on the active material model.

Parameters:
ipp - integration point number
im - material index
ido - index of internal variables for given material in the ipp eqother array
Returns:
The function returns initial value of Young modulus.

Created by Tomas Koudelka, 21.11.2006

Definition at line 115 of file timeswmat.cpp.

References gf, mechmat::give_initial_ym(), mechmat::givencompeqother(), Mm, Mp, ncm, print_err(), and probdesc::time.

Referenced by mechmat::give_initial_ym().

long givencompeqother ( long  ipp,
long  im 
)

The function returns total number of components of eqother array.

Parameters:
ipp - integration point number
im - material index
ido - index of internal variables for given material in the ipp eqother array
Returns:
The function returns total number of eqother components.

Created by Tomas Koudelka, 21.11.2006

Definition at line 304 of file timeswmat.cpp.

References mechmat::givencompeqother(), Mm, and ncm.

Referenced by mechmat::givencompeqother().

long givencompother ( long  ipp,
long  im 
)

The function returns actual value of pore pressure depeneding on the active material model.

Parameters:
ipp - integration point number
im - material index
ido - index of internal variables for given material in the ipp eqother array
Returns:
The function returns actual value tensile strength.

Created by Tomas Koudelka, 2.10.2013 The function returns total number of components of other array.

Parameters:
ipp - integration point number
im - material index
ido - index of internal variables for given material in the ipp eqother array
Returns:
The function returns total number of other components.

Created by Tomas Koudelka, 21.11.2006

Definition at line 280 of file timeswmat.cpp.

References mechmat::givencompeqother(), Mm, and ncm.

Referenced by mechmat::givencompother().

void initvalues ( long  lcid,
long  ipp,
long  im,
long  ido 
)

Function initializes eqother array with initial values.

Parameters:
lcid - load case id
ipp - integration point pointer
im - material index
ido - index of internal variables for given material in the ipp other array
Returns:
The function deos not return anything.

Created by Tomas Koudelka, 21.11.2006

Definition at line 447 of file timeswmat.cpp.

References gf, mechmat::givencompeqother(), mechmat::initvalues(), Mm, Mp, ncm, print_err(), and probdesc::time.

Referenced by mechmat::initvalues().

void matstiff ( matrix d,
long  ipp,
long  im,
long  ido 
)

The function computes material stiffnes matrix.

Parameters:
d - allocated matrix structure for material stiffness matrix (output)
ipp - integration point number
im - material index
ido - index of internal variables for given material in the ipp eqother array
Returns:
The function returns material stiffnes matrix in the parameter d

Created by Tomas Koudelka, 21.11.2006

Definition at line 329 of file timeswmat.cpp.

References gf, mechmat::givencompeqother(), mechmat::matstiff(), Mm, Mp, ncm, print_err(), and probdesc::time.

Referenced by mechmat::matstiff().

void nlstresses ( long  ipp,
long  im,
long  ido 
)

The function computes correct stresses in the integration point and stores them into ip stress array.

Parameters:
ipp - integration point pointer
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of internal variables for given material in the ipp eqother array
Returns:
The function deos not return anything.

Created by Tomas Koudelka, 21.11.2006

Definition at line 368 of file timeswmat.cpp.

References mechmat::computenlstresses(), gf, mechmat::givencompeqother(), Mm, Mp, ncm, print_err(), and probdesc::time.

Referenced by mechmat::computenlstresses().

void read ( XFILE in  ) 

The function reads material data from the opened file in.

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

Created by Tomas Koudelka, 21.11.2006

Definition at line 45 of file timeswmat.cpp.

References gf, ncm, print_err(), gfunct::read(), and xfscanf().

void updateval ( long  ipp,
long  im,
long  ido 
)

The function updates values in the other array reached in the previous equlibrium state to values reached in the new actual equilibrium state.

Parameters:
ipp - integration point number in the mechmat ip array.
im - material index
ido - index of internal variables for given material in the ipp other array
Returns:
The function deos not return anything.

Created by Tomas Koudelka, 21.11.2006

Definition at line 407 of file timeswmat.cpp.

References gf, mechmat::givencompeqother(), Mm, Mp, ncm, print_err(), probdesc::time, and mechmat::updateipvalmat().

Referenced by mechmat::updateipvalmat().


Member Data Documentation

time functions for material switching

Definition at line 39 of file timeswmat.h.

Referenced by give_actual_ft(), give_actual_nu(), give_actual_ym(), give_initial_ym(), initvalues(), matstiff(), nlstresses(), read(), timeswmat(), updateval(), and ~timeswmat().

long ncm

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

Generated by  doxygen 1.6.2