https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ElectrochemicalDefectMaterial.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
25
26protected:
27 virtual void computeQpProperties();
28
30 const unsigned int _neta;
31
33 std::vector<const VariableValue *> _eta;
34 std::vector<VariableName> _eta_name;
35
38 const NonlinearVariableName _w_name;
39
42 const NonlinearVariableName _phi_name;
43
45 const MaterialPropertyName _ns_min_name;
47 std::vector<const MaterialProperty<Real> *> _dns_min;
48 std::vector<std::vector<const MaterialProperty<Real> *>> _d2ns_min;
49
52
55
58
63
68
73
75 MaterialPropertyName _chi_name;
82
84 MaterialPropertyName _nv_name;
87
89 MaterialPropertyName _ns_name;
93 std::vector<MaterialProperty<Real> *> _dns;
94 std::vector<MaterialProperty<Real> *> _d2nsdwdeta;
95 std::vector<std::vector<MaterialProperty<Real> *>> _d2ns;
96
99
101 const Real _kB;
102
104 const Real _e;
105
107 const int _z;
108
110 const Real _v_scale;
111
113 const Real _eps_r;
114
116 const Real _nv_min;
117};
This material calculates defect-specific parameters for the grand potential sintering model with mult...
const MooseEnum _solid_energy
Type of energy function to use for the solid phase.
std::vector< MaterialProperty< Real > * > _dns
std::vector< const MaterialProperty< Real > * > _dns_min
MaterialPropertyName _nv_name
void phase vacancy density
MaterialPropertyName _ns_name
solid phase vacancy density
const MaterialProperty< Real > & _ns_min
std::vector< const VariableValue * > _eta
solid phase order parameters
const MaterialProperty< Real > & _hs
solid phase switching function
const MaterialProperty< Real > & _d2hv
const VariableValue & _temp
temperature
const VariableGradient & _grad_V
Gradient of electric potential.
const MaterialPropertyName _ns_min_name
minimum in energy wrt vacancy concentration in solid
std::vector< std::vector< const MaterialProperty< Real > * > > _d2ns_min
const MaterialProperty< Real > & _d2hs
const MaterialProperty< Real > & _dhv
MaterialPropertyName _chi_name
susceptibility and derivatives
const MaterialProperty< Real > & _dhs
const MaterialProperty< Real > & _ks
solid energy coefficient
const VariableValue & _phi
void phase order parameter
const VariableValue & _v
electric potential
const unsigned int _neta
number of solid phase order paramters
const MaterialProperty< Real > & _hv
void phase switching function
const Real _nv_min
minimum in energy wrt vacancy concentration in void
std::vector< MaterialProperty< Real > * > _d2nsdwdeta
const Real _eps_r
Solid phase relative permittivity.
const VariableValue & _w
chemical potential
const MaterialProperty< Real > & _kv
void energy coefficient
std::vector< std::vector< MaterialProperty< Real > * > > _d2ns
VariableValueTempl< false > VariableValue
VariableGradientTempl< false > VariableGradient