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

Phase-field fracture model This class computes the contribution to residual and jacobian of the variable beta by the grad of c (damage variable) Refer to formulation: Miehe et. More...

#include <PFFracCoupledInterface.h>

Inheritance diagram for PFFracCoupledInterface:
[legend]

Public Member Functions

 PFFracCoupledInterface (const InputParameters &parameters)
 

Protected Member Functions

virtual RealGradient precomputeQpResidual ()
 
virtual RealGradient precomputeQpJacobian ()
 
virtual Real computeQpOffDiagJacobian (unsigned int jvar)
 

Protected Attributes

const VariableValue & _c
 
const VariableGradient & _grad_c
 
unsigned int _c_var
 

Detailed Description

Phase-field fracture model This class computes the contribution to residual and jacobian of the variable beta by the grad of c (damage variable) Refer to formulation: Miehe et.

al., Int. J. Num. Methods Engg., 2010, 83. 1273-1311 Equation 63

Definition at line 24 of file PFFracCoupledInterface.h.

Constructor & Destructor Documentation

PFFracCoupledInterface::PFFracCoupledInterface ( const InputParameters &  parameters)

Definition at line 20 of file PFFracCoupledInterface.C.

21  : KernelGrad(parameters),
22  _c(coupledValue("c")),
23  _grad_c(coupledGradient("c")),
24  _c_var(coupled("c"))
25 {
26 }
const VariableGradient & _grad_c
const VariableValue & _c

Member Function Documentation

Real PFFracCoupledInterface::computeQpOffDiagJacobian ( unsigned int  jvar)
protectedvirtual

Definition at line 41 of file PFFracCoupledInterface.C.

42 {
43  if (jvar == _c_var)
44  return _grad_test[_i][_qp] * _grad_phi[_j][_qp];
45  else
46  return 0.0;
47 }
RealGradient PFFracCoupledInterface::precomputeQpJacobian ( )
protectedvirtual

Definition at line 35 of file PFFracCoupledInterface.C.

36 {
37  return 0.0;
38 }
RealGradient PFFracCoupledInterface::precomputeQpResidual ( )
protectedvirtual

Definition at line 29 of file PFFracCoupledInterface.C.

30 {
31  return _grad_c[_qp];
32 }
const VariableGradient & _grad_c

Member Data Documentation

const VariableValue& PFFracCoupledInterface::_c
protected

Definition at line 34 of file PFFracCoupledInterface.h.

unsigned int PFFracCoupledInterface::_c_var
protected

Definition at line 36 of file PFFracCoupledInterface.h.

Referenced by computeQpOffDiagJacobian().

const VariableGradient& PFFracCoupledInterface::_grad_c
protected

Definition at line 35 of file PFFracCoupledInterface.h.

Referenced by precomputeQpResidual().


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