https://mooseframework.inl.gov
FlowJunction.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 "Component1DJunction.h"
13 
18 {
19 public:
20  FlowJunction(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;
40  const std::string _junction_uo_name;
41 
42 public:
44 };
unsigned int FlowModelID
virtual void init() override
Initializes the component.
Definition: FlowJunction.C:29
FlowJunction(const InputParameters &params)
Definition: FlowJunction.C:21
virtual void check() const override
Check the component integrity.
Definition: FlowJunction.C:69
std::shared_ptr< const FlowModel > _flow_model
Flow model.
Definition: FlowJunction.h:36
const UserObjectName & getFluidPropertiesName() const
Gets the name of fluid properties used in all flow connections.
Definition: FlowJunction.C:78
THM::FlowModelID _flow_model_id
Flow model ID.
Definition: FlowJunction.h:34
Base class for flow junctions.
Definition: FlowJunction.h:17
static InputParameters validParams()
Definition: FlowJunction.C:14
Base class for junctions of 1D components.
const std::string _junction_uo_name
Name of junction user object name, if any.
Definition: FlowJunction.h:40
UserObjectName _fp_name
Fluid property user object name.
Definition: FlowJunction.h:38