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

Calculates the porton of the Allen-Cahn equation that results from the deformation energy. More...

#include <ACGrGrElasticDrivingForce.h>

Inheritance diagram for ACGrGrElasticDrivingForce:
[legend]

Public Member Functions

 ACGrGrElasticDrivingForce (const InputParameters &parameters)
 
virtual void initialSetup ()
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Types

enum  PFFunctionType
 

Protected Member Functions

virtual Real computeDFDOP (PFFunctionType type)
 
virtual Real precomputeQpResidual ()
 
virtual Real precomputeQpJacobian ()
 
virtual Real computeQpOffDiagJacobian (unsigned int jvar)
 

Protected Attributes

const MaterialProperty< Real > & _L
 Mobility. More...
 
const MaterialProperty< Real > & _dLdop
 Mobility derivative w.r.t. order parameter. More...
 
std::vector< const MaterialProperty< Real > * > _dLdarg
 Mobility derivative w.r.t coupled variables. More...
 

Private Attributes

const MaterialProperty< RankFourTensor > & _D_elastic_tensor
 
const MaterialProperty< RankTwoTensor > & _elastic_strain
 

Detailed Description

Calculates the porton of the Allen-Cahn equation that results from the deformation energy.

Must access the elastic_strain stored as a material property Requires the name of the elastic tensor derivative as an input.

Definition at line 26 of file ACGrGrElasticDrivingForce.h.

Member Enumeration Documentation

enum ACBulk::PFFunctionType
protectedinherited

Definition at line 35 of file ACBulk.h.

Constructor & Destructor Documentation

ACGrGrElasticDrivingForce::ACGrGrElasticDrivingForce ( const InputParameters &  parameters)

Definition at line 24 of file ACGrGrElasticDrivingForce.C.

25  : ACBulk<Real>(parameters),
26  _D_elastic_tensor(getMaterialProperty<RankFourTensor>("D_tensor_name")),
27  _elastic_strain(getMaterialPropertyByName<RankTwoTensor>("elastic_strain"))
28 {
29 }
const MaterialProperty< RankFourTensor > & _D_elastic_tensor
const MaterialProperty< RankTwoTensor > & _elastic_strain

Member Function Documentation

Real ACGrGrElasticDrivingForce::computeDFDOP ( PFFunctionType  type)
protectedvirtual

Implements ACBulk< Real >.

Definition at line 32 of file ACGrGrElasticDrivingForce.C.

33 {
34  // Access the heterogeneous strain calculated by the Solid Mechanics kernels
35  RankTwoTensor strain(_elastic_strain[_qp]);
36 
37  // Compute the partial derivative of the stress wrt the order parameter
38  RankTwoTensor D_stress = _D_elastic_tensor[_qp] * strain;
39 
40  switch (type)
41  {
42  case Residual:
43  return 0.5 *
44  D_stress.doubleContraction(strain); // Compute the deformation energy driving force
45 
46  case Jacobian:
47  return 0.0;
48  }
49 
50  mooseError("Invalid type passed in");
51 }
const MaterialProperty< RankFourTensor > & _D_elastic_tensor
const MaterialProperty< RankTwoTensor > & _elastic_strain
virtual Real ACBulk< Real >::computeQpOffDiagJacobian ( unsigned int  jvar)
protectedvirtualinherited
virtual void ACBulk< Real >::initialSetup ( )
virtualinherited
virtual Real ACBulk< Real >::precomputeQpJacobian ( )
protectedvirtualinherited
virtual Real ACBulk< Real >::precomputeQpResidual ( )
protectedvirtualinherited
static InputParameters ACBulk< Real >::validParams ( )
staticinherited

Member Data Documentation

const MaterialProperty<RankFourTensor>& ACGrGrElasticDrivingForce::_D_elastic_tensor
private

Definition at line 35 of file ACGrGrElasticDrivingForce.h.

Referenced by computeDFDOP().

std::vector<const MaterialProperty<Real > *> ACBulk< Real >::_dLdarg
protectedinherited

Mobility derivative w.r.t coupled variables.

Definition at line 50 of file ACBulk.h.

const MaterialProperty<Real >& ACBulk< Real >::_dLdop
protectedinherited

Mobility derivative w.r.t. order parameter.

Definition at line 47 of file ACBulk.h.

const MaterialProperty<RankTwoTensor>& ACGrGrElasticDrivingForce::_elastic_strain
private

Definition at line 36 of file ACGrGrElasticDrivingForce.h.

Referenced by computeDFDOP().

const MaterialProperty<Real >& ACBulk< Real >::_L
protectedinherited

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