www.mooseframework.org
MultiPhaseStressMaterial.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 #ifndef MULTIPHASESTRESSMATERIAL_H
8 #define MULTIPHASESTRESSMATERIAL_H
9 
10 #include "Material.h"
11 
12 // Forward Declarations
14 class RankTwoTensor;
15 class RankFourTensor;
16 
17 template <>
19 
24 class MultiPhaseStressMaterial : public Material
25 {
26 public:
27  MultiPhaseStressMaterial(const InputParameters & parameters);
28 
29 protected:
30  virtual void computeQpProperties();
31 
33  std::vector<MaterialPropertyName> _h_list;
34 
36  unsigned int _n_phase;
37 
39  std::vector<const MaterialProperty<Real> *> _h_eta;
40 
41  // phase material properties
42  std::vector<std::string> _phase_base;
43  std::vector<const MaterialProperty<RankTwoTensor> *> _phase_stress;
44  std::vector<const MaterialProperty<RankFourTensor> *> _dphase_stress_dstrain;
45 
46  // global material properties
47  std::string _base_name;
48  MaterialProperty<RankTwoTensor> & _stress;
49  MaterialProperty<RankFourTensor> & _dstress_dstrain;
50 };
51 
52 #endif // MULTIPHASESTRESSMATERIAL_H
std::vector< const MaterialProperty< RankFourTensor > * > _dphase_stress_dstrain
MaterialProperty< RankTwoTensor > & _stress
unsigned int _n_phase
number of phases handled by this material
MaterialProperty< RankFourTensor > & _dstress_dstrain
MultiPhaseStressMaterial(const InputParameters &parameters)
Construct a global strain from the phase strains in a manner that is consistent with the construction...
std::vector< const MaterialProperty< RankTwoTensor > * > _phase_stress
InputParameters validParams< MultiPhaseStressMaterial >()
std::vector< std::string > _phase_base
std::vector< const MaterialProperty< Real > * > _h_eta
switching functions
std::vector< MaterialPropertyName > _h_list
switching function name list