www.mooseframework.org
GBAnisotropyBase.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef GBANISOTROPYBASE_H
8 #define GBANISOTROPYBASE_H
9 
10 #include "Material.h"
11 
12 // Forward Declarations
13 class GBAnisotropyBase;
14 
15 template <>
16 InputParameters validParams<GBAnisotropyBase>();
17 
23 class GBAnisotropyBase : public Material
24 {
25 public:
26  GBAnisotropyBase(const InputParameters & parameters);
27 
28 protected:
29  virtual void computeQpProperties();
30 
31  const unsigned int _mesh_dimension;
32 
33  const Real _length_scale;
34  const Real _time_scale;
35  const Real _M_V;
36  const Real _delta_sigma;
37  const Real _delta_mob;
38 
39  const FileName _Anisotropic_GB_file_name;
40 
42 
43  const VariableValue & _T;
44 
45  std::vector<std::vector<Real>> _sigma;
46  std::vector<std::vector<Real>> _mob;
47  std::vector<std::vector<Real>> _Q;
48  std::vector<std::vector<Real>> _kappa_gamma;
49  std::vector<std::vector<Real>> _a_g2;
50 
51  MaterialProperty<Real> & _kappa;
52  MaterialProperty<Real> & _gamma;
53  MaterialProperty<Real> & _L;
54  MaterialProperty<Real> & _mu;
55 
56  MaterialProperty<Real> & _molar_volume;
57  MaterialProperty<Real> & _entropy_diff;
58  MaterialProperty<Real> & _act_wGB;
59 
60  const Real _kb;
61  const Real _JtoeV;
62  Real _mu_qp;
63 
64  const unsigned int _op_num;
65 
66  std::vector<const VariableValue *> _vals;
67  std::vector<const VariableGradient *> _grad_vals;
68 };
69 
70 #endif // GBANISOTROPYBASE_H
MaterialProperty< Real > & _kappa
const Real _delta_sigma
std::vector< std::vector< Real > > _Q
const unsigned int _op_num
const Real _delta_mob
std::vector< std::vector< Real > > _a_g2
MaterialProperty< Real > & _act_wGB
const VariableValue & _T
InputParameters validParams< GBAnisotropyBase >()
virtual void computeQpProperties()
std::vector< std::vector< Real > > _sigma
const FileName _Anisotropic_GB_file_name
MaterialProperty< Real > & _L
MaterialProperty< Real > & _entropy_diff
const unsigned int _mesh_dimension
MaterialProperty< Real > & _molar_volume
std::vector< const VariableGradient * > _grad_vals
const bool _inclination_anisotropy
std::vector< std::vector< Real > > _kappa_gamma
const Real _length_scale
std::vector< std::vector< Real > > _mob
const Real _time_scale
std::vector< const VariableValue * > _vals
MaterialProperty< Real > & _mu
GBAnisotropyBase(const InputParameters &parameters)
Function[kappa, gamma, m, L] = parameters (sigma, mob, w_GB, sigma0) Parameter determination method i...
MaterialProperty< Real > & _gamma