https://mooseframework.inl.gov
KKSSplitCHCRes.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 "SplitCHBase.h"
13 #include "JvarMapInterface.h"
15 
16 // Forward Declarations
17 
30 class KKSSplitCHCRes : public DerivativeMaterialInterface<JvarMapKernelInterface<SplitCHBase>>
31 {
32 public:
34 
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 _ca_var;
46  VariableName _ca_name;
48 
51 
53  std::vector<const MaterialProperty<Real> *> _d2Fadcadarg;
54 
56  unsigned int _w_var;
57  const VariableValue & _w;
58 };
SplitCHBulk child class that takes all the necessary data from a KKSBaseMaterial. ...
unsigned int _ca_var
Phase concentration variable.
static InputParameters validParams()
KKSSplitCHCRes(const InputParameters &parameters)
const VariableValue & _w
const MaterialProperty< Real > & _dFadca
chemical potential
virtual Real computeQpResidual()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< const MaterialProperty< Real > * > _d2Fadcadarg
Second derivatives of fa with respect to all ca and 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()