https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FunctorGapFluxModelConduction.C
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
11#include "libmesh/utility.h"
12
14
17{
20 "Gap flux model for varying gap conductance using a functor for temperature.");
21 params.addRequiredParam<MooseFunctorName>("temperature", "The name of the temperature functor");
22 params.addParam<MooseFunctorName>("gap_conductivity_multiplier",
23 1,
24 "Thermal conductivity multiplier. Multiplied by the constant "
25 "gap_conductivity to form the final conductivity");
26 return params;
27}
28
30 : GapFluxModelConductionBase(parameters),
31 _T(getFunctor<ADReal>("temperature")),
32 _gap_conductivity_multiplier(getFunctor<ADReal>("gap_conductivity_multiplier"))
33{
34}
35
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("HeatTransferApp", FunctorGapFluxModelConduction)
Gap flux model for varying gap conductance using a functor for temperature.
const Moose::Functor< ADReal > & _T
temperature functor for computing temperature along the secondary and primary surfaces
virtual ADReal computeFlux() const override
Compute gap physics used cache information in GapFluxModelBase.
const Moose::Functor< ADReal > & _gap_conductivity_multiplier
Thermal conductivity multiplier.
FunctorGapFluxModelConduction(const InputParameters &parameters)
Moose::ElemPointArg _secondary_point
The secondary quadrature point location.
Moose::ElemPointArg _primary_point
The primary quadrature point location.
Gap flux model for varying gap conductance.
static InputParameters validParams()
ADReal computeConductionFlux(const ADReal &secondary_T, const ADReal &primary_T, const ADReal &conductivity_multiplier) const
computes the conduction flux based on the input secondary and primary temperatures as well a gap cond...
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
Moose::StateArg determineState() const