https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
32public:
34
35 KKSPhaseConcentration(const InputParameters & parameters);
36
37protected:
38 virtual Real computeQpResidual();
39 virtual Real computeQpJacobian();
40 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
41
42private:
44 unsigned int _ca_var;
45
47 unsigned int _c_var;
48
50 unsigned int _eta_var;
51
54
57};
Enforce sum of phase concentrations to be the real concentration.
const MaterialProperty< Real > & _prop_dh
Derivative of the switching function .
const MaterialProperty< Real > & _prop_h
Switching function .
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const VariableValue & _c
static InputParameters validParams()
const VariableValue & _eta
const VariableValue & _ca
VariableValueTempl< false > VariableValue