Go to the documentation of this file.
11 #include "RankFourTensor.h"
21 params.addClassDescription(
"Class for calculating the scalar residual and diagonal Jacobian "
22 "entry of generalized plane strain in OSPD formulation");
24 params.addCoupledVar(
"out_of_plane_stress_variable",
25 "Auxiliary variable name for out-of-plane stress in GPS simulation");
31 const InputParameters & parameters)
33 _out_of_plane_stress_var(getVar(
"out_of_plane_stress_variable", 0))
41 dof_id_type node_i = _current_elem->node_id(0);
42 dof_id_type node_j = _current_elem->node_id(1);
45 Point coord_i = *
_pdmesh.nodePtr(node_i);
46 Point coord_j = *
_pdmesh.nodePtr(node_j);
const Function & _pressure
Applied out-of-plane force parameters.
virtual void execute() override
Real getPDNodeVolume(dof_id_type node_id)
Function to return nodal volume for node node_id.
GeneralizedPlaneStrainUserObjectOSPD(const InputParameters ¶meters)
InputParameters validParams< GeneralizedPlaneStrainUserObjectBasePD >()
InputParameters validParams< GeneralizedPlaneStrainUserObjectOSPD >()
Real _jacobian
Jacobian parameter.
Base userObject class to compute the residual and diagonal Jacobian components for scalar out-of-plan...
const MaterialProperty< RankFourTensor > & _Cijkl
Elasticity tensor.
std::vector< dof_id_type > getNeighbors(dof_id_type node_id)
Function to return neighbor nodes indices for node node_id.
registerMooseObject("PeridynamicsApp", GeneralizedPlaneStrainUserObjectOSPD)
Real _residual
Residual parameter.
MooseVariable * _out_of_plane_stress_var
Variable for out-of-plane stress component.
UserObject class to compute the residual and diagonal Jacobian components for scalar out-of-plane str...
PeridynamicsMesh & _pdmesh
Reference to Peridynamic mesh.