https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeCrackTipEnrichmentSmallStrain.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "Material.h"
13#include "RankTwoTensor.h"
14#include "RankFourTensor.h"
15#include "RotationTensor.h"
16#include "ComputeStrainBase.h"
17#include "Assembly.h"
20
26{
27public:
29
32
33protected:
34 virtual void computeProperties() override;
35
36 virtual void computeQpProperties() override;
37
39 std::vector<Real> _enrich_disp;
40
42 std::vector<RealVectorValue> _grad_enrich_disp;
43
45 std::vector<std::vector<MooseVariableFEBase *>> _enrich_variable;
46
49
52
53private:
55 std::vector<Real> _B;
57 std::vector<RealVectorValue> _dBX;
59 std::vector<RealVectorValue> _dBx;
61 std::vector<std::vector<Real>> _BI;
63 const std::vector<std::vector<Real>> * _fe_phi;
65 const std::vector<std::vector<RealGradient>> * _fe_dphi;
67 const NumericVector<Number> * _sln;
68};
ComputeCrackTipEnrichmentSmallStrain calculates the sum of standard strain and enrichement strain.
const std::vector< std::vector< Real > > * _fe_phi
shape function
std::vector< RealVectorValue > _dBX
derivatives of enrichment function respect to global cooridnate
std::vector< RealVectorValue > _grad_enrich_disp
gradient of enrichment displacement
std::vector< std::vector< MooseVariableFEBase * > > _enrich_variable
enrichment displacement variables
const std::vector< std::vector< RealGradient > > * _fe_dphi
gradient of shape function
std::vector< Real > _enrich_disp
enrichment displacement
std::vector< Real > _B
enrichment function value
const VariablePhiGradient & _grad_phi
gradient of the shape function
std::vector< std::vector< Real > > _BI
enrichment function at node I
std::vector< RealVectorValue > _dBx
derivatives of enrichment function respect to crack front cooridnate
const VariablePhiValue & _phi
the current shape functions
ComputeStrainBase is the base class for strain tensors.
Perform calculation of enrichment function values and derivatives.
VariableShapeGradient< false > VariablePhiGradient
VariableShapeValue< false > VariablePhiValue