NLMech  0.1.0
inp::MatData Struct Reference

Structure for elastic properties and fracture properties. More...

#include <materialDeck.h>

Collaboration diagram for inp::MatData:
Collaboration graph

Public Member Functions

 MatData ()
 Constructor.
 
void print (int nt=0, int lvl=0) const
 Prints the information. More...
 
std::string printStr (int nt=0, int lvl=0) const
 Prints the information. More...
 
Conversion methods
double toNu (double lambda, double mu)
 Compute Poisson's ratio from Lame parameters. More...
 
double toNuClassical (double K, double G)
 Compute Poisson's ratio from Bulk modulus and Shear modulus. More...
 
double toE (double K, double nu)
 Compute Young's modulus E from Bulk modulus K and Poisson's ratio nu. More...
 
double toK (double E, double nu)
 Compute Bulk modulus K from Young's modulus K and Poisson's ratio nu. More...
 
double toLambdaE (double E, double nu)
 Compute Lame first parameter lambda from Young's modulus E and Poisson's ratio nu. More...
 
double toLambdaK (double K, double nu)
 Compute Lame first parameter lambda from Bulk modulus K and Poisson's ratio nu. More...
 
double toGE (double E, double nu)
 Compute shear modulus from Young's modulus E and Poisson's ratio nu. More...
 
double toGK (double K, double nu)
 Compute shear modulus from Bulk modulus K and Poisson's ratio nu. More...
 
double toELambda (double lambda, double nu)
 Compute Young's modulus E from Lame first parameter lambda and Poisson's ratio nu. More...
 
double toGc (double KIc, double nu, double E)
 Compute critical energy release rate Gc from critical stress-intensity factor KIc, Poisson's ratio nu, and Young's modulus E. More...
 
double toKIc (double Gc, double nu, double E)
 Compute critical stress-intensity factor KIc from critical energy release rate Gc, Poisson's ratio $ nu$, and Young's modulus E. More...
 

Data Fields

Elastic material properties
double d_E
 Young's elastic modulus.
 
double d_G
 Shear modulus or Lame second parameter.
 
double d_K
 Bulk modulus.
 
double d_nu
 Poisson's ratio.
 
double d_lambda
 Lame first parameter.
 
double d_mu
 Lame second parameter.
 
Fracture properties
double d_KIc
 Critical stress intensity factor.
 
double d_Gc
 Critical energy release rate.
 

Detailed Description

Structure for elastic properties and fracture properties.

Member Function Documentation

◆ print()

void inp::MatData::print ( int  nt = 0,
int  lvl = 0 
) const
inline

Prints the information.

Parameters
ntNumber of tabs to append before printing
lvlInformation level (higher means more information)
Returns
The string to be printed
Here is the call graph for this function:

◆ printStr()

std::string inp::MatData::printStr ( int  nt = 0,
int  lvl = 0 
) const
inline

Prints the information.

Parameters
ntNumber of tabs to append before printing
lvlInformation level (higher means more information)
Returns
The string to be printed

Referenced by print(), and inp::MaterialDeck::printStr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toE()

double inp::MatData::toE ( double  K,
double  nu 
)
inline

Compute Young's modulus E from Bulk modulus K and Poisson's ratio nu.

Parameters
KBulk modulus
nuPoisson's ratio
Returns
E Young's modulus

Referenced by material::pd::RNPBond::computeParameters().

Here is the caller graph for this function:

◆ toELambda()

double inp::MatData::toELambda ( double  lambda,
double  nu 
)
inline

Compute Young's modulus E from Lame first parameter lambda and Poisson's ratio nu.

Parameters
lambdaLame first parameter
nuPoisson's ratio
Returns
E Young's modulus

Referenced by material::pd::RNPBond::computeMaterialProperties().

Here is the caller graph for this function:

◆ toGc()

double inp::MatData::toGc ( double  KIc,
double  nu,
double  E 
)
inline

Compute critical energy release rate Gc from critical stress-intensity factor KIc, Poisson's ratio nu, and Young's modulus E.

Below conversion from KIc to Gc assumes plane-stress condition. For plane-stress condition, we need to modify the Young's modulus $ E$ to $ \frac{E}{1 - \nu^2} $ where $ \nu$ is the Poisson's ratio.

Parameters
KIcCritical stress-intensity factor
nuPoisson's ratio
EYoung's modulus
Returns
Gc Critical energy release rate

Referenced by material::pd::RNPBond::computeParameters().

Here is the caller graph for this function:

◆ toGE()

double inp::MatData::toGE ( double  E,
double  nu 
)
inline

Compute shear modulus from Young's modulus E and Poisson's ratio nu.

Parameters
EYoung's modulus
nuPoisson's ratio
Returns
G Shear modulus

Referenced by material::pd::RNPBond::computeParameters().

Here is the caller graph for this function:

◆ toGK()

double inp::MatData::toGK ( double  K,
double  nu 
)
inline

Compute shear modulus from Bulk modulus K and Poisson's ratio nu.

Parameters
KBulk modulus
nuPoisson's ratio
Returns
G Shear modulus

◆ toK()

double inp::MatData::toK ( double  E,
double  nu 
)
inline

Compute Bulk modulus K from Young's modulus K and Poisson's ratio nu.

Parameters
EYoung's modulus
nuPoisson's ratio
Returns
K Bulk modulus

Referenced by material::pd::RNPBond::computeMaterialProperties(), and material::pd::RNPBond::computeParameters().

Here is the caller graph for this function:

◆ toKIc()

double inp::MatData::toKIc ( double  Gc,
double  nu,
double  E 
)
inline

Compute critical stress-intensity factor KIc from critical energy release rate Gc, Poisson's ratio $ nu$, and Young's modulus E.

Below conversion from Gc to KIc assumes plane-stress condition. For plane-stress condition, we need to modify the Young's modulus $ E$ to $ \frac{E}{1 - \nu^2} $ where $ \nu$ is the Poisson's ratio.

Parameters
GcCritical energy release rate
nuPoisson's ratio
EYoung's modulus
Returns
KIc Critical stress-intensity factor

Referenced by material::pd::RNPBond::computeMaterialProperties(), and material::pd::RNPBond::computeParameters().

Here is the caller graph for this function:

◆ toLambdaE()

double inp::MatData::toLambdaE ( double  E,
double  nu 
)
inline

Compute Lame first parameter lambda from Young's modulus E and Poisson's ratio nu.

Parameters
EYoung's modulus
nuPoisson's ratio
Returns
lambda Lame first parameter

Referenced by material::pd::RNPBond::computeParameters().

Here is the caller graph for this function:

◆ toLambdaK()

double inp::MatData::toLambdaK ( double  K,
double  nu 
)
inline

Compute Lame first parameter lambda from Bulk modulus K and Poisson's ratio nu.

Parameters
KBulk modulus
nuPoisson's ratio
Returns
lambda Lame first parameter

◆ toNu()

double inp::MatData::toNu ( double  lambda,
double  mu 
)
inline

Compute Poisson's ratio from Lame parameters.

Parameters
lambdaLame first parameter
muLame second parameter
Returns
nu Poisson's ratio

◆ toNuClassical()

double inp::MatData::toNuClassical ( double  K,
double  G 
)
inline

Compute Poisson's ratio from Bulk modulus and Shear modulus.

Parameters
KBulk modulus
GShear modulus
Returns
nu Poisson's ratio

Referenced by material::pd::ElasticState::computeParameters().

Here is the caller graph for this function:

The documentation for this struct was generated from the following file: