www.mooseframework.org
NodalRankTwoPD.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 "AuxKernelBasePD.h"
13 #include "RankTwoTensor.h"
14 #include "RankFourTensor.h"
15 
16 class NodalRankTwoPD;
17 class PeridynamicsMesh;
18 
19 template <>
20 InputParameters validParams<NodalRankTwoPD>();
21 
27 {
28 public:
29  NodalRankTwoPD(const InputParameters & parameters);
30 
31 protected:
32  Real computeValue() override;
33 
39 
45 
51 
52  bool _has_temp;
53 
55  MooseVariable * _temp_var;
56 
58  MooseVariable * _bond_status_var;
59 
62  const VariableValue & _scalar_out_of_plane_strain;
64 
66  const bool _plane_stress;
67 
69  const Real _youngs_modulus;
70  const Real _poissons_ratio;
71  const Real _alpha;
73 
75  const Real _temp_ref;
76 
78  std::string _rank_two_tensor;
79 
81  std::string _output_type;
82 
84  MooseEnum _scalar_type;
85 
87  const unsigned int _i;
88  const unsigned int _j;
90 
92  const Point _point1;
93  const Point _point2;
95 
97  std::vector<MooseVariable *> _disp_var;
98 
101 };
NodalRankTwoPD::_poissons_ratio
const Real _poissons_ratio
Definition: NodalRankTwoPD.h:70
NodalRankTwoPD::_bond_status_var
MooseVariable * _bond_status_var
bond_status variable
Definition: NodalRankTwoPD.h:58
NodalRankTwoPD::computeNodalTotalStrain
virtual RankTwoTensor computeNodalTotalStrain()
Function to compute the total strain tensor at each discrete material point.
Definition: NodalRankTwoPD.C:137
validParams< NodalRankTwoPD >
InputParameters validParams< NodalRankTwoPD >()
Definition: NodalRankTwoPD.C:18
NodalRankTwoPD::_has_temp
bool _has_temp
Definition: NodalRankTwoPD.h:52
NodalRankTwoPD::_j
const unsigned int _j
Definition: NodalRankTwoPD.h:88
NodalRankTwoPD
Aux Kernel class to postprocess and output the strain and stress components and equivalents for perid...
Definition: NodalRankTwoPD.h:26
NodalRankTwoPD::computeNodalStress
virtual RankTwoTensor computeNodalStress()
Function to compute the stress tensor at each discrete materials point.
Definition: NodalRankTwoPD.C:222
PeridynamicsMesh
Peridynamics mesh class.
Definition: PeridynamicsMesh.h:25
NodalRankTwoPD::_i
const unsigned int _i
component index
Definition: NodalRankTwoPD.h:87
AuxKernelBasePD.h
NodalRankTwoPD::_temp_var
MooseVariable * _temp_var
coupled temperature variable
Definition: NodalRankTwoPD.h:55
NodalRankTwoPD::computeValue
Real computeValue() override
Definition: NodalRankTwoPD.C:111
NodalRankTwoPD::_Cijkl
RankFourTensor _Cijkl
elasticity tensor
Definition: NodalRankTwoPD.h:100
NodalRankTwoPD::_disp_var
std::vector< MooseVariable * > _disp_var
@
Definition: NodalRankTwoPD.h:97
NodalRankTwoPD::_alpha
const Real _alpha
Definition: NodalRankTwoPD.h:71
NodalRankTwoPD::_plane_stress
const bool _plane_stress
plane stress problem or not
Definition: NodalRankTwoPD.h:66
NodalRankTwoPD::_point1
const Point _point1
Points for direction dependent scalar output.
Definition: NodalRankTwoPD.h:92
NodalRankTwoPD::_youngs_modulus
const Real _youngs_modulus
material constants
Definition: NodalRankTwoPD.h:69
RankFourTensorTempl< Real >
NodalRankTwoPD::_point2
const Point _point2
Definition: NodalRankTwoPD.h:93
NodalRankTwoPD::NodalRankTwoPD
NodalRankTwoPD(const InputParameters &parameters)
Definition: NodalRankTwoPD.C:58
NodalRankTwoPD::_scalar_type
MooseEnum _scalar_type
specific scalar type to be output
Definition: NodalRankTwoPD.h:84
AuxKernelBasePD
Peridynamic Aux Kernel base class.
Definition: AuxKernelBasePD.h:23
NodalRankTwoPD::computeNodalMechanicalStrain
virtual RankTwoTensor computeNodalMechanicalStrain()
Function to compute the elastic strain tensor at each discrete material point.
Definition: NodalRankTwoPD.C:207
RankTwoTensorTempl< Real >
NodalRankTwoPD::_output_type
std::string _output_type
output type: component or scalar
Definition: NodalRankTwoPD.h:81
NodalRankTwoPD::_scalar_out_of_plane_strain
const VariableValue & _scalar_out_of_plane_strain
Definition: NodalRankTwoPD.h:62
NodalRankTwoPD::_scalar_out_of_plane_strain_coupled
bool _scalar_out_of_plane_strain_coupled
variable for generalized plane strain cases
Definition: NodalRankTwoPD.h:61
NodalRankTwoPD::_temp_ref
const Real _temp_ref
reference temperature
Definition: NodalRankTwoPD.h:75
NodalRankTwoPD::_rank_two_tensor
std::string _rank_two_tensor
name of rank two tensor to be processed: total_strain, mechanical_strain or stress
Definition: NodalRankTwoPD.h:78