www.mooseframework.org
TwoPhaseStressMaterial.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 TWOPHASESTRESSMATERIAL_H
8 #define TWOPHASESTRESSMATERIAL_H
9 
10 #include "Material.h"
11 
12 // Forward Declarations
14 class RankTwoTensor;
15 class RankFourTensor;
16 
17 template <>
18 InputParameters validParams<TwoPhaseStressMaterial>();
19 
24 class TwoPhaseStressMaterial : public Material
25 {
26 public:
27  TwoPhaseStressMaterial(const InputParameters & parameters);
28 
29 protected:
30  virtual void computeQpProperties();
31 
32  // switching function
33  const MaterialProperty<Real> & _h_eta;
34 
35  // phase A material properties
36  std::string _base_A;
37  const MaterialProperty<RankTwoTensor> & _stress_A;
38  const MaterialProperty<RankFourTensor> & _dstress_dstrain_A;
39 
40  // phase B material properties
41  std::string _base_B;
42  const MaterialProperty<RankTwoTensor> & _stress_B;
43  const MaterialProperty<RankFourTensor> & _dstress_dstrain_B;
44 
45  // global material properties
46  std::string _base_name;
47  MaterialProperty<RankTwoTensor> & _stress;
48  MaterialProperty<RankFourTensor> & _dstress_dstrain;
49 };
50 
51 #endif // TWOPHASESTRESSMATERIAL_H
const MaterialProperty< RankTwoTensor > & _stress_A
Construct a global strain from the phase strains in a manner that is consistent with the construction...
MaterialProperty< RankTwoTensor > & _stress
const MaterialProperty< RankFourTensor > & _dstress_dstrain_B
InputParameters validParams< TwoPhaseStressMaterial >()
TwoPhaseStressMaterial(const InputParameters &parameters)
MaterialProperty< RankFourTensor > & _dstress_dstrain
const MaterialProperty< RankTwoTensor > & _stress_B
const MaterialProperty< RankFourTensor > & _dstress_dstrain_A
const MaterialProperty< Real > & _h_eta