https://mooseframework.inl.gov
PolycrystalDiffusivity.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 
12 #include "Material.h"
14 
20 {
21 public:
23 
25  virtual void computeQpProperties();
26 
27 protected:
29  const VariableValue & _c;
30  VariableName _c_name;
31  const unsigned int _op_num;
32  std::vector<const VariableValue *> _vals;
33 
35  const MaterialPropertyName _diff_name;
38  std::vector<MaterialProperty<Real> *> _dDdv;
39 
45  std::vector<const MaterialProperty<Real> *> _dhbdv;
46  std::vector<const MaterialProperty<Real> *> _dhmdv;
47 
52  const Real _diff_gb;
53  const Real _s_weight;
55  const Real _b_weight;
56  const Real _v_weight;
57 };
const Real _diff_bulk
Input parameters.
std::vector< const MaterialProperty< Real > * > _dhbdv
const MaterialProperty< Real > & _hm
std::vector< const VariableValue * > _vals
MaterialProperty< Real > * _dDdc
std::vector< MaterialProperty< Real > * > _dDdv
std::vector< const MaterialProperty< Real > * > _dhmdv
MaterialProperty< Real > & _diff
Generates a diffusion function to distinguish between the solid, void, grain boundary, and surface diffusion rates.
const VariableValue & _c
Variable values for concentration and order parameters.
OutputTools< Real >::VariableValue VariableValue
const MaterialPropertyName _diff_name
Mateiral property and its derivatives declarations.
const MaterialProperty< Real > & _dhbdc
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const InputParameters & parameters() const
const MaterialProperty< Real > & _dhmdc
PolycrystalDiffusivity(const InputParameters &parameters)
const MaterialProperty< Real > & _hb
Switching function material and its derivatives.