Line data Source code
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 "FlowJunction.h" 13 : 14 : /** 15 : * Base class for 1-phase flow junctions 16 : */ 17 : class FlowJunction1Phase : public FlowJunction 18 : { 19 : public: 20 : FlowJunction1Phase(const InputParameters & params); 21 : 22 : protected: 23 : virtual void init() override; 24 : virtual void check() const override; 25 : 26 0 : virtual bool supportsPassiveTransport() const { return false; } 27 : 28 : // Numerical flux user object names 29 : std::vector<UserObjectName> _numerical_flux_names; 30 : 31 : /// Passive transport variables on the connected flow channels 32 : std::vector<VariableName> _passives_names; 33 : 34 : public: 35 : static InputParameters validParams(); 36 : };