https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
30class KKSSplitCHCRes : public DerivativeMaterialInterface<JvarMapKernelInterface<SplitCHBase>>
31{
32public:
34
35 KKSSplitCHCRes(const InputParameters & parameters);
36
37protected:
38 virtual Real computeDFDC(PFFunctionType type);
39 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
40 virtual Real computeQpResidual();
41 virtual void initialSetup();
42
43private:
45 unsigned int _ca_var;
46 VariableName _ca_name;
48
51
53 std::vector<const MaterialProperty<Real> *> _d2Fadcadarg;
54
56 unsigned int _w_var;
58};
SplitCHBulk child class that takes all the necessary data from a KKSBaseMaterial.
virtual void initialSetup()
unsigned int _w_var
Chemical potential.
static InputParameters validParams()
unsigned int _ca_var
Phase concentration variable.
const MaterialProperty< Real > & _dFadca
chemical potential
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual Real computeDFDC(PFFunctionType type)
Note that per product and chain rules: which is: .
const VariableValue & _w
virtual Real computeQpResidual()
std::vector< const MaterialProperty< Real > * > _d2Fadcadarg
Second derivatives of fa with respect to all ca and coupled variables.
VariableName _ca_name
VariableValueTempl< false > VariableValue