https://mooseframework.inl.gov
KKSPhaseConcentration.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 "Kernel.h"
14 
15 // Forward Declarations
16 
31 {
32 public:
34 
35  KKSPhaseConcentration(const InputParameters & parameters);
36 
37 protected:
38  virtual Real computeQpResidual();
39  virtual Real computeQpJacobian();
40  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
41 
42 private:
43  const VariableValue & _ca;
44  unsigned int _ca_var;
45 
46  const VariableValue & _c;
47  unsigned int _c_var;
48 
50  unsigned int _eta_var;
51 
54 
57 };
const VariableValue & _c
static InputParameters validParams()
const VariableValue & _eta
const VariableValue & _ca
virtual Real computeQpResidual()
virtual Real computeQpJacobian()
OutputTools< Real >::VariableValue VariableValue
const MaterialProperty< Real > & _prop_dh
Derivative of the switching function .
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _prop_h
Switching function .
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
KKSPhaseConcentration(const InputParameters &parameters)
Enforce sum of phase concentrations to be the real concentration.