#include <j2flow.h>
Public Member Functions | |
void | changeparam (atsel &atm, vector &val) |
void | deryieldfq (vector &dq) |
void | deryieldfsigma (matrix &sig, matrix &dfds) |
double | give_consparam (long ipp, long ido) |
void | give_interparam (long ipp, long ido, vector &q) |
long | give_num_interparam () |
void | giveirrstrains (long ipp, long ido, vector &epsp) |
j2flow (void) | |
void | matstiff (matrix &d, long ipp, long ido) |
void | nlstresses (long ipp, long im, long ido) |
void | nonloc_nlstresses (long ipp, long im, long ido) |
void | plasmod (matrix &h) |
double | plasmodscalar (vector &qtr) |
void | read (XFILE *in) |
void | tangentstiff (matrix &d, matrix &td, long ipp, long ido) |
void | updateq (double dgamma, vector &q) |
void | updateval (long ipp, long im, long ido) |
double | yieldfunction (matrix &sig, vector &q) |
~j2flow (void) | |
Public Attributes | |
double | fs |
flow stress | |
double | k |
hardening parameter | |
strretalg | sra |
stress return algorithm |
class j2flow defines material model of plasticity based on J2 flow
structure of stored data plastic strains, consistency parameter, hardening parametr
JK
Definition at line 19 of file j2flow.h.
j2flow | ( | void | ) |
Definition at line 11 of file j2flow.cpp.
~j2flow | ( | void | ) |
Definition at line 15 of file j2flow.cpp.
Definition at line 291 of file j2flow.cpp.
References atsel::atrib, fs, k, and atsel::num.
Referenced by stochdriver::changematerials().
void deryieldfq | ( | vector & | dq | ) |
function evaluates derivatives of yield function with respect of internal variable q 27.10.2001
Definition at line 137 of file j2flow.cpp.
Referenced by mechmat::dfdqpar(), mechmat::dgdqpar(), plasmodscalar(), and updateq().
function evaluates derivatives of yield function with respect of stress components 4.8.2001
Definition at line 126 of file j2flow.cpp.
References deviator(), and normedtensor().
Referenced by mechmat::dfdsigma(), mechmat::dgdsigma(), and tangentstiff().
double give_consparam | ( | long | ipp, | |
long | ido | |||
) |
Definition at line 312 of file j2flow.cpp.
References intpoints::eqother, mechmat::ip, Mm, and intpoints::ncompstr.
Referenced by mechmat::give_consparam(), and refresh_plast().
void give_interparam | ( | long | ipp, | |
long | ido, | |||
vector & | q | |||
) |
Definition at line 328 of file j2flow.cpp.
References intpoints::eqother, mechmat::ip, Mm, and intpoints::ncompstr.
Referenced by mechmat::give_interparam().
long give_num_interparam | ( | ) |
Definition at line 323 of file j2flow.cpp.
Referenced by mechmat::give_num_interparam().
void giveirrstrains | ( | long | ipp, | |
long | ido, | |||
vector & | epsp | |||
) |
Function returns irreversible plastic strains.
ipp | - integration point number in the mechmat ip array. | |
ido | - index of the first internal variable for given material in the ipp other array | |
epsp | - vector of irreversible strains |
Returns vector of irreversible strains via parameter epsp
Definition at line 282 of file j2flow.cpp.
References intpoints::eqother, mechmat::ip, Mm, and vector::n.
Referenced by mechmat::giveirrstrains().
void matstiff | ( | matrix & | d, | |
long | ipp, | |||
long | ido | |||
) |
function returns elastic stiffness matrix
d | - elastic stiffness matrix |
4.8.2001
Definition at line 33 of file j2flow.cpp.
References mechmat::elmatstiff(), initial_stiff, matrix::m, Mm, Mp, matrix::n, probdesc::nlman, nonlinman::stmat, tangent_stiff, and tangentstiff().
Referenced by mechmat::matstiff().
void nlstresses | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
Definition at line 175 of file j2flow.cpp.
References cp, mechmat::cutting_plane(), intpoints::eqother, strretalg::give_err(), strretalg::give_ni(), strretalg::give_tsra(), mechmat::ip, Mm, intpoints::ncompstr, intpoints::other, print_err(), sra, and intpoints::strain.
Referenced by mechmat::compnonloc_nlstresses(), and mechmat::computenlstresses().
void nonloc_nlstresses | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
Definition at line 220 of file j2flow.cpp.
References cp, mechmat::cutting_plane(), intpoints::eqother, strretalg::give_err(), strretalg::give_ni(), strretalg::give_tsra(), mechmat::ip, Mm, intpoints::ncompstr, intpoints::nonloc, intpoints::other, sra, and intpoints::strain.
Referenced by mechmat::compnonloc_nlstresses().
void plasmod | ( | matrix & | h | ) |
Definition at line 143 of file j2flow.cpp.
References k.
Referenced by plasmodscalar(), mechmat::plasticmoduli(), and updateq().
double plasmodscalar | ( | vector & | qtr | ) |
Definition at line 148 of file j2flow.cpp.
References deryieldfq(), h(), mxv(), vector::n, plasmod(), and scprd().
Referenced by mechmat::plasmodscalar(), and tangentstiff().
void read | ( | XFILE * | in | ) |
Definition at line 20 of file j2flow.cpp.
References fs, k, strretalg::read(), sra, and xfscanf().
Referenced by mechmat::readmattype().
Definition at line 52 of file j2flow.cpp.
References allocv(), cmulm(), copym(), deryieldfsigma(), destrv(), intpoints::eqother, mechmat::givestress(), mechmat::ip, matrix::m, Mm, mxm(), mxv(), matrix::n, intpoints::ncompstr, planestress, plasmodscalar(), scprd(), intpoints::ssst, stress, subm(), tensor_vector(), vector_tensor(), and vxv().
Referenced by matstiff().
void updateq | ( | double | dgamma, | |
vector & | q | |||
) |
Definition at line 161 of file j2flow.cpp.
References deryieldfq(), h(), mxv(), vector::n, and plasmod().
Referenced by mechmat::updateq().
void updateval | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
function copies array other to the array eqother
ipp | - number of integration point | |
im | - index of material type | |
ido | - index in array other |
Definition at line 262 of file j2flow.cpp.
References intpoints::eqother, mechmat::givencompeqother(), mechmat::ip, Mm, and intpoints::other.
Referenced by mechmat::updateipvalmat().
function evaluates yield function for given stresses
sig | - stresses | |
q | - internal parameters (hardening) |
4.8.2001
Definition at line 111 of file j2flow.cpp.
References deviator(), f, fs, and tensornorm().
Referenced by mechmat::yieldfunction().
double fs |
flow stress
Definition at line 43 of file j2flow.h.
Referenced by changeparam(), j2flow(), read(), and yieldfunction().
double k |
stress return algorithm
Definition at line 47 of file j2flow.h.
Referenced by nlstresses(), nonloc_nlstresses(), and read().