https://mooseframework.inl.gov
GateValve.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 "GateValve.h"
11 
12 registerMooseObject("ThermalHydraulicsApp", GateValve);
13 
16 {
18 
19  params.addRequiredParam<Real>("open_area_fraction", "Fraction of flow area that is open [-]");
20 
21  params.addClassDescription("Gate valve component");
22 
23  return params;
24 }
25 
27 {
28  logError("Deprecated component. Use GateValve1Phase or GateValve2Phase instead.");
29 }
static InputParameters validParams()
Definition: GateValve.C:15
void addRequiredParam(const std::string &name, const std::string &doc_string)
void logError(Args &&... args) const
Logs an error.
Definition: Component.h:215
GateValve(const InputParameters &params)
Definition: GateValve.C:26
Base class for flow junctions.
Definition: FlowJunction.h:17
static InputParameters validParams()
Definition: FlowJunction.C:14
registerMooseObject("ThermalHydraulicsApp", GateValve)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
Gate valve component.
Definition: GateValve.h:19