www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
CrackTipEnrichmentCutOffBC Class Reference

CrackTipEnrichmentCutOffBC is used in XFEM Crack Tip Enrichment to fix DOFs to zero for those nodes with basis function supports that are far away from any crack tip. More...

#include <CrackTipEnrichmentCutOffBC.h>

Inheritance diagram for CrackTipEnrichmentCutOffBC:
[legend]

Public Member Functions

 CrackTipEnrichmentCutOffBC (const InputParameters &parameters)
 

Protected Member Functions

virtual bool shouldApply () override
 

Protected Attributes

const Real _cut_off_radius
 

Private Attributes

const CrackFrontDefinition_crack_front_definition
 

Detailed Description

CrackTipEnrichmentCutOffBC is used in XFEM Crack Tip Enrichment to fix DOFs to zero for those nodes with basis function supports that are far away from any crack tip.

Definition at line 25 of file CrackTipEnrichmentCutOffBC.h.

Constructor & Destructor Documentation

◆ CrackTipEnrichmentCutOffBC()

CrackTipEnrichmentCutOffBC::CrackTipEnrichmentCutOffBC ( const InputParameters &  parameters)

Definition at line 27 of file CrackTipEnrichmentCutOffBC.C.

28  : PresetBC(parameters),
29  _cut_off_radius(getParam<Real>("cut_off_radius")),
30  _crack_front_definition(&getUserObject<CrackFrontDefinition>("crack_front_definition"))
31 {
32 }
const CrackFrontDefinition * _crack_front_definition

Member Function Documentation

◆ shouldApply()

bool CrackTipEnrichmentCutOffBC::shouldApply ( )
overrideprotectedvirtual

Definition at line 35 of file CrackTipEnrichmentCutOffBC.C.

36 {
37  Real r, theta;
38  _crack_front_definition->calculateRThetaToCrackFront((*_current_node), r, theta);
39 
40  if (r > _cut_off_radius)
41  return true;
42  else
43  return false;
44 }
void calculateRThetaToCrackFront(const Point qp, const unsigned int point_index, Real &r, Real &theta) const
calculate r and theta in the crack front polar cooridnate
const CrackFrontDefinition * _crack_front_definition

Member Data Documentation

◆ _crack_front_definition

const CrackFrontDefinition* CrackTipEnrichmentCutOffBC::_crack_front_definition
private

Definition at line 36 of file CrackTipEnrichmentCutOffBC.h.

Referenced by shouldApply().

◆ _cut_off_radius

const Real CrackTipEnrichmentCutOffBC::_cut_off_radius
protected

Definition at line 33 of file CrackTipEnrichmentCutOffBC.h.

Referenced by shouldApply().


The documentation for this class was generated from the following files: