https://mooseframework.inl.gov
FlowChannel1Phase.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 "FlowChannel1PhaseBase.h"
13 
18 {
19 public:
21 
22  FlowChannel1Phase(const InputParameters & params);
23 
24  virtual const THM::FlowModelID & getFlowModelID() const override { return THM::FM_SINGLE_PHASE; }
25  virtual std::vector<std::string> ICParameters() const override;
26 
27 protected:
28  virtual void checkFluidProperties() const override;
29  virtual std::string flowModelClassName() const override;
30 };
virtual void checkFluidProperties() const override
Logs an error if the fluid properties is not valid.
unsigned int FlowModelID
FlowChannel1Phase(const InputParameters &params)
Single-component, single-phase flow channel.
virtual std::string flowModelClassName() const override
Returns the flow model class name.
FlowModelID FM_SINGLE_PHASE
static InputParameters validParams()
virtual std::vector< std::string > ICParameters() const override
Returns the names of the IC parameters.
virtual const THM::FlowModelID & getFlowModelID() const override
Gets the flow model ID.
Base class for single-phase flow channels.