https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
21public:
23
24 PolycrystalDiffusivity(const InputParameters & parameters);
25 virtual void computeQpProperties();
26
27protected:
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
49 const Real _diff_bulk;
50 const Real _diff_void;
51 const Real _diff_surf;
52 const Real _diff_gb;
53 const Real _s_weight;
54 const Real _gb_weight;
55 const Real _b_weight;
56 const Real _v_weight;
57};
Generates a diffusion function to distinguish between the solid, void, grain boundary,...
const VariableValue & _c
Variable values for concentration and order parameters.
const MaterialProperty< Real > & _dhmdc
const MaterialPropertyName _diff_name
Mateiral property and its derivatives declarations.
const MaterialProperty< Real > & _hm
std::vector< const VariableValue * > _vals
const MaterialProperty< Real > & _hb
Switching function material and its derivatives.
MaterialProperty< Real > * _dDdc
std::vector< const MaterialProperty< Real > * > _dhmdv
std::vector< MaterialProperty< Real > * > _dDdv
std::vector< const MaterialProperty< Real > * > _dhbdv
const Real _diff_bulk
Input parameters.
static InputParameters validParams()
MaterialProperty< Real > & _diff
const MaterialProperty< Real > & _dhbdc
VariableValueTempl< false > VariableValue