www.mooseframework.org
KKSSplitCHCRes.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 KKSSPLITCHCRES_H
8 #define KKSSPLITCHCRES_H
9 
10 #include "SplitCHBase.h"
11 #include "JvarMapInterface.h"
12 #include "DerivativeMaterialInterface.h"
13 
14 // Forward Declarations
15 class KKSSplitCHCRes;
16 
17 template <>
18 InputParameters validParams<KKSSplitCHCRes>();
19 
32 class KKSSplitCHCRes : public DerivativeMaterialInterface<JvarMapKernelInterface<SplitCHBase>>
33 {
34 public:
35  KKSSplitCHCRes(const InputParameters & parameters);
36 
37 protected:
38  virtual Real computeDFDC(PFFunctionType type);
39  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
40  virtual Real computeQpResidual();
41  virtual void initialSetup();
42 
43 private:
45  unsigned int _nvar;
46 
49  unsigned int _ca_var;
50  VariableName _ca_name;
51  unsigned int _cb_var;
52  VariableName _cb_name;
54 
56  std::vector<const MaterialProperty<Real> *> _d2Fadcadarg;
57 
59  const MaterialProperty<Real> & _prop_h;
60 
62  const MaterialProperty<Real> & _first_derivative_Fa;
63 
65  const MaterialProperty<Real> & _second_derivative_Fa;
66 
68  const MaterialProperty<Real> & _second_derivative_Fb;
69 
71  unsigned int _w_var;
72  const VariableValue & _w;
73 };
74 
75 #endif // KKSSPLITCHCRES_H
SplitCHBulk child class that takes all the necessary data from a KKSBaseMaterial. ...
unsigned int _ca_var
const MaterialProperty< Real > & _second_derivative_Fa
Second derivative .
VariableName _cb_name
KKSSplitCHCRes(const InputParameters &parameters)
const VariableValue & _w
const MaterialProperty< Real > & _first_derivative_Fa
Second derivative .
InputParameters validParams< KKSSplitCHCRes >()
unsigned int _cb_var
virtual Real computeQpResidual()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const MaterialProperty< Real > & _second_derivative_Fb
Second derivative .
const MaterialProperty< Real > & _prop_h
h(eta) material property
unsigned int _nvar
Number of coupled variables.
std::vector< const MaterialProperty< Real > * > _d2Fadcadarg
Derivatives of with respect to all coupled variables.
virtual Real computeDFDC(PFFunctionType type)
Note that per product and chain rules: which is: .
VariableName _ca_name
unsigned int _w_var
Chemical potential.
virtual void initialSetup()