Go to the documentation of this file.
11 #include "RankTwoTensor.h"
12 #include "AuxiliarySystem.h"
19 params.addClassDescription(
20 "Base class for calculating components and scalar type quantities of nodal rank-two stress "
21 "and strain tensors from material properties (stress and strain) for edge elements "
22 "(i.e., bonds) connected at that node. NOTE: This UserObject only applies to SNOSPD model.");
24 params.addRequiredParam<MaterialPropertyName>(
25 "rank_two_tensor",
"Name of the nodal rank two tensors (stress/strains)");
27 params.set<ExecFlagEnum>(
"execute_on") = EXEC_TIMESTEP_END;
34 _tensor(getMaterialProperty<
RankTwoTensor>(
"rank_two_tensor"))
41 dof_id_type id_j_in_i =
InputParameters validParams< NodalRankTwoUserObjectBasePD >()
UserObject base class to compute nodal quantities stored as AuxVariable at a material point based on ...
virtual void computeValue(unsigned int id, dof_id_type dof) override
Function to assemble elemental quantities to nodal AuxVariable at a material point.
InputParameters validParams< NodalAuxVariableUserObjectBasePD >()
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.
virtual void gatherWeightedValue(unsigned int id, dof_id_type dof, Real dg_vol_frac)=0
Function to gather bond-associated quantities to each material point.
NodalRankTwoUserObjectBasePD(const InputParameters ¶meters)
MooseVariable * _bond_status_var
Bond status aux variable.
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...