#include <mohrcparab.h>
Public Member Functions | |
void | changeparam (atsel &atm, vector &val) |
void | derplaspotsigma (matrix &sig, matrix &dfds) |
void | deryieldfsigma (matrix &sig, matrix &dfds) |
double | give_consparam (long ipp, long ido) |
void | giveirrstrains (long ipp, long ido, vector &epsp) |
void | matstiff (matrix &d, long ipp, long ido) |
mohrcoulombpar (void) | |
void | nlstresses (long ipp, long im, long ido) |
void | nonloc_nlstresses (long ipp, long im, long ido) |
void | read (XFILE *in) |
void | updateval (long ipp, long im, long ido) |
double | yieldfunction (matrix &sig) |
~mohrcoulombpar (void) | |
Public Attributes | |
double | alphaphi |
parameter alpha for phi | |
double | alphapsi |
parameter alpha for psi | |
double | betaphi |
parameter beta for phi | |
double | betapsi |
parameter beta for psi | |
double | c |
cohesion | |
double | phi |
friction angle | |
double | psi |
dilation | |
double | sigcphi |
parameter sig cap for phi | |
double | sigcpsi |
parameter sig cap for psi | |
strretalg | sra |
stress return algorithm |
This class defines plastic material model with parabolic Mohr-Coulomb yield criterion.
Created by Tomas Koudelka,
Definition at line 15 of file mohrcparab.h.
mohrcoulombpar | ( | void | ) |
~mohrcoulombpar | ( | void | ) |
The destructor is defined only for the formal purposes.
Definition at line 32 of file mohrcparab.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 364 of file mohrcparab.cpp.
References alphaphi, alphapsi, atsel::atrib, betaphi, betapsi, c, atsel::num, phi, print_err(), psi, sigcphi, and sigcpsi.
The function computes derivatives of plastic potential function with respect of stress tensor sigma.
sig | - stress tensor | |
dgds | - matrix of derivatives of the plastic potential function (output) |
Created by Tomas Koudelka, 4.1.2002
Definition at line 138 of file mohrcparab.cpp.
References betapsi, deviator(), first_invar(), second_invar(), and sigcpsi.
Referenced by mechmat::dgdsigma().
The function computes derivatives of as-th yield function with respect of vector sigma.
sig | - stress tensor | |
dfds | - matrix of derivatives of the yield function (output) |
Created by Tomas Koudelka, 4.1.2002
Definition at line 103 of file mohrcparab.cpp.
References betaphi, deviator(), first_invar(), second_invar(), and sigcphi.
Referenced by mechmat::dfdsigma().
double give_consparam | ( | long | ipp, | |
long | ido | |||
) |
The function extracts consistency parametr gamma for the reached equilibrium state from the other array of the given integration point.
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 341 of file mohrcparab.cpp.
References intpoints::eqother, mechmat::ip, Mm, and intpoints::ncompstr.
Referenced by mechmat::give_consparam().
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 (output) |
Created by Tomas Koudelka,
Definition at line 321 of file mohrcparab.cpp.
References intpoints::eqother, mechmat::ip, Mm, and vector::n.
Referenced by mechmat::giveirrstrains().
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 |
Created by Tomas Koudelka, 4.1.2002
Definition at line 172 of file mohrcparab.cpp.
References mechmat::elmatstiff(), Mm, Mp, probdesc::nlman, and nonlinman::stmat.
Referenced by mechmat::matstiff().
void nlstresses | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
The function computes stresses at given integration point ipp, depending on the reached strains. The cutting plane algorithm is used. The stresses and other array of given integration point are actualized.
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 201 of file mohrcparab.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 | |||
) |
The function computes stresses at given integration point ipp, depending on the reached averaged nonlocal strains. The cutting plane algorithm is used. The stresses and other array of given integration point are actualized.
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 251 of file mohrcparab.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, print_err(), sra, and intpoints::strain.
Referenced by mechmat::compnonloc_nlstresses().
void read | ( | XFILE * | in | ) |
The function reads material parameters from the opened text file given by the parameter in. Internal parameters alpha, beta and sigc for phi and psi are evaluated.
in | - pointer to the opned text file |
Created by Tomas Koudelka,
Definition at line 50 of file mohrcparab.cpp.
References alphaphi, alphapsi, betaphi, betapsi, c, phi, psi, strretalg::read(), sigcphi, sigcpsi, sra, 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 299 of file mohrcparab.cpp.
References intpoints::eqother, mechmat::givencompeqother(), mechmat::ip, Mm, and intpoints::other.
Referenced by mechmat::updateipvalmat().
double yieldfunction | ( | matrix & | sig | ) |
The function computes the value of yield functions.
sig | - stress tensor |
Created by Tomas Koudelka, 25.3.2002
Definition at line 75 of file mohrcparab.cpp.
References betaphi, deviator(), f, first_invar(), second_invar(), and sigcphi.
Referenced by mechmat::yieldfunction().
double alphaphi |
parameter alpha for phi
Definition at line 40 of file mohrcparab.h.
Referenced by changeparam(), mohrcoulombpar(), and read().
double alphapsi |
parameter alpha for psi
Definition at line 46 of file mohrcparab.h.
Referenced by changeparam(), mohrcoulombpar(), and read().
double betaphi |
parameter beta for phi
Definition at line 42 of file mohrcparab.h.
Referenced by changeparam(), deryieldfsigma(), mohrcoulombpar(), read(), and yieldfunction().
double betapsi |
parameter beta for psi
Definition at line 48 of file mohrcparab.h.
Referenced by changeparam(), derplaspotsigma(), mohrcoulombpar(), and read().
double c |
cohesion
Definition at line 35 of file mohrcparab.h.
Referenced by changeparam(), mohrcoulombpar(), and read().
double phi |
friction angle
Definition at line 33 of file mohrcparab.h.
Referenced by changeparam(), mohrcoulombpar(), and read().
double psi |
dilation
Definition at line 37 of file mohrcparab.h.
Referenced by changeparam(), mohrcoulombpar(), and read().
double sigcphi |
parameter sig cap for phi
Definition at line 44 of file mohrcparab.h.
Referenced by changeparam(), deryieldfsigma(), mohrcoulombpar(), read(), and yieldfunction().
double sigcpsi |
parameter sig cap for psi
Definition at line 50 of file mohrcparab.h.
Referenced by changeparam(), derplaspotsigma(), mohrcoulombpar(), and read().
stress return algorithm
Definition at line 53 of file mohrcparab.h.
Referenced by nlstresses(), nonloc_nlstresses(), and read().