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 "SupersonicInlet.h" 11 : #include "FlowModelSinglePhase.h" 12 : #include "SinglePhaseFluidProperties.h" 13 : 14 : registerMooseObject("ThermalHydraulicsApp", SupersonicInlet); 15 : 16 : InputParameters 17 4 : SupersonicInlet::validParams() 18 : { 19 4 : InputParameters params = FlowBoundary1Phase::validParams(); 20 8 : params.addParam<Real>("p", "Prescribed pressure [Pa]"); 21 8 : params.addParam<Real>("T", "Prescribed temperature [K]"); 22 8 : params.addParam<Real>("vel", "Prescribed velocity [m/s]"); 23 4 : params.addClassDescription("Deprecated component to add a supersonic flow inlet"); 24 4 : return params; 25 0 : } 26 : 27 2 : SupersonicInlet::SupersonicInlet(const InputParameters & parameters) 28 2 : : FlowBoundary1Phase(parameters) 29 : { 30 2 : } 31 : 32 : void 33 2 : SupersonicInlet::check() const 34 : { 35 2 : FlowBoundary1Phase::check(); 36 : 37 2 : logError("This component is deprecated."); 38 2 : } 39 : 40 : void 41 0 : SupersonicInlet::addMooseObjects() 42 : { 43 0 : }