#include <varelastisomat.h>
Public Member Functions | |
void | changeparam (atsel &atm, vector &val) |
void | elmatstiff (matrix &d, long ipp) |
void | matcompl (matrix &c, long ipp) |
void | matcompl_axi (matrix &c, double e_c, double nu_c) |
void | matcompl_bar (matrix &c, double e_c) |
void | matcompl_plbeam (matrix &c, double e_c, double nu_c) |
void | matcompl_plstrain (matrix &c, double e_c, double nu_c) |
void | matcompl_plstress (matrix &c, double e_c, double nu_c) |
void | matcompl_spacestr (matrix &c, double e_c, double nu_c) |
void | matstiff (matrix &d, long ipp) |
void | matstiff_axi (matrix &d, double e_c, double nu_c) |
void | matstiff_bar (matrix &d, double e_c) |
void | matstiff_platek (matrix &d, double e_c, double nu_c) |
void | matstiff_plates (matrix &d, double e_c, double nu_c) |
void | matstiff_plbeam (matrix &d, double e_c, double nu_c) |
void | matstiff_plstrain (matrix &d, double e_c, double nu_c) |
void | matstiff_plstress (matrix &d, double e_c, double nu_c) |
void | matstiff_spacebeam (matrix &d, double e_c, double nu_c) |
void | matstiff_spacestr (matrix &d, double e_c, double nu_c) |
void | nlstresses (long ipp) |
void | read (XFILE *in) |
varelastisomat (void) | |
~varelastisomat (void) | |
Public Attributes | |
double | e |
initial Young's modulus | |
double | nu |
initial Poisson's number |
The class varelastisomat defines elastic isotropic material model with variable Young modulus and Poisson's ratio. These parameters are assumed to be calculated outside of this model, e.g. in the Cam-Clay model. Only initial values of Young modulus and Poisson's ratio are required to be specified in the input file. The current values are calculated by the calling of the mechmat give_actual_ym(ipp) and give_actual_nu(ipp) which are called with the default values of arguments and thus the specific calculation procedure implemented in the control advanced material model (e.g. plasticity) can be invoked.
Material parameters are:
Created by TKo, 02.2013,
Definition at line 25 of file varelastisomat.h.
varelastisomat | ( | void | ) |
Constructor initializes data members to zero or default values.
Created by TKo, 02.2013
Definition at line 15 of file varelastisomat.cpp.
~varelastisomat | ( | void | ) |
Destructor is defined only for the formal purposes.
Created by TKo, 02.2013
Definition at line 30 of file varelastisomat.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 TKo, 02.2013
Definition at line 616 of file varelastisomat.cpp.
References atsel::atrib, e, nu, atsel::num, and print_err().
void elmatstiff | ( | matrix & | d, | |
long | ipp | |||
) |
Function assembles stiffness matrix of material.
d | - stiffness matrix of material (output) | |
ipp | - integration point pointer |
Created by TKo, 02.2013
Definition at line 82 of file varelastisomat.cpp.
References axisymm, bar, mechmat::give_actual_nu(), mechmat::give_actual_ym(), mechmat::ip, matstiff_axi(), matstiff_bar(), matstiff_platek(), matstiff_plates(), matstiff_plbeam(), matstiff_plstrain(), matstiff_plstress(), matstiff_spacebeam(), matstiff_spacestr(), Mm, planestrain, planestress, platek, plates, plbeam, print_err(), spacebeam, spacestress, and intpoints::ssst.
Referenced by mechmat::elmatstiff(), and matstiff().
void matcompl | ( | matrix & | c, | |
long | ipp | |||
) |
Function assembles complience matrix of material.
c | - complience matrix of material (output) | |
ipp | - integration point pointer |
Created by TKo, 02.2013
Definition at line 387 of file varelastisomat.cpp.
References axisymm, bar, mechmat::give_actual_nu(), mechmat::give_actual_ym(), mechmat::ip, matcompl_axi(), matcompl_bar(), matcompl_plbeam(), matcompl_plstrain(), matcompl_plstress(), matcompl_spacestr(), Mm, planestrain, planestress, plbeam, print_err(), spacestress, and intpoints::ssst.
Referenced by mechmat::elmatcompl().
void matcompl_axi | ( | matrix & | c, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates compliance matrix of the elastic isotropic material for axisymmetric problems
c | - compliance matrix of the material (output) | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 527 of file varelastisomat.cpp.
Referenced by matcompl().
void matcompl_bar | ( | matrix & | c, | |
double | e_c | |||
) |
Function creates compliance matrix of the elastic isotropic material for bar elements.
c | - compliance matrix of the material (output) | |
e_c | - current Young modulus |
Created by TKo, 02.2013
Definition at line 437 of file varelastisomat.cpp.
Referenced by matcompl().
void matcompl_plbeam | ( | matrix & | c, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates compliance matrix of the elastic isotropic material for plane beam elements
c | - compliance matrix of the material (output) | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 456 of file varelastisomat.cpp.
Referenced by matcompl().
void matcompl_plstrain | ( | matrix & | c, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates compliance matrix of the elastic isotropic material for 2D problems (plane strain).
c | - compliance matrix of the material (output) | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 500 of file varelastisomat.cpp.
Referenced by matcompl().
void matcompl_plstress | ( | matrix & | c, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates compliance matrix of the elastic isotropic material for 2D problems (plane stress)
c | - compliance matrix of the material (output) | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 477 of file varelastisomat.cpp.
References fillm().
Referenced by matcompl().
void matcompl_spacestr | ( | matrix & | c, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates compliance matrix of the elastic isotropic material for 3D problems.
c | - compliance matrix of the material (output) | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 555 of file varelastisomat.cpp.
Referenced by matcompl().
void matstiff | ( | matrix & | d, | |
long | ipp | |||
) |
Function assembles stiffness matrix of material.
d | - stiffness matrix of material (output) | |
ssst | - strain/stress state |
Created by TKo, 02.2013
Definition at line 65 of file varelastisomat.cpp.
References elmatstiff().
Referenced by mechmat::matstiff(), and nlstresses().
void matstiff_axi | ( | matrix & | d, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates stiffness matrix of the elastic isotropic material for 2D axisymmetric problems.
d | - stiffness matrix of the material | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 268 of file varelastisomat.cpp.
Referenced by elmatstiff().
void matstiff_bar | ( | matrix & | d, | |
double | e_c | |||
) |
Function creates stiffness matrix of the elastic isotropic material for bar elements.
d - stiffness matrix of the material (output) e_c - current Young modulus
Created by TKo, 02.2013
Definition at line 144 of file varelastisomat.cpp.
Referenced by elmatstiff().
void matstiff_platek | ( | matrix & | d, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates stiffness matrix of the elastic isotropic material for plate elements based on Kirchhoff theory.
d | - stiffness matrix | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 300 of file varelastisomat.cpp.
Referenced by elmatstiff().
void matstiff_plates | ( | matrix & | d, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates stiffness matrix of the elastic isotropic material for plate elements based on Mindlin-Reissner theory.
d | - stiffness matrix | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 330 of file varelastisomat.cpp.
Referenced by elmatstiff().
void matstiff_plbeam | ( | matrix & | d, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates stiffness matrix of the elastic isotropic material for plane beam elements.
d | - stiffness matrix of the material (output) | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 163 of file varelastisomat.cpp.
Referenced by elmatstiff().
void matstiff_plstrain | ( | matrix & | d, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates stiffness matrix of the elastic isotropic material for 2D problems (plane strain).
d | - stiffness matrix of the material | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 235 of file varelastisomat.cpp.
References fillm().
Referenced by elmatstiff().
void matstiff_plstress | ( | matrix & | d, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates stiffness matrix of the elastic isotropic material for 2D problems (plane stress).
d | - stiffness matrix of the material | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 208 of file varelastisomat.cpp.
References fillm().
Referenced by elmatstiff().
void matstiff_spacebeam | ( | matrix & | d, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates stiffness matrix of the elastic isotropic material for plane beam elements.
d | - stiffness matrix of the material (output) | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 184 of file varelastisomat.cpp.
Referenced by elmatstiff().
void matstiff_spacestr | ( | matrix & | d, | |
double | e_c, | |||
double | nu_c | |||
) |
Function creates stiffness matrix of the elastic isotropic material for 3D problems.
d | - stiffness matrix of the material | |
e_c | - current Young modulus | |
nu_c | - current Poisson's ratio |
Created by TKo, 02.2013
Definition at line 358 of file varelastisomat.cpp.
Referenced by elmatstiff().
void nlstresses | ( | long | ipp | ) |
Function computes true stresses.
ipp | - number of integration point |
Created by TKo, 02.2013
Definition at line 580 of file varelastisomat.cpp.
References mechmat::give_actual_nu(), mechmat::ip, matstiff(), Mm, mxv(), intpoints::ncompstr, planestress, intpoints::ssst, intpoints::strain, and intpoints::stress.
Referenced by mechmat::compnonloc_nlstresses(), and mechmat::computenlstresses().
void read | ( | XFILE * | in | ) |
Function reads material parameters from the opened text file.
in | - pointer to the opened XFILE |
Created by TKo, 02.2013
Definition at line 46 of file varelastisomat.cpp.
References e, nu, and xfscanf().
Referenced by mechmat::readmattype().
double e |
initial Young's modulus
Definition at line 56 of file varelastisomat.h.
Referenced by changeparam(), mechmat::give_initial_ym(), read(), and varelastisomat().
double nu |
initial Poisson's number
Definition at line 58 of file varelastisomat.h.
Referenced by changeparam(), mechmat::give_initial_nu(), read(), and varelastisomat().