https://mooseframework.inl.gov
GrayLambertRadiationHeatFluxAux.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 
12 
14 
17 {
19  params.addClassDescription("Radiation heat flux from a GrayLambertSurfaceRadiationBase object.");
20  params.addRequiredParam<UserObjectName>("surface_radiation_object",
21  "GrayLambertSurfaceRadiationBase UO name");
22  return params;
23 }
24 
26  : AuxKernel(parameters),
27  _glsr_uo(getUserObject<GrayLambertSurfaceRadiationBase>("surface_radiation_object"))
28 {
29  if (isNodal())
30  mooseError("The variable may not be nodal because the heat fluxes are looked up by the current "
31  "boundary ID, which is ambiguous for a given node.");
32 }
33 
34 Real
36 {
38 }
GrayLambertRadiationHeatFluxAux(const InputParameters &parameters)
const GrayLambertSurfaceRadiationBase & _glsr_uo
Surface radiation user object containing heat flux information.
GrayLambertSurfaceRadiationBase computes the heat flux on a set of surfaces in radiative heat transfe...
const BoundaryID & _current_boundary_id
void addRequiredParam(const std::string &name, const std::string &doc_string)
Radiation heat flux from a GrayLambertSurfaceRadiationBase object.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
registerMooseObject("HeatTransferApp", GrayLambertRadiationHeatFluxAux)