https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
34public:
36
38
41
46 virtual Real computeNusseltNumber(const FrictionStruct & friction_info,
47 const NusseltStruct & nusselt_info) const = 0;
48
51
56 Real computeHTC(const FrictionStruct & friction_info,
57 const NusseltStruct & nusselt_info,
58 const Real conduction_k) const;
59
60protected:
62 Real turbulentReynoldsNumber(const NusseltPreInfo & nusselt_info) const;
63
65 Real blendTurbulentNusseltNumber(const NusseltPreInfo & nusselt_info,
66 const Real turbulent_nusselt) const;
67
68 std::unique_ptr<SolutionHandle> _Dpin_soln;
69};
EChannelType
Enum for describing the center, edge and corner subchannels or gap types.
const InputParameters & parameters() const
Base class for SCM closures.
Base class for the convective heat transfer coefficients (HTC) closures used in SCM.
Real blendTurbulentNusseltNumber(const NusseltPreInfo &nusselt_info, const Real turbulent_nusselt) const
Blends turbulent Nusselt number through the transition range using the base laminar value.
SubChannel1PhaseProblem::NusseltStruct NusseltStruct
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.
std::unique_ptr< SolutionHandle > _Dpin_soln
Real turbulentReynoldsNumber(const NusseltPreInfo &nusselt_info) const
Reynolds number used to evaluate the turbulent endpoint for transition-region blending.
virtual Real computeNusseltNumber(const FrictionStruct &friction_info, const NusseltStruct &nusselt_info) const =0
Computes the nusselt number for the local conditions.
static InputParameters validParams()
NusseltPreInfo computeNusseltNumberPreInfo(const NusseltStruct &nusselt_info) const
Computes all the data needed before computing the nusselt number. It's used by all closure models.
SubChannel1PhaseProblem::FrictionStruct FrictionStruct
structure that holds the needed data to calculate intermediate data needed to calculate the Nusselt n...
EChannelType subch_type
structure with the needed information to compute the friction factor at a specific subchannel cell
structure with the needed information to compute the Nusselt number at a specific subchannel cell and...