https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
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
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
39Real
registerMooseObject("ThermalHydraulicsApp", RadiativeHeatFluxBC)
virtual Real value(Real t, const Point &p) const
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)
const MooseArray< Point > & _q_point
Boundary condition for radiative heat flux where temperature and the temperature of a body in radiati...
static InputParameters validParams()
Radiative heat transfer boundary condition for a plate heat structure.
const Function & _view_factor_fn
View factor function.
virtual Real coefficient() const override
qdot = sigma * coeff * (T^4 - Tinf^4 ) sigma: _sigma_stefan_boltzmann coeff: coefficient() coefficien...
const PostprocessorValue & _scale_pp
Post-processor by which to scale boundary condition.
static InputParameters validParams()
const Real _eps_boundary
Emissivity of the boundary.
RadiativeHeatFluxBC(const InputParameters &parameters)