https://mooseframework.inl.gov
FlowBoundary.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 "Component1DBoundary.h"
13 
18 {
19 public:
20  FlowBoundary(const InputParameters & params);
21 
27  const UserObjectName & getFluidPropertiesName() const;
28 
29 protected:
30  virtual void init() override;
31  virtual void check() const override;
32 
36  std::shared_ptr<const FlowModel> _flow_model;
38  UserObjectName _fp_name;
39 
40 public:
42 };
unsigned int FlowModelID
static InputParameters validParams()
Definition: FlowBoundary.C:14
Base class for components that connect to flow channel boundaries.
Definition: FlowBoundary.h:17
THM::FlowModelID _flow_model_id
Flow model ID.
Definition: FlowBoundary.h:34
virtual void check() const override
Check the component integrity.
Definition: FlowBoundary.C:43
const UserObjectName & getFluidPropertiesName() const
Gets the name of fluid properties used in all flow connections.
Definition: FlowBoundary.C:51
std::shared_ptr< const FlowModel > _flow_model
Flow model.
Definition: FlowBoundary.h:36
Base class for boundary components connected to 1D components.
UserObjectName _fp_name
Fluid property user object name.
Definition: FlowBoundary.h:38
FlowBoundary(const InputParameters &params)
Definition: FlowBoundary.C:20
virtual void init() override
Initializes the component.
Definition: FlowBoundary.C:26