https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GrayLambertSurfaceRadiationPP.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
11
13
16{
18 MooseEnum return_type("RADIOSITY HEAT_FLUX_DENSITY TEMPERATURE", "HEAT_FLUX_DENSITY");
19 params.addParam<MooseEnum>("return_type",
20 return_type,
21 "Requested return type: RADIOSITY | HEAT_FLUX_DENSITY | TEMPERATURE");
22 params.addRequiredParam<UserObjectName>("surface_radiation_object_name",
23 "Name of the GrayLambertSurfaceRadiationBase UO");
24 params.addRequiredParam<BoundaryName>("boundary", "The boundary of interest.");
25 params.addClassDescription("This postprocessor allows to extract radiosity, heat flux density, "
26 "and temperature from the GrayLambertSurfaceRadiationBase object.");
27 return params;
28}
29
31 : GeneralPostprocessor(parameters),
32 _glsr_uo(getUserObject<GrayLambertSurfaceRadiationBase>("surface_radiation_object_name")),
33 _return_type(getParam<MooseEnum>("return_type")),
34 _bnd_id(_fe_problem.mesh().getBoundaryID(getParam<BoundaryName>("boundary")))
35{
36}
37
registerMooseObject("HeatTransferApp", GrayLambertSurfaceRadiationPP)
Real PostprocessorValue
static InputParameters validParams()
GrayLambertSurfaceRadiationBase computes the heat flux on a set of surfaces in radiative heat transfe...
A postprocessor that extracts information from the GrayLambertSurfaceRadiationBase UserObject.
GrayLambertSurfaceRadiationPP(const InputParameters &parameters)
const GrayLambertSurfaceRadiationBase & _glsr_uo
virtual PostprocessorValue getValue() const override
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)
MeshBase & mesh