#include <scaldamcc.h>
Public Member Functions | |
void | damfuncpar (long ipp, vector &eps, vector &kappa) |
double | damfunction (long ipp, vector &kappa, vector &eps) |
void | elmatstiff (matrix &d, long ipp) |
double | epsefunction () |
void | matstiff (matrix &d, long ipp, long ido) |
void | nlstresses (long ipp, long im, long ido) |
void | read (XFILE *in) |
scaldamcc (void) | |
void | updateval (long ipp, long im, long ido) |
~scaldamcc (void) | |
Public Attributes | |
double | ac |
double | at |
double | bc |
strength at compression | |
double | beta |
double | bt |
tensile strength | |
paramf_type | ft |
function type for evaluation damage funtion parameter | |
double | k |
double | k0 |
This class defines scalar damage with crack closure material model. The different type of norms for the computing parameters of the damage function can be used.
Definition at line 10 of file scaldamcc.h.
scaldamcc | ( | void | ) |
~scaldamcc | ( | void | ) |
This destructor is only for the formal purposes.
Definition at line 29 of file scaldamcc.cpp.
This 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 |
Definition at line 82 of file scaldamcc.cpp.
References allocm(), allocv(), deviator(), elastisomat::e, mechmat::eliso, elisomat, extractposv(), fillv(), first_invar(), ft, intpoints::gemid(), mechmat::ip, k, limit, Mm, Mp, intpoints::ncompstr, nijac, normazar, elastisomat::nu, princ_val(), scprd(), second_invar(), intpoints::ssst, strain, intpoints::tm, vector_tensor(), vonmises, and probdesc::zero.
Referenced by mechmat::damfuncpar().
This 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 | |
eps | - strain vector |
Definition at line 143 of file scaldamcc.cpp.
References ac, allocm(), allocv(), at, bc, beta, bt, mechmat::elmatstiff(), extractm(), extractnegv(), extractposv(), invm(), mechmat::ip, k0, limit, Mm, Mp, mxv(), intpoints::ncompstr, nijac, princ_val(), scprd(), intpoints::ssst, strain, stress, subv(), vector_tensor(), and probdesc::zero.
Referenced by mechmat::damfunction().
void elmatstiff | ( | matrix & | d, | |
long | ipp | |||
) |
This function computes elastic material stiffnes matrix from actual Young modulus.
d | - allocated matrix structure for material stiffness matrix | |
ipp | - integration point number |
TKo
Definition at line 56 of file scaldamcc.cpp.
References cmulm(), mechmat::elmatstiff(), intpoints::gemid(), mechmat::give_actual_ym(), mechmat::givencompeqother(), mechmat::ip, and Mm.
Referenced by nlstresses().
double epsefunction | ( | ) |
This function returns the value of the limit elastic strain .
Definition at line 292 of file scaldamcc.cpp.
References k0.
Referenced by mechmat::epsefunction().
void matstiff | ( | matrix & | d, | |
long | ipp, | |||
long | ido | |||
) |
This function computes material stiffnes matrix.
d | - allocated matrix structure for material stiffness matrix | |
ipp | - integration point number | |
ido | - index of internal variables for given material in the ipp other array |
Definition at line 222 of file scaldamcc.cpp.
References cmulm(), mechmat::elmatstiff(), initial_stiff, mechmat::ip, Mm, Mp, probdesc::nlman, intpoints::other, nonlinman::stmat, and tangent_stiff.
Referenced by mechmat::matstiff().
void nlstresses | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
This 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 7.10.2001 |
Definition at line 252 of file scaldamcc.cpp.
References elmatstiff(), mechmat::ip, Mm, intpoints::ncompstr, intpoints::other, mechmat::scal_dam_sol(), intpoints::strain, and intpoints::stress.
Referenced by mechmat::compnonloc_nlstresses(), and mechmat::computenlstresses().
void read | ( | XFILE * | in | ) |
This function reads material parameters from the opened text file given by the parameter in.
in | - pointer to the opned text file |
Definition at line 41 of file scaldamcc.cpp.
References ac, at, bc, beta, bt, ft, k, k0, paramf_type_kwdset(), vonmises, and xfscanf().
Referenced by mechmat::readmattype().
void updateval | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
Definition at line 278 of file scaldamcc.cpp.
References intpoints::eqother, mechmat::givencompeqother(), mechmat::ip, Mm, and intpoints::other.
Referenced by mechmat::updateipvalmat().
double ac |
Definition at line 39 of file scaldamcc.h.
Referenced by damfunction(), read(), and scaldamcc().
double at |
Definition at line 35 of file scaldamcc.h.
Referenced by damfunction(), read(), and scaldamcc().
double bc |
strength at compression
Definition at line 41 of file scaldamcc.h.
Referenced by damfunction(), read(), and scaldamcc().
double beta |
Definition at line 43 of file scaldamcc.h.
Referenced by damfunction(), read(), and scaldamcc().
double bt |
tensile strength
Definition at line 37 of file scaldamcc.h.
Referenced by damfunction(), read(), and scaldamcc().
function type for evaluation damage funtion parameter
Definition at line 47 of file scaldamcc.h.
Referenced by damfuncpar(), and read().
double k |
Definition at line 45 of file scaldamcc.h.
Referenced by damfuncpar(), read(), and scaldamcc().
double k0 |
Definition at line 33 of file scaldamcc.h.
Referenced by damfunction(), epsefunction(), read(), and scaldamcc().