https://mooseframework.inl.gov
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 {
24 public:
26 
27  CHSplitChemicalPotential(const InputParameters & parameters);
28 
29 protected:
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 };
const MaterialProperty< Real > & _dchemical_potential_dc
const MaterialProperty< Real > & _chemical_potential
MaterialPropertyName _mu_prop_name
Chemical potential property evaluated at material points.
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
CHSplitChemicalPotential(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Solves chemical potential in a weak sense (mu-mu_prop=0) Can be coupled to Cahn-Hilliard equation to ...
static InputParameters validParams()