https://mooseframework.inl.gov
SimpleTurbine1Phase.h
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 #pragma once
11 
13 
15 
20 {
21 public:
22  SimpleTurbine1Phase(const InputParameters & params);
23 
24  virtual void addVariables() override;
25  virtual void addMooseObjects() override;
26 
27 protected:
28  virtual void buildVolumeJunctionUserObject() override;
29 
31  const bool & _on;
33  const Real & _power;
35  VariableName _W_dot_var_name;
36 
37 public:
39 };
const bool & _on
Flag that specifies if the turbine is operating or not.
Junction between 1-phase flow channels that are parallel.
VariableName _W_dot_var_name
Variable name that holds power.
virtual void buildVolumeJunctionUserObject() override
Builds user object for computing and storing the fluxes.
Simple turbine model that extracts prescribed power from the working fluid.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
SimpleTurbine1Phase(const InputParameters &params)
const Real & _power
Turbine power [W].
virtual void addVariables() override
virtual void addMooseObjects() override