https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CHSplitChemicalPotential.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
23{
24public:
26
27 CHSplitChemicalPotential(const InputParameters & parameters);
28
29protected:
30 virtual Real computeQpResidual();
31 virtual Real computeQpJacobian();
32 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
33
35 MaterialPropertyName _mu_prop_name;
36
39 const unsigned int _c_var;
40};
Solves chemical potential in a weak sense (mu-mu_prop=0) Can be coupled to Cahn-Hilliard equation to ...
const MaterialProperty< Real > & _dchemical_potential_dc
const MaterialProperty< Real > & _chemical_potential
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
MaterialPropertyName _mu_prop_name
Chemical potential property evaluated at material points.