www.mooseframework.org
ComputeInterfaceStress.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Material.h"
13 
15 template <typename>
18 
19 template <>
20 InputParameters validParams<ComputeInterfaceStress>();
21 
26 class ComputeInterfaceStress : public Material
27 {
28 public:
29  static InputParameters validParams();
30 
31  ComputeInterfaceStress(const InputParameters & parameters);
32 
33 protected:
34  virtual void computeQpProperties() override;
35 
36  std::size_t _nvar;
37  std::vector<const VariableGradient *> _grad_v;
38  std::vector<Real> _op_range;
39  std::vector<Real> _stress;
40 
41  MaterialProperty<RankTwoTensor> & _planar_stress;
42 };
ComputeInterfaceStress::_nvar
std::size_t _nvar
Definition: ComputeInterfaceStress.h:36
ComputeInterfaceStress::_op_range
std::vector< Real > _op_range
Definition: ComputeInterfaceStress.h:38
ComputeInterfaceStress::ComputeInterfaceStress
ComputeInterfaceStress(const InputParameters &parameters)
Definition: ComputeInterfaceStress.C:43
ComputeInterfaceStress::computeQpProperties
virtual void computeQpProperties() override
Definition: ComputeInterfaceStress.C:70
RankTwoTensor
RankTwoTensorTempl< Real > RankTwoTensor
Definition: ComputeInterfaceStress.h:16
ComputeInterfaceStress::_stress
std::vector< Real > _stress
Definition: ComputeInterfaceStress.h:39
ComputeInterfaceStress::validParams
static InputParameters validParams()
Definition: ComputeInterfaceStress.C:18
ComputeInterfaceStress::_planar_stress
MaterialProperty< RankTwoTensor > & _planar_stress
Definition: ComputeInterfaceStress.h:41
ComputeInterfaceStress
Calculates an Extra-Stress tensor that lies in the plane of an interface defined by the gradient of a...
Definition: ComputeInterfaceStress.h:26
validParams< ComputeInterfaceStress >
InputParameters validParams< ComputeInterfaceStress >()
RankTwoTensorTempl
Definition: ACGrGrElasticDrivingForce.h:17
ComputeInterfaceStress::_grad_v
std::vector< const VariableGradient * > _grad_v
Definition: ComputeInterfaceStress.h:37