https://mooseframework.inl.gov
thermal_hydraulics
include
auxkernels
ShaftConnectedCompressor1PhaseAux.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 "
AuxKernel.h
"
13
14
class
ADShaftConnectedCompressor1PhaseUserObject
;
15
19
class
ShaftConnectedCompressor1PhaseAux
:
public
AuxKernel
20
{
21
public
:
22
static
InputParameters
validParams
();
23
24
ShaftConnectedCompressor1PhaseAux
(
const
InputParameters
&
parameters
);
25
26
protected
:
27
virtual
Real
computeValue
()
override
;
28
30
enum class
Quantity
31
{
32
DELTA_P
,
33
ISENTROPIC_TORQUE
,
34
DISSIPATION_TORQUE
,
35
FRICTION_TORQUE
,
36
MOMENT_OF_INERTIA
37
};
39
const
Quantity
_quantity
;
40
42
const
ADShaftConnectedCompressor1PhaseUserObject
&
_compressor_uo
;
43
};
ShaftConnectedCompressor1PhaseAux::ShaftConnectedCompressor1PhaseAux
ShaftConnectedCompressor1PhaseAux(const InputParameters ¶meters)
Definition:
ShaftConnectedCompressor1PhaseAux.C:30
ShaftConnectedCompressor1PhaseAux::Quantity
Quantity
Quantity type.
Definition:
ShaftConnectedCompressor1PhaseAux.h:30
ShaftConnectedCompressor1PhaseAux
Computes various quantities for a ShaftConnectedCompressor1Phase.
Definition:
ShaftConnectedCompressor1PhaseAux.h:19
ShaftConnectedCompressor1PhaseAux::Quantity::DELTA_P
ShaftConnectedCompressor1PhaseAux::_quantity
const Quantity _quantity
Which quantity to compute.
Definition:
ShaftConnectedCompressor1PhaseAux.h:39
ShaftConnectedCompressor1PhaseAux::computeValue
virtual Real computeValue() override
Definition:
ShaftConnectedCompressor1PhaseAux.C:40
InputParameters
ShaftConnectedCompressor1PhaseAux::Quantity::MOMENT_OF_INERTIA
ShaftConnectedCompressor1PhaseAux::Quantity::ISENTROPIC_TORQUE
ShaftConnectedCompressor1PhaseAux::_compressor_uo
const ADShaftConnectedCompressor1PhaseUserObject & _compressor_uo
1-phase shaft-connected compressor user object
Definition:
ShaftConnectedCompressor1PhaseAux.h:42
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ADShaftConnectedCompressor1PhaseUserObject
Computes and caches flux and residual vectors for a 1-phase compressor.
Definition:
ADShaftConnectedCompressor1PhaseUserObject.h:26
AuxKernelTempl< Real >::parameters
const InputParameters & parameters() const
AuxKernelTempl< Real >
AuxKernel.h
ShaftConnectedCompressor1PhaseAux::Quantity::DISSIPATION_TORQUE
ShaftConnectedCompressor1PhaseAux::validParams
static InputParameters validParams()
Definition:
ShaftConnectedCompressor1PhaseAux.C:16
ShaftConnectedCompressor1PhaseAux::Quantity::FRICTION_TORQUE
Generated on Fri Jul 18 2025 13:43:55 for https://mooseframework.inl.gov by
1.8.14