https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FlowChannel1PhaseBase.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 "FlowChannelBase.h"
13
18{
19public:
21
23
24 virtual void addMooseObjects() override;
25
29 std::vector<MaterialPropertyName> getWallHTCNames1Phase() const { return _Hw_1phase_names; }
30
34 const UserObjectName & getNumericalFluxUserObjectName() const { return _numerical_flux_name; }
35
40
42 virtual std::vector<std::string> ICParameters() const = 0;
43
44protected:
45 virtual void init() override;
46 virtual std::shared_ptr<FlowModel> buildFlowModel() override;
47 virtual void check() const override;
48
52 virtual void addHydraulicDiameterMaterial();
53
57 virtual void getHeatTransferVariableNames() override;
58
60 virtual void checkFluidProperties() const = 0;
61
63 virtual std::string flowModelClassName() const = 0;
64
66 std::vector<MaterialPropertyName> _Hw_1phase_names;
67
69 const UserObjectName _numerical_flux_name;
70
73};
Base class for single-phase flow channels.
virtual void init() override
Initializes the component.
virtual void addMooseObjects() override
const MooseEnum _rdg_slope_reconstruction
Slope reconstruction type for rDG.
virtual std::vector< std::string > ICParameters() const =0
Returns the names of the IC parameters.
const UserObjectName & getNumericalFluxUserObjectName() const
Gets the numerical flux user object name.
virtual void checkFluidProperties() const =0
Logs an error if the fluid properties is not valid.
const UserObjectName _numerical_flux_name
Numerical flux user object name.
virtual std::string flowModelClassName() const =0
Returns the flow model class name.
const MooseEnum & getSlopeReconstruction() const
Gets the slope reconstruction option used.
virtual std::shared_ptr< FlowModel > buildFlowModel() override
virtual void addHydraulicDiameterMaterial()
Adds a material for the hydraulic diameter.
virtual void getHeatTransferVariableNames() override
Populates heat connection variable names lists.
virtual void check() const override
Check the component integrity.
std::vector< MaterialPropertyName > getWallHTCNames1Phase() const
Gets 1-phase wall heat transfer coefficient names for connected heat transfers.
static InputParameters validParams()
std::vector< MaterialPropertyName > _Hw_1phase_names
1-phase wall heat transfer coefficient names for connected heat transfers
A base class for flow channels.