https://mooseframework.inl.gov
ADSimpleTurbine1PhaseUserObject.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 
24 {
25 public:
27 
28 protected:
29  virtual void computeFluxesAndResiduals(const unsigned int & c) override;
30 
32  const bool & _on;
34  const Real & _W_dot;
35 
36 public:
38 };
Computes and caches flux and residual vectors for a 1-phase junction that connects flow channels that...
Computes and caches flux and residual vectors for a 1-phase turbine.
ADSimpleTurbine1PhaseUserObject(const InputParameters &params)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void computeFluxesAndResiduals(const unsigned int &c) override
Computes and stores the fluxes, the scalar residuals, and their Jacobians.
const bool & _on
Flag determining if turbine is operating or not.
const Real & _W_dot
Turbine power, [W].