www.mooseframework.org
ComputeInterfaceStress.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 COMPUTEINTERFACESTRESS_H
8 #define COMPUTEINTERFACESTRESS_H
9 
10 #include "Material.h"
11 
13 class RankTwoTensor;
14 
15 template <>
16 InputParameters validParams<ComputeInterfaceStress>();
17 
22 class ComputeInterfaceStress : public Material
23 {
24 public:
25  ComputeInterfaceStress(const InputParameters & parameters);
26 
27 protected:
28  virtual void computeQpProperties() override;
29 
30  const VariableGradient & _grad_v;
31  const Real _stress;
32 
33  MaterialProperty<RankTwoTensor> & _planar_stress;
34 };
35 
36 #endif // COMPUTEINTERFACESTRESS_H
ComputeInterfaceStress(const InputParameters &parameters)
virtual void computeQpProperties() override
const VariableGradient & _grad_v
MaterialProperty< RankTwoTensor > & _planar_stress
InputParameters validParams< ComputeInterfaceStress >()
Calculates an Extra-Stress tensor that lies in the plane of an interface defined by the gradient of a...