www.mooseframework.org
ComputeSurfaceTensionKKS.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "Material.h"
13 
15 template <typename>
18 
19 template <>
21 
22 class ComputeSurfaceTensionKKS : public Material
23 {
24 public:
25  ComputeSurfaceTensionKKS(const InputParameters & parameters);
26 
27 protected:
28  virtual void computeQpProperties() override;
29 
31  const VariableValue & _v;
33  const VariableGradient & _grad_v;
34 
36  const MaterialProperty<Real> & _kappa;
38  const MaterialProperty<Real> & _g;
40  Real _w;
41 
42  MaterialProperty<RankTwoTensor> & _planar_stress;
43 };
44 
Real _w
double well height parameter
virtual void computeQpProperties() override
const VariableValue & _v
Order parameter.
RankTwoTensorTempl< Real > RankTwoTensor
MaterialProperty< RankTwoTensor > & _planar_stress
const MaterialProperty< Real > & _kappa
Material property for gradient energy coefficient.
InputParameters validParams< ComputeSurfaceTensionKKS >()
ComputeSurfaceTensionKKS(const InputParameters &parameters)
const MaterialProperty< Real > & _g
Material property for barrier function.
const VariableGradient & _grad_v
Gradient of order parameter.