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