www.mooseframework.org
SphericalR.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 "Element.h"
13 
14 // Forward Declarations
16 
17 namespace SolidMechanics
18 {
19 
20 class SphericalR : public Element
21 {
22 public:
23  SphericalR(SolidModel & solid_model,
24  const std::string & name,
25  const InputParameters & parameters);
26  virtual ~SphericalR();
27 
28 protected:
29  virtual void computeStrain(const unsigned qp,
30  const SymmTensor & total_strain_old,
31  SymmTensor & total_strain_new,
32  SymmTensor & strain_increment);
33 
34  virtual unsigned int getNumKnownCrackDirs() const { return 2; }
35 
36  const VariableValue & _disp_r;
37 
38  const bool _large_strain;
39 
40  const VariableGradient & _grad_disp_r;
41 };
42 }
43 
SolidMechanics::SphericalR::SphericalR
SphericalR(SolidModel &solid_model, const std::string &name, const InputParameters &parameters)
Definition: SphericalR.C:18
SolidMechanics::SphericalR::_disp_r
const VariableValue & _disp_r
Definition: SphericalR.h:36
SolidMechanics::SphericalR::getNumKnownCrackDirs
virtual unsigned int getNumKnownCrackDirs() const
Definition: SphericalR.h:34
Element.h
SolidMechanics::SphericalR::~SphericalR
virtual ~SphericalR()
Definition: SphericalR.C:28
SymmElasticityTensor
This class defines a basic set of capabilities any elasticity tensor should have.
Definition: SymmElasticityTensor.h:55
SolidMechanics
Definition: AxisymmetricRZ.h:16
SolidMechanics::SphericalR
Definition: SphericalR.h:20
SolidModel
SolidModel is the base class for all this module's solid mechanics material models.
Definition: SolidModel.h:33
name
const std::string name
Definition: Setup.h:21
SolidMechanics::Element
Element is the base class for all of this module's solid mechanics element formulations.
Definition: Element.h:25
SolidMechanics::SphericalR::_large_strain
const bool _large_strain
Definition: SphericalR.h:38
SymmTensor
Definition: SymmTensor.h:21
SolidMechanics::SphericalR::computeStrain
virtual void computeStrain(const unsigned qp, const SymmTensor &total_strain_old, SymmTensor &total_strain_new, SymmTensor &strain_increment)
Definition: SphericalR.C:31
SolidMechanics::SphericalR::_grad_disp_r
const VariableGradient & _grad_disp_r
Definition: SphericalR.h:40