https://mooseframework.inl.gov
ConvectiveHeatTransferCoefficientMaterial.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 #include "Numerics.h"
12 
14 
17 {
19  params.addRequiredParam<MaterialPropertyName>("Nu", "Nusselt number");
20  params.addRequiredParam<MaterialPropertyName>("D_h", "Hydraulic diameter");
21  params.addRequiredParam<MaterialPropertyName>("k", "Thermal conductivity");
22  params.addClassDescription("Computes convective heat transfer coefficient from Nusselt number");
23  return params;
24 }
25 
27  const InputParameters & parameters)
28  : Material(parameters),
29  _Hw(declareProperty<Real>("Hw")),
30  _Nu(getMaterialProperty<Real>("Nu")),
31  _D_h(getMaterialProperty<Real>("D_h")),
32  _k(getMaterialProperty<Real>("k"))
33 {
34 }
35 
36 void
38 {
40 }
MaterialProperty< Real > & _Hw
Wall heat transfer coefficient.
Computes convective heat transfer coefficient from Nusselt number.
const MaterialProperty< Real > & _k
Thermal conductivity.
registerMooseObject("ThermalHydraulicsApp", ConvectiveHeatTransferCoefficientMaterial)
const MaterialProperty< Real > & _Nu
Nusselt number.
void addRequiredParam(const std::string &name, const std::string &doc_string)
unsigned int _qp
static InputParameters validParams()
auto wallHeatTransferCoefficient(const T1 &Nu, const T2 &k, const T3 &D_h)
Compute wall heat transfer coefficient.
ConvectiveHeatTransferCoefficientMaterial(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _D_h
Hydraulic diameter.
void addClassDescription(const std::string &doc_string)