https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CHSplitConcentration.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
20{
21public:
23
24 CHSplitConcentration(const InputParameters & parameters);
25
26protected:
27 virtual Real computeQpResidual();
28 virtual Real computeQpJacobian();
29 virtual Real computeQpOffDiagJacobian(unsigned int);
30
32 MaterialPropertyName _mobility_name;
33
36
38 const unsigned int _mu_var;
40};
Solves Cahn-Hilliard equation using chemical potential as non-linear variable.
virtual Real computeQpResidual()
virtual Real computeQpOffDiagJacobian(unsigned int)
const MaterialProperty< RealTensorValue > & _dmobility_dc
MaterialPropertyName _mobility_name
Mobility property name.
const unsigned int _mu_var
Chemical potential variable.
virtual Real computeQpJacobian()
const MaterialProperty< RealTensorValue > & _mobility
static InputParameters validParams()
const VariableGradient & _grad_mu
VariableGradientTempl< false > VariableGradient