MechanicalFemPhysics
The GeMA Mechanical FEM Physics Plugin
Functions
GmpMechanicUtils Namespace Reference

Groups utilitary routines for working with stress. More...

Functions

double shearModulus (double E, double nu)
 Returns the shear modulus (G) from Young's modulus (E) and Poisson's Coefficient (nu)
 
double bulkModulus (double E, double nu)
 Returns the bulk modulus (K) from Young's modulus (E) and Poisson's Coefficient (nu)
 
double lameModulus (double E, double nu)
 Returns the lame modulus (lame) from Young's modulus (E) and Poisson's Coefficient (nu)
 
void setStressStateVector (const double vc[6], GmVector &vp, unsigned st, double p)
 
void setStressStateMatrix (const double mc[6][6], GmMatrix &mp, unsigned st, double p)
 
double stressInvariantI1 (const GmVector &s, unsigned st)
 
double stressInvariantI2 (const GmVector &s, unsigned st)
 
double stressInvariantI3 (const GmVector &s, unsigned st)
 
GmVector stressInvariants (const GmVector &s, unsigned st)
 
void stressGradientI1 (const GmVector &, unsigned st, GmVector &dI1)
 
void stressGradientI2 (const GmVector &s, unsigned st, GmVector &dI2)
 
void stressGradientI3 (const GmVector &s, unsigned st, GmVector &dI3)
 
void stressHessianI2 (const GmVector &, unsigned st, GmMatrix &d2I2)
 
void stressHessianI3 (const GmVector &s, unsigned st, GmMatrix &d2I3)
 
GmVector stressPrincipal (const GmVector &s, unsigned st)
 
double hydrostaticStress (const GmVector &s, unsigned st)
 Returns the hydrostatic stress.
 
void hydrostaticGradient (const GmVector &, unsigned st, GmVector &dsm)
 Returns the hydrostatic pressure gradient dP/ds.
 
GmVector deviatoricTensor (const GmVector &s, unsigned st)
 
double deviatoricInvariantJ2 (const GmVector &s, unsigned st)
 
double deviatoricInvariantJ3 (const GmVector &s, unsigned st)
 
GmVector deviatoricInvariants (const GmVector &s, unsigned st)
 
void deviatoricGradientJ2 (const GmVector &s, unsigned st, GmVector &dJ2)
 
void deviatoricGradientJ3 (const GmVector &s, unsigned st, GmVector &dJ3)
 
void deviatoricHessianJ2 (const GmVector &, unsigned st, GmMatrix &d2J2)
 
void deviatoricHessianJ3 (const GmVector &s, unsigned st, GmMatrix &d2J3)
 
GmVector deviatoricPrincipal (const GmVector &s, unsigned st)
 
double vonMisesStress (const GmVector &s, unsigned st)
 
void vonMisesGradient (const GmVector &s, unsigned st, GmVector &dse)
 
void vonMisesHessian (const GmVector &s, unsigned st, GmMatrix &d2se)
 
double lodeAngle (const GmVector &s, unsigned st)
 
GmVector lodeCoordinates (const GmVector &s, unsigned st)
 
double lodeAngleMC (const GmVector &s, unsigned st)
 
GmMatrix isotropicDamageMatrix (double d)
 Fills the isotropic damage matrix in the local references which is aligned.
 
GmMatrix anisotropicDamageMatrix (GmVector Sdv)
 Fills the anisotropic damage matrix in the local references which is aligned.
 
void vectorialToTensorial (GmVector &Vec, GmMatrix &Tensor, unsigned sc, QString type, bool mode)
 
void fillTransformationMatrix (GmMatrix R, GmMatrix &Te, GmMatrix &Ts, int ns)
 
GmVector vectorialMacaulay (GmVector x)
 
double macaulayFunction (double x)
 
void fillRotationMatrixFromDip (GmMatrix &R, double dip, double strike)
 
void fillRotationMatrixFromEulerAngle (GmMatrix &R, double phi, double theta, double psi)
 
void pseudoInverse (GmMatrix &M, double tol)
 
void elasticStiffness (GmMatrix &De, double E, double nu, unsigned sc, unsigned ips)
 Computes the elastic stiffness matrix using E and Nu.
 
void elasticStiffnessLameG (GmMatrix &De, double lame, double G, unsigned sc, unsigned ips)
 Computes the elastic stiffness matrix using lame and G.
 
void elasticStiffnessKG (GmMatrix &De, double K, double G, unsigned sc, unsigned ips)
 Computes the elastic stiffness matrix using K and G.
 
void elasticFlexibility (GmMatrix &Ce, double E, double nu, unsigned sc, unsigned ips)
 Computes the elastic flexibility matrix using E and Nu.
 
void hydrostaticGradient (const GmVector &, unsigned)
 

Detailed Description

Groups utilitary routines for working with stress.