https://mooseframework.inl.gov
Loading...
Searching...
No Matches
thermal_hydraulics
include
userobjects
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
12
#include "
ADJunctionParallelChannels1PhaseUserObject.h
"
13
14
class
ADSimpleTurbine1PhaseUserObject
;
15
23
class
ADSimpleTurbine1PhaseUserObject
:
public
ADJunctionParallelChannels1PhaseUserObject
24
{
25
public
:
26
ADSimpleTurbine1PhaseUserObject
(
const
InputParameters
& params);
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
:
37
static
InputParameters
validParams
();
38
};
ADJunctionParallelChannels1PhaseUserObject.h
c
const Real c
Definition
GeochemistryActivityCalculatorsTest.C:19
ADJunctionParallelChannels1PhaseUserObject
Computes and caches flux and residual vectors for a 1-phase junction that connects flow channels that...
Definition
ADJunctionParallelChannels1PhaseUserObject.h:26
ADSimpleTurbine1PhaseUserObject
Computes and caches flux and residual vectors for a 1-phase turbine.
Definition
ADSimpleTurbine1PhaseUserObject.h:24
ADSimpleTurbine1PhaseUserObject::_on
const bool & _on
Flag determining if turbine is operating or not.
Definition
ADSimpleTurbine1PhaseUserObject.h:32
ADSimpleTurbine1PhaseUserObject::_W_dot
const Real & _W_dot
Turbine power, [W].
Definition
ADSimpleTurbine1PhaseUserObject.h:34
ADSimpleTurbine1PhaseUserObject::computeFluxesAndResiduals
virtual void computeFluxesAndResiduals(const unsigned int &c) override
Computes and stores the fluxes, the scalar residuals, and their Jacobians.
Definition
ADSimpleTurbine1PhaseUserObject.C:41
ADSimpleTurbine1PhaseUserObject::validParams
static InputParameters validParams()
Definition
ADSimpleTurbine1PhaseUserObject.C:20
InputParameters
Generated on Fri Aug 21 2026 13:41:55 for https://mooseframework.inl.gov by
1.9.8