Go to the documentation of this file.
11 #include "RankTwoTensor.h"
12 #include "RankFourTensor.h"
22 params.addClassDescription(
"Class for calculating the scalar residual and diagonal Jacobian "
23 "entry of generalized plane strain in SNOSPD formulation");
29 const InputParameters & parameters)
39 dof_id_type node_i = _current_elem->node_id(0);
40 dof_id_type node_j = _current_elem->node_id(1);
43 Point coord_i = *
_pdmesh.nodePtr(node_i);
44 Point coord_j = *
_pdmesh.nodePtr(node_j);
63 _Cijkl[0](2, 2, 2, 2) * nv_i * dg_vol_frac_i +
_Cijkl[1](2, 2, 2, 2) * nv_j * dg_vol_frac_j;
const Function & _pressure
Applied out-of-plane force parameters.
Real getPDNodeVolume(dof_id_type node_id)
Function to return nodal volume for node node_id.
virtual void execute() override
InputParameters validParams< GeneralizedPlaneStrainUserObjectBasePD >()
Real _jacobian
Jacobian parameter.
Base userObject class to compute the residual and diagonal Jacobian components for scalar out-of-plan...
const MaterialProperty< RankTwoTensor > & _stress
Materials property stress.
GeneralizedPlaneStrainUserObjectNOSPD(const InputParameters ¶meters)
UserObject class to compute the residual and diagonal Jacobian components for scalar out-of-plane str...
registerMooseObject("PeridynamicsApp", GeneralizedPlaneStrainUserObjectNOSPD)
const MaterialProperty< RankFourTensor > & _Cijkl
Elasticity tensor.
Real _residual
Residual parameter.
dof_id_type getNeighborIndex(dof_id_type node_i, dof_id_type node_j)
Function to return the local neighbor index of node_j from node_i's neighbor list.
PeridynamicsMesh & _pdmesh
Reference to Peridynamic mesh.
Real getDefGradVolFraction(dof_id_type node_id, dof_id_type neighbor_id)
Function to return summation of volumes of bond-associated neighbors used in the deformation gradient...
InputParameters validParams< GeneralizedPlaneStrainUserObjectNOSPD >()