www.mooseframework.org
ComputeLinearElasticPFFractureStress.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
13 #include "MooseEnum.h"
14 #include "GuaranteeConsumer.h"
15 
22  public GuaranteeConsumer
23 {
24 public:
26 
28 
29  void initialSetup() override;
30 
31 protected:
32  virtual void computeQpStress() override;
33 
39  void computeStrainSpectral(Real & F_pos, Real & F_neg);
40 
46  void computeStrainVolDev(Real & F_pos, Real & F_neg);
47 
53  void computeStressSpectral(Real & F_pos, Real & F_neg);
54 
56  enum class Decomposition_type
57  {
61  none
63 };
virtual void computeQpStress() override
Compute the stress and store it in the _stress material property for the current quadrature point...
ComputePFFractureStressBase is the base class for stress in phase field fracture model.
void computeStrainSpectral(Real &F_pos, Real &F_neg)
Method to split elastic energy based on strain spectral decomposition.
void computeStressSpectral(Real &F_pos, Real &F_neg)
Method to split elastic energy based on stress spectral decomposition.
enum ComputeLinearElasticPFFractureStress::Decomposition_type _decomposition_type
Phase-field fracture This class computes the stress and energy contribution for the small strain Line...
ComputeLinearElasticPFFractureStress(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
void computeStrainVolDev(Real &F_pos, Real &F_neg)
Method to split elastic energy based on strain volumetric/deviatoric decomposition.
Add-on class that provides the functionality to check if guarantees for material properties are provi...