www.mooseframework.org
GrandPotentialInterface.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 
16 template <>
17 InputParameters validParams<GrandPotentialInterface>();
18 
22 class GrandPotentialInterface : public Material
23 {
24 public:
25  GrandPotentialInterface(const InputParameters & parameters);
26 
27 protected:
28  virtual void computeQpProperties() override;
29 
31  const std::vector<Real> _sigma;
32 
34  const Real _width;
35 
37  const unsigned int _n_pair;
38 
40  std::vector<Real> _gamma;
41  Real _kappa;
42  Real _mu;
44 
46  std::vector<MaterialPropertyName> _gamma_name;
47 
49  std::vector<MaterialProperty<Real> *> _gamma_prop;
50  MaterialProperty<Real> & _kappa_prop;
51  MaterialProperty<Real> & _mu_prop;
53 };
54 
GrandPotentialInterface::computeQpProperties
virtual void computeQpProperties() override
Definition: GrandPotentialInterface.C:102
GrandPotentialInterface::_sigma
const std::vector< Real > _sigma
list of interfacial free energies
Definition: GrandPotentialInterface.h:31
GrandPotentialInterface::GrandPotentialInterface
GrandPotentialInterface(const InputParameters &parameters)
Definition: GrandPotentialInterface.C:39
GrandPotentialInterface::_gamma_prop
std::vector< MaterialProperty< Real > * > _gamma_prop
Material properties for all interface pairs.
Definition: GrandPotentialInterface.h:49
GrandPotentialInterface::_mu
Real _mu
Definition: GrandPotentialInterface.h:42
GrandPotentialInterface
Calculate Grand Potential interface parameters for a specified interfacial free energy and width.
Definition: GrandPotentialInterface.h:22
GrandPotentialInterface::_n_pair
const unsigned int _n_pair
number of interface pairs
Definition: GrandPotentialInterface.h:37
GrandPotentialInterface::_gamma
std::vector< Real > _gamma
Calculated gamma parameter values.
Definition: GrandPotentialInterface.h:40
GrandPotentialInterface::_gamma_name
std::vector< MaterialPropertyName > _gamma_name
gamma material property names
Definition: GrandPotentialInterface.h:46
GrandPotentialInterface::_kappa
Real _kappa
Definition: GrandPotentialInterface.h:41
GrandPotentialInterface::_width
const Real _width
Interface width for the interface with the median interfacial free energy.
Definition: GrandPotentialInterface.h:34
validParams< GrandPotentialInterface >
InputParameters validParams< GrandPotentialInterface >()
Definition: GrandPotentialInterface.C:19
GrandPotentialInterface::_mu_prop
MaterialProperty< Real > & _mu_prop
Definition: GrandPotentialInterface.h:51
GrandPotentialInterface::_kappa_prop
MaterialProperty< Real > & _kappa_prop
Definition: GrandPotentialInterface.h:50