https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
19public:
20 FlowJunction(const InputParameters & params);
21
27 const UserObjectName & getFluidPropertiesName() const;
28
29protected:
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
42public:
44};
Base class for junctions of 1D components.
Base class for flow junctions.
const std::string _junction_uo_name
Name of junction user object name, if any.
static InputParameters validParams()
virtual void init() override
Initializes the component.
THM::FlowModelID _flow_model_id
Flow model ID.
std::shared_ptr< const FlowModel > _flow_model
Flow model.
virtual void check() const override
Check the component integrity.
const UserObjectName & getFluidPropertiesName() const
Gets the name of fluid properties used in all flow connections.
UserObjectName _fp_name
Fluid property user object name.
unsigned int FlowModelID