#include <scaldam.h>
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 |
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.
scaldam | ( | void | ) |
~scaldam | ( | void | ) |
The destructor is defined only for the formal purposes.
Created by Tomas Koudelka,
Definition at line 33 of file scaldam.cpp.
The function changes material parameters for stochastic analysis.
atm | - selected material parameters (parameters which are changed) | |
val | - array containing new values of parameters |
Created by Tomas Koudelka,
Definition at line 652 of file scaldam.cpp.
References atsel::atrib, ft, atsel::num, print_err(), and uf.
The function computes parameters for the damage function Different types of the parameter computing are given by the attribute ft.
ipp | - integration point number | |
eps | - vector of the strains | |
kappa | - vector where the computed parameters are stored (output) |
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().
The function computes damage parameter omega which is the result of the damage function.
ipp | - integration point number | |
kappa | - vector of the parameters of damage function | |
omegao | - vector of attained damage parameters |
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.
d | - allocated matrix structure for material stiffness matrix | |
ipp | - integration point number |
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.
ipp | - integration point number in the mechmat ip array. |
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.
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,
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
ipp | - integration point number in the mechmat ip array. | |
ido | - index of internal variables for given material in the ipp other array |
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
ipp | - integration point number in the mechmat ip array. | |
ido | - index of internal variables for given material in the ipp other array |
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.
ipp | - integration point number in the mechmat ip array. | |
ido | - index of internal variables for given material in the ipp other array |
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.
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 |
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.
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 |
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.
out | - pointer to the opened input text file |
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.
in | - pointer to the opened input text file |
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.
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 |
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().
double c |
long cftt |
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().
type of function for evaluation damage funtion parameter
Definition at line 51 of file scaldam.h.
Referenced by damfuncpar(), print(), and read().
double k |
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().