www.mooseframework.org
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
GapConductanceConstant Class Reference

#include <GapConductanceConstant.h>

Inheritance diagram for GapConductanceConstant:
[legend]

Public Member Functions

 GapConductanceConstant (const InputParameters &parameters)
 
virtual void computeQpProperties () override
 

Static Public Member Functions

static InputParameters actionParameters ()
 

Protected Attributes

const Real & _prescribed_gap_conductance
 
const std::string _appended_property_name
 
MaterialProperty< Real > & _gap_conductance
 
MaterialProperty< Real > & _gap_conductance_dT
 

Detailed Description

Definition at line 15 of file GapConductanceConstant.h.

Constructor & Destructor Documentation

◆ GapConductanceConstant()

GapConductanceConstant::GapConductanceConstant ( const InputParameters &  parameters)

Definition at line 38 of file GapConductanceConstant.C.

39  : Material(params),
40  _prescribed_gap_conductance(getParam<Real>("gap_conductance")),
41  _appended_property_name(getParam<std::string>("appended_property_name")),
42  _gap_conductance(declareProperty<Real>("gap_conductance" + _appended_property_name)),
43  _gap_conductance_dT(declareProperty<Real>("gap_conductance" + _appended_property_name + "_dT"))
44 {
45  if (!params.isParamSetByUser("gap_conductance"))
46  mooseError("gap_conductance must be specified");
47 }
MaterialProperty< Real > & _gap_conductance_dT
const Real & _prescribed_gap_conductance
const std::string _appended_property_name
MaterialProperty< Real > & _gap_conductance

Member Function Documentation

◆ actionParameters()

InputParameters GapConductanceConstant::actionParameters ( )
static

Definition at line 29 of file GapConductanceConstant.C.

Referenced by validParams< GapConductanceConstant >(), and validParams< ThermalContactAction >().

30 {
31  InputParameters params = emptyInputParameters();
32  params.addParam<std::string>(
33  "appended_property_name", "", "Name appended to material properties to make them unique");
34  params.addParam<Real>("gap_conductance", 0.0, "Gap conductance");
35  return params;
36 }

◆ computeQpProperties()

void GapConductanceConstant::computeQpProperties ( )
overridevirtual

Definition at line 50 of file GapConductanceConstant.C.

51 {
53  _gap_conductance_dT[_qp] = 0.0;
54 }
MaterialProperty< Real > & _gap_conductance_dT
const Real & _prescribed_gap_conductance
MaterialProperty< Real > & _gap_conductance

Member Data Documentation

◆ _appended_property_name

const std::string GapConductanceConstant::_appended_property_name
protected

Definition at line 26 of file GapConductanceConstant.h.

◆ _gap_conductance

MaterialProperty<Real>& GapConductanceConstant::_gap_conductance
protected

Definition at line 27 of file GapConductanceConstant.h.

Referenced by computeQpProperties().

◆ _gap_conductance_dT

MaterialProperty<Real>& GapConductanceConstant::_gap_conductance_dT
protected

Definition at line 28 of file GapConductanceConstant.h.

Referenced by computeQpProperties().

◆ _prescribed_gap_conductance

const Real& GapConductanceConstant::_prescribed_gap_conductance
protected

Definition at line 25 of file GapConductanceConstant.h.

Referenced by computeQpProperties().


The documentation for this class was generated from the following files: