#include <timeswmat.h>
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 | |
gfunct * | gf |
time functions for material switching | |
long | ncm |
number of combined material models |
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.
timeswmat | ( | void | ) |
The constructor inializes attributes to zero values.
Created by Tomas Koudelka, 21.11.2006
Definition at line 16 of file timeswmat.cpp.
~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.
double give_actual_ft | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
The function returns actual value of tensile strength depeneding on the active material model.
ipp | - integration point number | |
im | - material index | |
ido | - index of internal variables for given material in the ipp eqother array |
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.
ipp | - integration point number | |
im | - material index | |
ido | - index of internal variables for given material in the ipp eqother array |
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.
ipp | - integration point number | |
im | - material index | |
ido | - index of internal variables for given material in the ipp eqother array |
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.
ipp | - integration point number | |
im | - material index | |
ido | - index of internal variables for given material in the ipp eqother array |
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.
ipp | - integration point number | |
im | - material index | |
ido | - index of internal variables for given material in the ipp eqother array |
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.
ipp | - integration point number | |
im | - material index | |
ido | - index of internal variables for given material in the ipp eqother array |
Created by Tomas Koudelka, 2.10.2013 The function returns total number of components of other array.
ipp | - integration point number | |
im | - material index | |
ido | - index of internal variables for given material in the ipp eqother array |
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.
lcid | - load case id | |
ipp | - integration point pointer | |
im | - material index | |
ido | - index of internal variables for given material in the ipp other array |
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.
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 |
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.
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 |
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.
in | - pointer to the opened XFILE |
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.
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 |
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().
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 |
number of combined material models
Definition at line 37 of file timeswmat.h.
Referenced by give_actual_ft(), give_actual_nu(), give_actual_ym(), give_initial_ym(), givencompeqother(), givencompother(), initvalues(), matstiff(), nlstresses(), read(), timeswmat(), and updateval().