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 "FlowJunction1Phase.h" 13 : 14 : /** 15 : * Junction connecting one flow channel to one other flow channel for 1-phase flow 16 : * 17 : * The assumptions made by this component are as follows: 18 : * @li The connected channels are parallel. 19 : * @li The connected channels have the same flow area at the junction. 20 : */ 21 : class JunctionOneToOne1Phase : public FlowJunction1Phase 22 : { 23 : public: 24 : JunctionOneToOne1Phase(const InputParameters & params); 25 : 26 : virtual void init() override; 27 : virtual void check() const override; 28 : virtual void addMooseObjects() override; 29 0 : virtual Convergence * getNonlinearConvergence() const override { return nullptr; } 30 : 31 : protected: 32 : virtual void setupMesh() override; 33 : 34 : /// Slope reconstruction option 35 : MooseEnum _slope_reconstruction; 36 : 37 : public: 38 : static InputParameters validParams(); 39 : };