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 23 of file CrackTipEnrichmentCutOffBC.h.

Constructor & Destructor Documentation

CrackTipEnrichmentCutOffBC::CrackTipEnrichmentCutOffBC ( const InputParameters &  parameters)

Definition at line 23 of file CrackTipEnrichementCutOffBC.C.

24  : PresetBC(parameters),
25  _cut_off_radius(getParam<Real>("cut_off_radius")),
26  _crack_front_definition(&getUserObject<CrackFrontDefinition>("crack_front_definition"))
27 {
28 }
const CrackFrontDefinition * _crack_front_definition

Member Function Documentation

bool CrackTipEnrichmentCutOffBC::shouldApply ( )
overrideprotectedvirtual

Definition at line 31 of file CrackTipEnrichementCutOffBC.C.

32 {
33  Real r, theta;
34  _crack_front_definition->calculateRThetaToCrackFront((*_current_node), r, theta);
35 
36  if (r > _cut_off_radius)
37  return true;
38  else
39  return false;
40 }
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

const CrackFrontDefinition* CrackTipEnrichmentCutOffBC::_crack_front_definition
private

Definition at line 34 of file CrackTipEnrichmentCutOffBC.h.

Referenced by shouldApply().

const Real CrackTipEnrichmentCutOffBC::_cut_off_radius
protected

Definition at line 31 of file CrackTipEnrichmentCutOffBC.h.

Referenced by shouldApply().


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