https://mooseframework.inl.gov
Closures1PhaseTHM.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 "Closures1PhaseBase.h"
13 
18 {
19 public:
20  Closures1PhaseTHM(const InputParameters & params);
21 
23  enum class WallHTCClosureType
24  {
27  LYON,
28  MIKITYUK,
29  SCHAD,
30  WEISMAN,
33  };
34 
36  enum class WallFFClosureType
37  {
39  CHURCHILL
40  };
41 
42  virtual void checkFlowChannel(const FlowChannelBase & flow_channel) const override;
43  virtual void checkHeatTransfer(const HeatTransferBase & heat_transfer,
44  const FlowChannelBase & flow_channel) const override;
45  virtual void addMooseObjectsFlowChannel(const FlowChannelBase & flow_channel) override;
46  virtual void addMooseObjectsHeatTransfer(const HeatTransferBase & /*heat_transfer*/,
47  const FlowChannelBase & /*flow_channel*/) override{};
48 
49 protected:
55  void addWallFFMaterial(const FlowChannel1Phase & flow_channel) const;
56 
63  void addWallHTCMaterial(const FlowChannel1Phase & flow_channel, unsigned int i) const;
64 
72  unsigned int i) const;
75 
78 
79 public:
81 };
virtual void addMooseObjectsFlowChannel(const FlowChannelBase &flow_channel) override
Adds MOOSE objects associated with a flow channel component.
void addWallHTCMaterial(const FlowChannel1Phase &flow_channel, unsigned int i) const
Adds wall heat transfer coefficient material.
virtual void checkFlowChannel(const FlowChannelBase &flow_channel) const override
Checks for errors associated with a flow channel component.
const WallFFClosureType _wall_ff_closure
Wall friction factor closure.
virtual void checkHeatTransfer(const HeatTransferBase &heat_transfer, const FlowChannelBase &flow_channel) const override
Checks for errors associated with a heat transfer component.
void addWallFFMaterial(const FlowChannel1Phase &flow_channel) const
Adds material that computes wall friction factor.
THM 1-phase closures.
A base class for flow channels.
Single-component, single-phase flow channel.
WallFFClosureType
Fluid friction factor closure type.
void addTemperatureWallFromHeatFluxMaterial(const FlowChannel1Phase &flow_channel, unsigned int i) const
Adds computation of wall temperature when heat flux is specified.
Closures1PhaseTHM(const InputParameters &params)
Base class for heat transfer connections.
Base class for 1-phase closures.
virtual void addMooseObjectsHeatTransfer(const HeatTransferBase &, const FlowChannelBase &) override
Adds MOOSE objects associated with a heat transfer component.
WallHTCClosureType
Fluid heat transfer coefficient closure type.
const WallHTCClosureType _wall_htc_closure
Wall heat transfer coefficient closure.
static InputParameters validParams()