https://mooseframework.inl.gov
RadiativeHeatFluxBC.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 
10 #include "RadiativeHeatFluxBC.h"
11 #include "Function.h"
12 
13 registerMooseObject("ThermalHydraulicsApp", RadiativeHeatFluxBC);
14 
17 {
19 
20  params.addRequiredParam<Real>("boundary_emissivity", "Emissivity of the boundary.");
21  params.addParam<FunctionName>("view_factor", "1", "View factor function");
22  params.addParam<PostprocessorName>(
23  "scale_pp", 1.0, "Post-processor by which to scale boundary condition");
24 
25  params.addClassDescription(
26  "Radiative heat transfer boundary condition for a plate heat structure");
27 
28  return params;
29 }
30 
32  : RadiativeHeatFluxBCBase(parameters),
33  _eps_boundary(getParam<Real>("boundary_emissivity")),
34  _view_factor_fn(getFunction("view_factor")),
35  _scale_pp(getPostprocessorValue("scale_pp"))
36 {
37 }
38 
39 Real
41 {
43 }
const Real _eps_boundary
Emissivity of the boundary.
static InputParameters validParams()
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
static InputParameters validParams()
const PostprocessorValue & _scale_pp
Post-processor by which to scale boundary condition.
void addRequiredParam(const std::string &name, const std::string &doc_string)
unsigned int _qp
RadiativeHeatFluxBC(const InputParameters &parameters)
const MooseArray< Point > & _q_point
const Function & _view_factor_fn
View factor function.
Radiative heat transfer boundary condition for a plate heat structure.
registerMooseObject("ThermalHydraulicsApp", RadiativeHeatFluxBC)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real coefficient() const override
qdot = sigma * coeff * (T^4 - Tinf^4 ) sigma: _sigma_stefan_boltzmann coeff: coefficient() coefficien...
void addClassDescription(const std::string &doc_string)
virtual Real value(Real t, const Point &p) const
Boundary condition for radiative heat flux where temperature and the temperature of a body in radiati...