#include <splas1d.h>
Public Member Functions | |
void | changeparam (atsel &atm, vector &val) |
void | changeparam (atsel &atm, vector &val) |
void | deryieldfq (vector &dq) |
void | deryieldfsigma (matrix &sig, matrix &dfds) |
void | dfdqpar (vector &dq) |
void | dfdsigma (matrix &sig, matrix &dfds) |
void | dfdsigmadq (matrix &dfdsdq) |
void | dfdsigmadsigma (matrix &dfdsdst) |
void | dhdgamma (long ipp, vector &epsp, matrix &sig, vector &dhdc) |
double | give_consparam (long ipp, long ido) |
double | give_consparam (long ipp, long ido) |
void | give_interparam (long ipp, long ido, vector &q) |
void | give_interparam (long ipp, long ido, vector &q) |
long | give_num_interparam () |
long | give_num_interparam () |
void | giveirrstrains (long ipp, long ido, vector &epsp) |
void | giveirrstrains (long ipp, long ido, vector &epsp) |
void | matstiff (matrix &d, long ipp, long ido) |
void | matstiff (matrix &d, long ipp, long ido) |
void | nlstresses (long ipp, long im, long ido) |
void | nlstresses (long ipp, long im, long ido) |
void | nonloc_nlstresses (long ipp, long im, long ido) |
void | nonloc_nlstresses (long ipp, long im, long ido) |
void | plasmod (matrix &h) |
void | plasmod (matrix &h) |
double | plasmodscalar (vector &qtr) |
double | plasmodscalar (matrix &sig, vector &epsp, vector &qtr, double gamma) |
void | read (FILE *in) |
void | read (XFILE *in) |
splas1d (void) | |
splas1d (void) | |
void | updateq (double dgamma, vector &q) |
void | updateq (long ipp, double dgamma, vector &epsp, vector &q) |
void | updateval (long ipp, long ido) |
void | updateval (long ipp, long ido) |
double | yieldfunction (matrix &sig, vector &q) |
double | yieldfunction (matrix &sig, vector &q) |
~splas1d (void) | |
~splas1d (void) | |
Public Attributes | |
double | fs |
flow stress | |
hardsoft | hs |
hardening/softening | |
double | k |
plastic modulus | |
strretalg | sra |
stress return algorithm |
class splas1d defines onedimensional model of plasticity it is used especially for program debugging
JK
Definition at line 19 of file splas1d.h.
splas1d | ( | void | ) |
Definition at line 13 of file splas1d.cpp.
References fs.
~splas1d | ( | void | ) |
Definition at line 19 of file splas1d.cpp.
splas1d | ( | void | ) |
~splas1d | ( | void | ) |
Definition at line 363 of file splas1d.cpp.
References atsel::atrib, fs, atsel::num, and print_err().
Referenced by stochdriver::changematerials().
void deryieldfq | ( | vector & | dq | ) |
function evaluates derivatives of yield function with respect of internal variable q
21.8.2001
Definition at line 56 of file splas1d_0408.cpp.
References k.
Referenced by plasmodscalar(), and updateq().
function evaluates derivatives of yield function with respect of stress components
12.8.2001
Definition at line 44 of file splas1d_0408.cpp.
void dfdqpar | ( | vector & | dq | ) |
function evaluates derivatives of yield function with respect to internal variable q
dq | - vector containing derivatives of yield function with respect to internal variable |
JK, 21.8.2001
Definition at line 97 of file splas1d.cpp.
Referenced by mechmat::dfdqpar(), mechmat::dgdqpar(), matstiff(), and plasmodscalar().
function evaluates derivatives of yield function with respect to stress components
stresses must be assembled in tensor notation and stored in 3x3 matrix this requirement is useless for this model but the same strategy as in other multidimensional models is used here
sig | - stresses | |
dfds | - matrix containing derivatives with respect to stresses |
JK, 12.8.2001
Definition at line 73 of file splas1d.cpp.
Referenced by mechmat::dfdsigma(), mechmat::dgdsigma(), dhdgamma(), matstiff(), and plasmodscalar().
void dfdsigmadq | ( | matrix & | dfdsdq | ) |
function evaluates derivates of yield function with respect to stresses and internal variables (hardening/softening parameters)
dfdsdq | - derivatives of yield function with respect to stresses and internal variables |
JK, 8.8.2005
Definition at line 111 of file splas1d.cpp.
References fillm().
Referenced by mechmat::dfdsigmadq(), and mechmat::dgdsigmadq().
void dfdsigmadsigma | ( | matrix & | dfdsdst | ) |
function computes second derivatives of yield function with respect to stresses all of them are always equal to zero
JK, 8.8.2005
Definition at line 85 of file splas1d.cpp.
References fillm().
Referenced by mechmat::dfdsigmadsigma(), and mechmat::dgdsigmadsigma().
function computes derivatives of hardening function with respect to consistency parameter
ipp | - id of integration point | |
idpm | - id of plasticity model | |
dhdc | - vector containing derivatives of hardening function with respect to consistency parameter |
JK, 8.8.2005
Definition at line 127 of file splas1d.cpp.
References dfdsigma().
Referenced by mechmat::dhdgamma().
double give_consparam | ( | long | ipp, | |
long | ido | |||
) |
double give_consparam | ( | long | ipp, | |
long | ido | |||
) |
Definition at line 384 of file splas1d.cpp.
References mechmat::ip, Mm, and intpoints::other.
Referenced by mechmat::give_consparam().
void give_interparam | ( | long | ipp, | |
long | ido, | |||
vector & | q | |||
) |
void give_interparam | ( | long | ipp, | |
long | ido, | |||
vector & | q | |||
) |
Definition at line 396 of file splas1d.cpp.
References intpoints::eqother, mechmat::ip, Mm, and intpoints::ncompstr.
Referenced by mechmat::give_interparam().
long give_num_interparam | ( | ) |
long give_num_interparam | ( | ) |
Definition at line 391 of file splas1d.cpp.
Referenced by mechmat::give_num_interparam().
void giveirrstrains | ( | long | ipp, | |
long | ido, | |||
vector & | epsp | |||
) |
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 356 of file splas1d.cpp.
References intpoints::eqother, mechmat::ip, and Mm.
Referenced by mechmat::giveirrstrains().
void matstiff | ( | matrix & | d, | |
long | ipp, | |||
long | ido | |||
) |
void matstiff | ( | matrix & | d, | |
long | ipp, | |||
long | ido | |||
) |
Definition at line 296 of file splas1d.cpp.
References cmulm(), dfdqpar(), dfdsigma(), mechmat::elmatstiff(), intpoints::eqother, g, h(), mechmat::ip, Mm, Mp, mxm(), mxv(), probdesc::nlman, scprd(), intpoints::ssst, nonlinman::stmat, stress, intpoints::stress, subm(), tensor_vector(), vxv(), and probdesc::zero.
Referenced by mechmat::matstiff().
void nlstresses | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
void nlstresses | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
Definition at line 231 of file splas1d.cpp.
References cp, intpoints::eqother, strretalg::give_err(), strretalg::give_ni(), strretalg::give_tsra(), mechmat::ip, Mm, mechmat::newton_stress_return(), 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 | |||
) |
void nonloc_nlstresses | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
Definition at line 265 of file splas1d.cpp.
References cp, mechmat::cutting_plane(), intpoints::eqother, strretalg::give_err(), strretalg::give_ni(), strretalg::give_tsra(), mechmat::ip, Mm, intpoints::nonloc, intpoints::other, sra, and intpoints::strain.
Referenced by mechmat::compnonloc_nlstresses().
void plasmod | ( | matrix & | h | ) |
void plasmod | ( | matrix & | h | ) |
Definition at line 146 of file splas1d.cpp.
Referenced by plasmodscalar(), mechmat::plasticmoduli(), and updateq().
double plasmodscalar | ( | vector & | qtr | ) |
Definition at line 68 of file splas1d_0408.cpp.
References deryieldfq(), h(), mxv(), vector::n, plasmod(), and scprd().
Definition at line 151 of file splas1d.cpp.
References dfdqpar(), dfdsigma(), h(), vector::n, and plasmod().
Referenced by mechmat::plasmodscalar().
void read | ( | FILE * | in | ) |
Definition at line 23 of file splas1d_0408.cpp.
References fs, k, strretalg::read(), and sra.
void read | ( | XFILE * | in | ) |
function reads input material parameters
in | - pointer to input file |
JK
Definition at line 31 of file splas1d.cpp.
References fs, hs, hardsoft::read(), strretalg::read(), sra, and xfscanf().
Referenced by mechmat::readmattype().
void updateq | ( | double | dgamma, | |
vector & | q | |||
) |
Definition at line 81 of file splas1d_0408.cpp.
References deryieldfq(), h(), mxv(), vector::n, and plasmod().
Definition at line 211 of file splas1d.cpp.
Referenced by mechmat::updateq().
void updateval | ( | long | ipp, | |
long | ido | |||
) |
void updateval | ( | long | ipp, | |
long | ido | |||
) |
Definition at line 338 of file splas1d.cpp.
References intpoints::eqother, mechmat::ip, Mm, and intpoints::other.
Referenced by mechmat::updateipvalmat().
function evaluates yield function
stresses must be assembled in tensor notation and stored in 3x3 matrix this requirement is useless for this model but the same strategy as in other multidimensional models is used here
sig | - stresses | |
q | - internal (hardening/softening) parameters |
JK, 12.8.2001
Definition at line 53 of file splas1d.cpp.
Referenced by mechmat::yieldfunction().
double fs |
flow stress
Definition at line 52 of file splas1d.h.
Referenced by changeparam(), read(), splas1d(), and yieldfunction().
double k |
plastic modulus
Definition at line 42 of file splas1d_0408.h.
Referenced by deryieldfq(), and read().
stress return algorithm
Definition at line 54 of file splas1d.h.
Referenced by nlstresses(), nonloc_nlstresses(), and read().