https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ConvectiveHeatFlux1PhaseAux.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 params.addClassDescription("Computes convective heat flux for 1-phase flow.");
19 params.addRequiredCoupledVar("T_wall", "Wall temperature");
20 params.addRequiredParam<MaterialPropertyName>("T", "Material property name of fluid temperature");
21 params.addRequiredParam<MaterialPropertyName>(
22 "Hw", "Material property name of wall heat transfer coefficient");
23 params.addParam<Real>("scaling_factor", 1., "Scaling factor");
24 return params;
25}
26
28 : AuxKernel(parameters),
29 _T_wall(coupledValue("T_wall")),
30 _T(getMaterialProperty<Real>("T")),
31 _Hw(getMaterialProperty<Real>("Hw")),
32 _scaling_factor(getParam<Real>("scaling_factor"))
33{
34}
35
36Real
registerMooseObject("ThermalHydraulicsApp", ConvectiveHeatFlux1PhaseAux)
static InputParameters validParams()
Computes convective heat flux for 1-phase flow.
const Real & _scaling_factor
Scaling factor.
const VariableValue & _T_wall
Wall temperature.
const MaterialProperty< Real > & _T
Fluid temperature.
const MaterialProperty< Real > & _Hw
Wall heat transfer coefficient.
ConvectiveHeatFlux1PhaseAux(const InputParameters &parameters)
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
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)