https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
19public:
20 Closures1PhaseTHM(const InputParameters & params);
21
34
37 {
41 };
42
43 virtual void checkFlowChannel(const FlowChannelBase & flow_channel) const override;
44 virtual void checkHeatTransfer(const HeatTransferBase & heat_transfer,
45 const FlowChannelBase & flow_channel) const override;
46 virtual void addMooseObjectsFlowChannel(const FlowChannelBase & flow_channel) override;
47 virtual void addMooseObjectsHeatTransfer(const HeatTransferBase & /*heat_transfer*/,
48 const FlowChannelBase & /*flow_channel*/) override {};
49
50protected:
56 void addWallFFMaterial(const FlowChannel1Phase & flow_channel) const;
57
64 void addWallHTCMaterial(const FlowChannel1Phase & flow_channel, unsigned int i) const;
65
68
71
72public:
74};
Base class for 1-phase closures.
THM 1-phase closures.
const WallHTCClosureType _wall_htc_closure
Wall heat transfer coefficient 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.
void addWallHTCMaterial(const FlowChannel1Phase &flow_channel, unsigned int i) const
Adds wall heat transfer coefficient material.
WallHTCClosureType
Fluid heat transfer coefficient closure type.
virtual void addMooseObjectsHeatTransfer(const HeatTransferBase &, const FlowChannelBase &) override
Adds MOOSE objects associated with a heat transfer component.
WallFFClosureType
Fluid friction factor closure type.
const WallFFClosureType _wall_ff_closure
Wall friction factor closure.
static InputParameters validParams()
virtual void addMooseObjectsFlowChannel(const FlowChannelBase &flow_channel) override
Adds MOOSE objects associated with a flow channel component.
virtual void checkFlowChannel(const FlowChannelBase &flow_channel) const override
Checks for errors associated with a flow channel component.
Single-component, single-phase flow channel.
A base class for flow channels.
Base class for heat transfer connections.