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 : #include "GateValve.h" 11 : 12 : registerMooseObject("ThermalHydraulicsApp", GateValve); 13 : 14 : InputParameters 15 4 : GateValve::validParams() 16 : { 17 4 : InputParameters params = FlowJunction::validParams(); 18 : 19 8 : params.addRequiredParam<Real>("open_area_fraction", "Fraction of flow area that is open [-]"); 20 : 21 4 : params.addClassDescription("Gate valve component"); 22 : 23 4 : return params; 24 0 : } 25 : 26 2 : GateValve::GateValve(const InputParameters & params) : FlowJunction(params) 27 : { 28 2 : logError("Deprecated component. Use GateValve1Phase or GateValve2Phase instead."); 29 2 : }