www.mooseframework.org
InclusionProperties.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef INCLUSIONPROPERTIES_H
9 #define INCLUSIONPROPERTIES_H
10 
11 #include "Material.h"
12 #include "RankTwoTensor.h"
13 
14 // Forward Declarations
16 
17 template <>
18 InputParameters validParams<InclusionProperties>();
19 
27 class InclusionProperties : public Material
28 {
29 public:
30  InclusionProperties(const InputParameters & parameters);
31 
32 protected:
33  virtual void computeQpProperties();
34  virtual void precomputeInteriorProperties();
35 
36 private:
38  const Real _a;
39  const Real _b;
40 
42  const Real _lambda;
43  const Real _mu;
44 
46  std::vector<Real> _misfit;
47 
49  Real _nu;
51  Real _kappa;
52 
57  RankTwoTensor _stress_int;
58  RankTwoTensor _total_strain_int;
59  RankTwoTensor _elastic_strain_int;
61 
62  MaterialProperty<RankTwoTensor> & _stress;
63  MaterialProperty<RankTwoTensor> & _strain;
64  MaterialProperty<Real> & _elastic_energy;
65 };
66 
67 #endif // INCLUSIONPROPERTIES_H
This material calculates the stresses, strains, and elastic energies for an ellipsoidal inclusion in ...
std::vector< Real > _misfit
Misfit strains.
MaterialProperty< RankTwoTensor > & _strain
const Real _a
Semimajor axes of the ellipsoidal inclusion.
MaterialProperty< Real > & _elastic_energy
RankTwoTensor _total_strain_int
const Real _lambda
Elastic constants (isotropic)
Real _kappa
Kolosov&#39;s first constant.
RankTwoTensor _stress_int
Interior stress and strain values are constant so they only need to be calculated once...
InclusionProperties(const InputParameters &parameters)
MaterialProperty< RankTwoTensor > & _stress
virtual void precomputeInteriorProperties()
Real _nu
Poisson&#39;s ratio.
InputParameters validParams< InclusionProperties >()
RankTwoTensor _elastic_strain_int
virtual void computeQpProperties()