https://mooseframework.inl.gov
SimpleTurbinePowerAux.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 
12 #include "ConstantAux.h"
13 #include "ConstantScalarAux.h"
14 
16 
20 template <typename T>
22 {
23 public:
24  SimpleTurbinePowerAuxTempl(const InputParameters & parameters);
25 
26 protected:
27  virtual Real computeValue() override;
28 
30  const bool & _on;
31 
32 public:
34 };
35 
SimpleTurbinePowerAuxTempl< ConstantScalarAux > SimpleTurbinePowerScalarAux
SimpleTurbinePowerAuxTempl(const InputParameters &parameters)
const bool & _on
Flag indicating if turbine is operating or not.
virtual Real computeValue() override
Computes turbine power for 1-phase flow.
Common class for single phase fluid properties.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
SimpleTurbinePowerAuxTempl< ConstantAux > SimpleTurbinePowerFieldAux