https://mooseframework.inl.gov
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 {
19 public:
21 
22  FlowChannel1PhaseBase(const InputParameters & params);
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 
44 protected:
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 };
virtual std::string flowModelClassName() const =0
Returns the flow model class name.
virtual void addHydraulicDiameterMaterial()
Adds a material for the hydraulic diameter.
virtual void addMooseObjects() override
virtual void check() const override
Check the component integrity.
const MooseEnum _rdg_slope_reconstruction
Slope reconstruction type for rDG.
const MooseEnum & getSlopeReconstruction() const
Gets the slope reconstruction option used.
virtual std::vector< std::string > ICParameters() const =0
Returns the names of the IC parameters.
A base class for flow channels.
std::vector< MaterialPropertyName > _Hw_1phase_names
1-phase wall heat transfer coefficient names for connected heat transfers
FlowChannel1PhaseBase(const InputParameters &params)
virtual std::shared_ptr< FlowModel > buildFlowModel() override
const UserObjectName _numerical_flux_name
Numerical flux user object name.
const UserObjectName & getNumericalFluxUserObjectName() const
Gets the numerical flux user object name.
std::vector< MaterialPropertyName > getWallHTCNames1Phase() const
Gets 1-phase wall heat transfer coefficient names for connected heat transfers.
static InputParameters validParams()
virtual void init() override
Initializes the component.
virtual void getHeatTransferVariableNames() override
Populates heat connection variable names lists.
virtual void checkFluidProperties() const =0
Logs an error if the fluid properties is not valid.
Base class for single-phase flow channels.