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