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

#include <PFCTradMaterial.h>

Inheritance diagram for PFCTradMaterial:
[legend]

Public Member Functions

 PFCTradMaterial (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeQpProperties ()
 

Private Attributes

const unsigned int _order
 
MaterialProperty< Real > & _M
 
MaterialProperty< Real > & _a
 
MaterialProperty< Real > & _b
 
MaterialProperty< Real > & _C0
 
MaterialProperty< Real > & _C2
 
MaterialProperty< Real > & _C4
 
MaterialProperty< Real > & _C6
 
MaterialProperty< Real > & _C8
 

Detailed Description

Definition at line 21 of file PFCTradMaterial.h.

Constructor & Destructor Documentation

◆ PFCTradMaterial()

PFCTradMaterial::PFCTradMaterial ( const InputParameters &  parameters)

Definition at line 27 of file PFCTradMaterial.C.

28  : Material(parameters),
29  _order(getParam<MooseEnum>("order")),
30  _M(declareProperty<Real>("M")),
31  _a(declareProperty<Real>("a")),
32  _b(declareProperty<Real>("b")),
33  _C0(declareProperty<Real>("C0")),
34  _C2(declareProperty<Real>("C2")),
35  _C4(declareProperty<Real>("C4")),
36  _C6(declareProperty<Real>("C6")),
37  _C8(declareProperty<Real>("C8"))
38 {
39 }
MaterialProperty< Real > & _C0
MaterialProperty< Real > & _M
MaterialProperty< Real > & _C2
MaterialProperty< Real > & _C4
const unsigned int _order
MaterialProperty< Real > & _C8
MaterialProperty< Real > & _b
MaterialProperty< Real > & _C6
MaterialProperty< Real > & _a

Member Function Documentation

◆ computeQpProperties()

void PFCTradMaterial::computeQpProperties ( )
protectedvirtual

Definition at line 42 of file PFCTradMaterial.C.

43 {
44  const Real invSkm = 0.332;
45  const Real u_s = 0.72;
46 
47  _M[_qp] = 1.0;
48  _a[_qp] = 3.0 / (2.0 * u_s) * invSkm;
49  _b[_qp] = 4.0 / (30.0 * u_s * u_s) * invSkm;
50 
51  switch (_order)
52  {
53  case 4:
54  _C0[_qp] = -10.9153;
55  _C2[_qp] = 2.6; // Angstrom^2
56  _C4[_qp] = 0.1459; // Angstrom^4, would be negative but coefficient term is negative
57  break;
58 
59  case 8:
60  _C0[_qp] = -49.0;
61  // new parameter derived from Jaatinen's paper; using km = 2.985 A; updated 1/31/2015.
62  _C2[_qp] = 20.00313; // Angstrom^2
63  _C4[_qp] = 3.11883; // Angstrom^4, would be negative but coefficient term is negative
64  _C6[_qp] = 0.22554; // Angstrom^6
65  _C8[_qp] = 0.00643; // Angstrom^8, would be negative but coefficient term is negative
66  break;
67 
68  default:
69  mooseError("Unknown order value.");
70  }
71 }
MaterialProperty< Real > & _C0
MaterialProperty< Real > & _M
MaterialProperty< Real > & _C2
MaterialProperty< Real > & _C4
const unsigned int _order
MaterialProperty< Real > & _C8
MaterialProperty< Real > & _b
MaterialProperty< Real > & _C6
MaterialProperty< Real > & _a

Member Data Documentation

◆ _a

MaterialProperty<Real>& PFCTradMaterial::_a
private

Definition at line 33 of file PFCTradMaterial.h.

Referenced by computeQpProperties().

◆ _b

MaterialProperty<Real>& PFCTradMaterial::_b
private

Definition at line 34 of file PFCTradMaterial.h.

Referenced by computeQpProperties().

◆ _C0

MaterialProperty<Real>& PFCTradMaterial::_C0
private

Definition at line 36 of file PFCTradMaterial.h.

Referenced by computeQpProperties().

◆ _C2

MaterialProperty<Real>& PFCTradMaterial::_C2
private

Definition at line 37 of file PFCTradMaterial.h.

Referenced by computeQpProperties().

◆ _C4

MaterialProperty<Real>& PFCTradMaterial::_C4
private

Definition at line 38 of file PFCTradMaterial.h.

Referenced by computeQpProperties().

◆ _C6

MaterialProperty<Real>& PFCTradMaterial::_C6
private

Definition at line 39 of file PFCTradMaterial.h.

Referenced by computeQpProperties().

◆ _C8

MaterialProperty<Real>& PFCTradMaterial::_C8
private

Definition at line 40 of file PFCTradMaterial.h.

Referenced by computeQpProperties().

◆ _M

MaterialProperty<Real>& PFCTradMaterial::_M
private

Definition at line 32 of file PFCTradMaterial.h.

Referenced by computeQpProperties().

◆ _order

const unsigned int PFCTradMaterial::_order
private

Definition at line 30 of file PFCTradMaterial.h.

Referenced by computeQpProperties().


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