https://mooseframework.inl.gov
SCMHTCClosureBase.h
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 #pragma once
11 
12 #include "SCMClosureBase.h"
14 
15 #include <memory>
16 
19 {
20  Real Re; // Reynolds number
21  Real Pr; // Prandtl number
22  Real poD; // Pitch over diameter ratio
23  Real ReL; // Laminar Reynolds number limit
24  Real ReT; // Turbulent Reynolds number limit
25  Real laminar_Nu; // Laminar Nusselt number
26  EChannelType subch_type; // Subchannel type (corner, edge, center)
27 };
28 
33 {
34 public:
36 
38 
41 
46  virtual Real computeNusseltNumber(const FrictionStruct & friction_info,
47  const NusseltStruct & nusselt_info) const = 0;
48 
50  NusseltPreInfo computeNusseltNumberPreInfo(const NusseltStruct & nusselt_info) const;
51 
56  Real computeHTC(const FrictionStruct & friction_info,
57  const NusseltStruct & nusselt_info,
58  const Real conduction_k) const;
59 
60 protected:
62  Real blendTurbulentNusseltNumber(const NusseltPreInfo & nusselt_info,
63  const Real turbulent_nusselt) const;
64 
65  std::unique_ptr<SolutionHandle> _Dpin_soln;
66 };
SubChannel1PhaseProblem::NusseltStruct NusseltStruct
NusseltPreInfo computeNusseltNumberPreInfo(const NusseltStruct &nusselt_info) const
Computes all the data needed before computing the nusselt number. It&#39;s used by all closure models...
const InputParameters & parameters() const
structure with the needed information to compute the friction factor at a specific subchannel cell ...
EChannelType subch_type
structure that holds the needed data to calculate intermediate data needed to calculate the Nusselt n...
static InputParameters validParams()
SCMHTCClosureBase(const InputParameters &parameters)
virtual Real computeNusseltNumber(const FrictionStruct &friction_info, const NusseltStruct &nusselt_info) const =0
Computes the nusselt number for the local conditions.
std::unique_ptr< SolutionHandle > _Dpin_soln
EChannelType
Enum for describing the center, edge and corner subchannels or gap types.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
SubChannel1PhaseProblem::FrictionStruct FrictionStruct
Base class for SCM closures.
Base class for the convective heat transfer coefficients (HTC) closures used in SCM.
Real computeHTC(const FrictionStruct &friction_info, const NusseltStruct &nusselt_info, const Real conduction_k) const
Computes the convective heat transfer coefficient for the local conditions.
Real blendTurbulentNusseltNumber(const NusseltPreInfo &nusselt_info, const Real turbulent_nusselt) const
Blends turbulent Nusselt number through the transition range using the base laminar value...
structure with the needed information to compute the Nusselt number at a specific subchannel cell and...