https://mooseframework.inl.gov
SupersonicInlet.C
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 #include "SupersonicInlet.h"
11 #include "FlowModelSinglePhase.h"
13 
14 registerMooseObject("ThermalHydraulicsApp", SupersonicInlet);
15 
18 {
20  params.addParam<Real>("p", "Prescribed pressure [Pa]");
21  params.addParam<Real>("T", "Prescribed temperature [K]");
22  params.addParam<Real>("vel", "Prescribed velocity [m/s]");
23  params.addClassDescription("Deprecated component to add a supersonic flow inlet");
24  return params;
25 }
26 
28  : FlowBoundary1Phase(parameters)
29 {
30 }
31 
32 void
34 {
36 
37  logError("This component is deprecated.");
38 }
39 
40 void
42 {
43 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
virtual void addMooseObjects() override
SupersonicInlet(const InputParameters &parameters)
static InputParameters validParams()
void logError(Args &&... args) const
Logs an error.
Definition: Component.h:215
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void check() const override
Check the component integrity.
void addClassDescription(const std::string &doc_string)
Base class for boundary components connected to FlowChannel1Phase components.
virtual void check() const override
Check the component integrity.
registerMooseObject("ThermalHydraulicsApp", SupersonicInlet)