scaldam Class Reference

#include <scaldam.h>

List of all members.

Public Member Functions

void changeparam (atsel &atm, vector &val)
void damfuncpar (long ipp, vector &eps, vector &kappa)
double damfunction (long ipp, vector &kappa, vector &omegao)
void elmatstiff (matrix &d, long ipp)
double epsefunction (long ipp)
double give_actual_ft (long ipp, long im, long ido)
double give_crackwidth (long ipp, long ido)
double give_proczonelength (long ipp, long ido)
double givedamage (long ipp, long ido)
void matstiff (matrix &d, long ipp, long ido)
void nlstresses (long ipp, long im, long ido)
void print (FILE *out)
void read (XFILE *in)
 scaldam (void)
void updateval (long ipp, long im, long ido)
 ~scaldam (void)

Public Attributes

double c
 parameter for energy norm
corr_disip_en cde
 correction of disipated energy switch
long cftt
 switch for effects of temperature on tensile strength
double ft
 tensile strength for room temperature
gfunct ft_temp
 function describing dependency of tensile strength on temperature
paramf_type ftype
 type of function for evaluation damage funtion parameter
double k
 parameter for von Mises norm - ratio of compression and tensile strength
strretalg sra
 stress return algorithm
double uf
 determines the softening -> corresponds to crack opening (not strain) when tension stress vanishes

Detailed Description

This class defines scalar isotropic damage material model. The different type of norms for the computing parameters of the damage function can be used. The order of internal variables is following : 0 - actual value of equivalent strain 1 - actual value of damage parameter 2 - actual value of crack opening

Definition at line 21 of file scaldam.h.


Constructor & Destructor Documentation

scaldam ( void   ) 

The constructor inializes attributes to zero values.

Created by Tomas Koudelka,

Definition at line 21 of file scaldam.cpp.

References c, cde, corr_on, ft, k, and uf.

~scaldam ( void   ) 

The destructor is defined only for the formal purposes.

Created by Tomas Koudelka,

Definition at line 33 of file scaldam.cpp.


Member Function Documentation

void changeparam ( atsel atm,
vector val 
)

The function changes material parameters for stochastic analysis.

Parameters:
atm - selected material parameters (parameters which are changed)
val - array containing new values of parameters
Returns:
The function does not return anything.

Created by Tomas Koudelka,

Definition at line 652 of file scaldam.cpp.

References atsel::atrib, ft, atsel::num, print_err(), and uf.

void damfuncpar ( long  ipp,
vector eps,
vector kappa 
)

The function computes parameters for the damage function Different types of the parameter computing are given by the attribute ft.

Parameters:
ipp - integration point number
eps - vector of the strains
kappa - vector where the computed parameters are stored (output)
Returns:
The function returns actual vetcor of parameters of damage function in the parameter kappa.

Created by Tomas Koudelka,

Definition at line 108 of file scaldam.cpp.

References allocm(), allocv(), c, deviator(), elmatstiff(), extractposv(), fillv(), first_invar(), ftype, mechmat::give_actual_nu(), mechmat::give_actual_ym(), mechmat::ip, k, limit, Mm, Mp, mxv(), vector::n, intpoints::ncompstr, nijac, norenergy, normazar, norposenergy, norposstrain, norrankine, norrankinesmooth, norstrain, princ_val(), print_err(), scprd(), second_invar(), intpoints::ssst, strain, stress, vector_tensor(), vonmises, vxm(), and probdesc::zero.

Referenced by mechmat::damfuncpar().

double damfunction ( long  ipp,
vector kappa,
vector omegao 
)

The function computes damage parameter omega which is the result of the damage function.

Parameters:
ipp - integration point number
kappa - vector of the parameters of damage function
omegao - vector of attained damage parameters
Returns:
Function returns value of the damage parameter omega.

Created by Tomas Koudelka,

Definition at line 258 of file scaldam.cpp.

References cde, corr_off, mechmat::elip, ft, mechmat::give_actual_ft(), mechmat::give_actual_ym(), mechtop::give_area(), mechtop::give_dimension(), strretalg::give_err(), mechtop::give_length(), strretalg::give_ni(), mechtop::give_volume(), h(), intpoints::hmt, mechmat::ip, Mm, Mt, print_err(), sra, and uf.

Referenced by mechmat::damfunction().

void elmatstiff ( matrix d,
long  ipp 
)

The function computes elastic material stiffnes matrix from actual Young modulus.

Parameters:
d - allocated matrix structure for material stiffness matrix
ipp - integration point number
Returns:
The function returns computed elastic stiffness matrix in the parameter d.

Created by Tomas Koudelka,

Definition at line 385 of file scaldam.cpp.

References cmulm(), mechmat::elmatstiff(), intpoints::gemid(), mechmat::give_actual_ym(), mechmat::givencompeqother(), mechmat::ip, and Mm.

Referenced by damfuncpar(), matstiff(), and nlstresses().

double epsefunction ( long  ipp  ) 

This function returns the value of the limit elastic strain which is dependent on actual value of Young modulus and actual value of tensile strength.

Parameters:
ipp - integration point number in the mechmat ip array.
Returns:
Function returns actual value of limit elastic strain

Created by Tomas Koudelka,

Definition at line 566 of file scaldam.cpp.

References ft, mechmat::give_actual_ft(), mechmat::give_actual_ym(), and Mm.

Referenced by mechmat::epsefunction().

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

The function returns the actual value of tensile strength.

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 returns actual value of tensile strength.

Created by Tomas Koudelka,

Definition at line 542 of file scaldam.cpp.

References ft.

Referenced by mechmat::give_actual_ft().

double give_crackwidth ( long  ipp,
long  ido 
)

This function returns the crack width

Parameters:
ipp - integration point number in the mechmat ip array.
ido - index of internal variables for given material in the ipp other array
Returns:
Function returns the crack width

Created by Tomas Koudelka,

Definition at line 637 of file scaldam.cpp.

References intpoints::eqother, mechmat::ip, and Mm.

Referenced by mechmat::give_crackwidth().

double give_proczonelength ( long  ipp,
long  ido 
)

This function returns the length of process zone

Parameters:
ipp - integration point number in the mechmat ip array.
ido - index of internal variables for given material in the ipp other array
Returns:
Function returns the length of process zone

Created by Tomas Koudelka,

Definition at line 601 of file scaldam.cpp.

References mechmat::elip, mechtop::give_area(), mechtop::give_dimension(), mechtop::give_length(), mechtop::give_volume(), h(), Mm, Mt, and print_err().

Referenced by mechmat::give_proczonelength().

double givedamage ( long  ipp,
long  ido 
)

This function returns the value of damage parameter obtained from the last converged state.

Parameters:
ipp - integration point number in the mechmat ip array.
ido - index of internal variables for given material in the ipp other array
Returns:
Function returns the value of damage parameter omega.

Created by Tomas Koudelka,

Definition at line 586 of file scaldam.cpp.

References intpoints::eqother, mechmat::ip, and Mm.

Referenced by mechmat::give_dampar().

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

The function computes material stiffnes matrix.

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

Created by Tomas Koudelka,

Definition at line 414 of file scaldam.cpp.

References cmulm(), elmatstiff(), intpoints::eqother, ijth_tangent_stiff, incr_tangent_stiff, initial_stiff, mechmat::ip, Mm, Mp, probdesc::nlman, print_err(), secant_stiff, nonlinman::stmat, and tangent_stiff.

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 material type for given ip
ido - index of internal variables for given material in the ipp other array
Returns:
The function does not return anything.

Created by Tomas Koudelka, 7.10.2001

Definition at line 452 of file scaldam.cpp.

References mechmat::elip, elmatstiff(), intpoints::eqother, mechmat::give_actual_nu(), mechmat::give_actual_ym(), mechtop::give_area(), mechtop::give_dimension(), mechtop::give_length(), mechtop::give_volume(), h(), mechmat::ip, Mm, Mt, intpoints::ncompstr, intpoints::other, planestress, print_err(), mechmat::scal_dam_sol(), intpoints::ssst, intpoints::strain, and intpoints::stress.

Referenced by mechmat::compnonloc_nlstresses(), and mechmat::computenlstresses().

void print ( FILE *  out  ) 

The function prints material parameters into the opened text file given by the parameter out.

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

Created by TKr, 02/01/2013

Definition at line 80 of file scaldam.cpp.

References c, cde, corr_off, ft, ftype, k, norenergy, norposenergy, strretalg::print(), sra, uf, and vonmises.

Referenced by mechmat::printmatchar().

void read ( XFILE in  ) 

The function reads material parameters from the opened text file given by the parameter in.

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

Created by Tomas Koudelka,

Definition at line 50 of file scaldam.cpp.

References c, cde, corr_disip_en_kwdset(), corr_off, ft, ftype, k, norenergy, norposenergy, paramf_type_kwdset(), strretalg::read(), sra, uf, vonmises, and xfscanf().

Referenced by mechmat::readmattype().

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 - index of material type for given ip
ido - index of internal variables for given material in the ipp other array
Returns:
The function does not return anything.

Created by Tomas Koudelka,

Definition at line 519 of file scaldam.cpp.

References intpoints::eqother, mechmat::givencompeqother(), mechmat::ip, Mm, and intpoints::other.

Referenced by mechmat::updateipvalmat().


Member Data Documentation

double c

parameter for energy norm

Definition at line 47 of file scaldam.h.

Referenced by damfuncpar(), print(), read(), and scaldam().

correction of disipated energy switch

Definition at line 53 of file scaldam.h.

Referenced by damfunction(), print(), read(), and scaldam().

long cftt

switch for effects of temperature on tensile strength

Definition at line 57 of file scaldam.h.

double ft

tensile strength for room temperature

Definition at line 43 of file scaldam.h.

Referenced by changeparam(), damfunction(), epsefunction(), give_actual_ft(), print(), read(), and scaldam().

function describing dependency of tensile strength on temperature

Definition at line 59 of file scaldam.h.

type of function for evaluation damage funtion parameter

Definition at line 51 of file scaldam.h.

Referenced by damfuncpar(), print(), and read().

double k

parameter for von Mises norm - ratio of compression and tensile strength

Definition at line 49 of file scaldam.h.

Referenced by damfuncpar(), print(), read(), and scaldam().

stress return algorithm

Definition at line 55 of file scaldam.h.

Referenced by damfunction(), print(), and read().

double uf

determines the softening -> corresponds to crack opening (not strain) when tension stress vanishes

Definition at line 45 of file scaldam.h.

Referenced by changeparam(), damfunction(), print(), read(), and scaldam().


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

Generated by  doxygen 1.6.2