https://mooseframework.inl.gov
ElectricalContactTestFunc.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 "Function.h"
13 
20 {
21 public:
23 
25 
26  using Function::value;
27  virtual Real value(Real t, const Point & p) const override;
28 
29 protected:
31  Real twoBlockFunction(Real t, const Point & p) const;
32 
34  Real threeBlockFunction(Real t, const Point & p) const;
35 
38 
41 
44 
47 
50 
55  const MooseEnum & _domain;
56 
58  const bool & _is_three_block;
59 
64  const MooseEnum & _side;
65 
66 private:
72  {
75  };
76 };
const MooseEnum & _side
MooseEnum to determine which stainless steel region needs to be enabled in the three block analytic s...
static InputParameters validParams()
virtual Real value(Real t, const Point &p) const override
ElectricalContactTestFunc(const InputParameters &parameters)
Analytical solution function to test the ElectrostaticContactCondition interface kernel.
const MooseEnum & _domain
MooseEnum to determine which part of the analytic solution needs to be enabled (Stainless Steel vs...
DomainEnum
Enum used in comparisons with _domain.
const Real & _mechanical_pressure
User-supplied mechanical pressure.
const Real & _electrical_conductivity_graphite
Electrical conductivity property for graphite.
const Real & _electrical_conductivity_stainless_steel
Electrical conductivity property for stainless steel.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const bool & _is_three_block
Boolean to determine if test function is being used in three block test case.
const InputParameters & parameters() const
virtual Real value(Real t, const Point &p) const
const Real & _mean_hardness
Geometric mean of the hardness of graphite and stainless steel.
const Real & _electrical_contact_conductance
Contact conductance property for the tested interface.
Real threeBlockFunction(Real t, const Point &p) const
Function used to calculate three block test case analytic solution.
Real twoBlockFunction(Real t, const Point &p) const
Function used to calculate two block test case analytic solution.