https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FunctorThermalResistanceBC.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 "FVFluxBC.h"
13
32{
33public:
36
37protected:
38 virtual ADReal computeQpResidual() override;
39
42
45
49
51 const Real _inner_radius;
52
55
57 const Real _T_ambient;
58
61 const std::vector<Real> & _k;
62
64 const std::vector<Real> & _dx;
65
68
70 const Real & _emissivity;
71
73 const unsigned int & _max_iterations;
74
76 const Real & _tolerance;
77
79 const Real & _alpha;
80
83
86
89
92};
DualNumber< Real, DNDerivativeType, true > ADReal
This BC applies a heat flux to a boundary, where the heat flux is determined using series conduction ...
ADReal _conduction_resistance
conduction thermal resistance
ADReal _T_surface
surface temperature
const Moose::Functor< ADReal > & _T
temperature variable
const Real & _emissivity
boundary emissivity
static InputParameters validParams()
void computeParallelResistance()
Computes the parallel heat flux resistance for a combined radiation-convection boundary.
ADReal _outer_radius
outer radius of surface
const Real _inner_radius
Radius corresponding to the cylindrical surface (when using a cylindrical geometry)
const std::vector< Real > & _k
thermal conductivities for each conduction layer, listed in order closest to the boundary
ADReal _parallel_resistance
parallel convection and radiation thermal resistance
const Moose::CoordinateSystemType _geometry
Whether to use a cylindrical or cartesian form for the thermal resistances.
void computeConductionResistance()
Computes the serial resistance of multiple conductive layers.
const Real & _tolerance
tolerance of iterations (when radiative heat transfer is included)
const Moose::Functor< ADReal > & _h
convective heat transfer coefficient
virtual ADReal computeQpResidual() override
const std::vector< Real > & _dx
thicknesses for each conduction layer, listed in order closest to the boundary
const Real _T_ambient
ambient temperature for convection and radiation heat transfer
const unsigned int & _max_iterations
maximum number of iterations (when radiative heat transfer is included)
const Real & _alpha
underrelaxation factor (when radiative heat transfer is included)
const InputParameters & parameters() const
CoordinateSystemType