https://mooseframework.inl.gov
GrandPotentialSinteringMaterial.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 
26 protected:
27  virtual void computeQpProperties();
28 
30  const unsigned int _neta;
31 
33  std::vector<const VariableValue *> _eta;
34  std::vector<VariableName> _eta_name;
35 
37  const VariableValue & _w;
38  const NonlinearVariableName _w_name;
39 
42  const NonlinearVariableName _phi_name;
43 
45  const MaterialPropertyName _cs_eq_name;
47  std::vector<const MaterialProperty<Real> *> _dcs_eq;
48  std::vector<std::vector<const MaterialProperty<Real> *>> _d2cs_eq;
49 
51  const VariableValue & _T;
52 
57 
62 
67 
75 
79 
84  std::vector<MaterialProperty<Real> *> _drhos;
85  std::vector<MaterialProperty<Real> *> _d2rhosdwdeta;
86  std::vector<std::vector<MaterialProperty<Real> *>> _d2rhos;
87 
92 
97  std::vector<MaterialProperty<Real> *> _domegasdeta;
98  std::vector<MaterialProperty<Real> *> _d2omegasdwdeta;
99  std::vector<std::vector<MaterialProperty<Real> *>> _d2omegasdetadeta;
100 
105 
110 
113 
121  std::vector<MaterialProperty<Real> *> _dhs_c_min;
122  std::vector<std::vector<MaterialProperty<Real> *>> _d2hs_c_min;
123 
131 
133  const Real _sigma_s;
134 
137 
140 
142  const Real _switch;
143 
145  const Real _Va;
146 
149 
151  const Real _mu_s;
152 
154  const Real _mu_gb;
155 
157  const Real _kappa_s;
158 
161 
163  const Real _kB;
164 
166  const bool _mass_conservation;
167 };
const MaterialProperty< Real > & _kv
void energy coefficient
std::vector< const MaterialProperty< Real > * > _dcs_eq
const Real _kappa_gb
kappa value on grain boundaries
const Real _sigma_gb
grain boundary energy
MaterialProperty< Real > & _rhos
solid phase vacancy density
MaterialProperty< Real > & _kappa
gradient energy coefficient
MaterialProperty< Real > & _chi
susceptibility
MaterialProperty< Real > & _gamma
interface profile coefficient
std::vector< MaterialProperty< Real > * > _domegasdeta
MaterialProperty< Real > & _rhov
void phase vacancy density
MaterialProperty< Real > & _hv_over_kVa
MatReaction Force coefficient for mass conservation in conc and chempot coupling. ...
std::vector< std::vector< MaterialProperty< Real > * > > _d2rhos
const VariableValue & _phi
void phase order parameter
MaterialProperty< Real > & _omegav
void phase potential density
std::vector< MaterialProperty< Real > * > _drhos
MaterialProperty< Real > & _hs
solid phase switching function
const Real _switch
Parameter to determine accuracy of surface/GB phase switching function.
MaterialProperty< Real > & _mu
energy barrier coefficient
std::vector< MaterialProperty< Real > * > _d2omegasdwdeta
GrandPotentialSinteringMaterial(const InputParameters &parameters)
std::vector< const VariableValue * > _eta
solid phase order parameters
This material calculates necessary parameters for the grand potential sintering model.
const Real _Va
Atomic volume of species.
std::vector< std::vector< const MaterialProperty< Real > * > > _d2cs_eq
const Real _mu_gb
mu value on grain boundaries
const VariableValue & _w
chemical potential
OutputTools< Real >::VariableValue VariableValue
const MaterialProperty< Real > & _ks
solid energy coefficient
std::vector< MaterialProperty< Real > * > _dhs_c_min
const VariableValue & _T
temperature
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< std::vector< MaterialProperty< Real > * > > _d2hs_c_min
const MaterialPropertyName _cs_eq_name
equilibrium vacancy concentration
MaterialProperty< Real > & _omegas
solid phase potential density
const Real _kappa_s
kappa value on surfaces
const InputParameters & parameters() const
const MooseEnum _solid_energy
Type of energy function to use for the solid phase.
const bool _mass_conservation
strict mass conservation flag
MaterialProperty< Real > & _hv_c_min
Body Force coefficient for mass conservation in conc and chempot coupling.
MaterialProperty< Real > & _hv
void phase switching function
const MaterialProperty< Real > & _cs_eq
const unsigned int _neta
number of solid phase order paramters
std::vector< MaterialProperty< Real > * > _d2rhosdwdeta
std::vector< std::vector< MaterialProperty< Real > * > > _d2omegasdetadeta