https://mooseframework.inl.gov
FVThermalResistanceBC.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 {
33 public:
36 
37 protected:
38  virtual ADReal computeQpResidual() override;
39 
42 
45 
49 
52 
55 
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 };
FVThermalResistanceBC(const InputParameters &parameters)
const Real _inner_radius
Radius corresponding to the cylindrical surface (when using a cylindrical geometry) ...
const Real _T_ambient
ambient temperature for convection and radiation heat transfer
ADReal _T_surface
surface temperature
DualNumber< Real, DNDerivativeType, true > ADReal
const Moose::CoordinateSystemType _geometry
Whether to use a cylindrical or cartesian form for the thermal resistances.
ADReal _conduction_resistance
conduction thermal resistance
const unsigned int & _max_iterations
maximum number of iterations (when radiative heat transfer is included)
ADReal _parallel_resistance
parallel convection and radiation thermal resistance
void computeConductionResistance()
Computes the serial resistance of multiple conductive layers.
static InputParameters validParams()
const Real & _emissivity
boundary emissivity
const std::vector< Real > & _k
thermal conductivities for each conduction layer, listed in order closest to the boundary ...
const Real & _alpha
underrelaxation factor (when radiative heat transfer is included)
const Real & _tolerance
tolerance of iterations (when radiative heat transfer is included)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
CoordinateSystemType
const InputParameters & parameters() const
void computeParallelResistance()
Computes the parallel heat flux resistance for a combined radiation-convection boundary.
virtual ADReal computeQpResidual() override
This BC applies a heat flux to a boundary, where the heat flux is determined using series conduction ...
const ADVariableValue & _T
temperature variable
const std::vector< Real > & _dx
thicknesses for each conduction layer, listed in order closest to the boundary
ADReal _outer_radius
outer radius of surface
const ADMaterialProperty< Real > & _h
convective heat transfer coefficient