www.mooseframework.org
HEVPFlowRatePowerLawJ2.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 HEVPFLOWRATEPOWERLAWJ2_H
8 #define HEVPFLOWRATEPOWERLAWJ2_H
9 
10 #include "HEVPFlowRateUOBase.h"
11 
13 
14 template <>
15 InputParameters validParams<HEVPFlowRatePowerLawJ2>();
16 
23 {
24 public:
25  HEVPFlowRatePowerLawJ2(const InputParameters & parameters);
26 
27  virtual bool computeValue(unsigned int, Real &) const;
28  virtual bool computeDirection(unsigned int, RankTwoTensor &) const;
29  virtual bool computeDerivative(unsigned int, const std::string &, Real &) const;
30  virtual bool computeTensorDerivative(unsigned int, const std::string &, RankTwoTensor &) const;
31 
32 protected:
36 
37  RankTwoTensor computePK2Deviatoric(const RankTwoTensor &, const RankTwoTensor &) const;
38  Real computeEqvStress(const RankTwoTensor &, const RankTwoTensor &) const;
39 };
40 
41 #endif
Real computeEqvStress(const RankTwoTensor &, const RankTwoTensor &) const
RankTwoTensor computePK2Deviatoric(const RankTwoTensor &, const RankTwoTensor &) const
InputParameters validParams< HEVPFlowRatePowerLawJ2 >()
virtual bool computeDerivative(unsigned int, const std::string &, Real &) const
virtual bool computeTensorDerivative(unsigned int, const std::string &, RankTwoTensor &) const
virtual bool computeDirection(unsigned int, RankTwoTensor &) const
This user object is a pure virtual base classs Derived classes computes flow rate, direction and derivatives.
virtual bool computeValue(unsigned int, Real &) const
HEVPFlowRatePowerLawJ2(const InputParameters &parameters)
This user object classs Computes flow rate based on power law and Direction based on J2...