www.mooseframework.org
fluid_properties
include
auxkernels
StagnationPressureAux.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://www.mooseframework.org
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
StagnationPressureAux
;
15
class
SinglePhaseFluidProperties
;
16
17
template
<>
18
InputParameters
validParams<StagnationPressureAux>
();
19
23
class
StagnationPressureAux
:
public
AuxKernel
24
{
25
public
:
26
StagnationPressureAux
(
const
InputParameters & parameters);
27
28
protected
:
29
virtual
Real
computeValue
()
override
;
30
31
const
VariableValue &
_specific_volume
;
32
const
VariableValue &
_specific_internal_energy
;
33
const
VariableValue &
_velocity
;
34
35
const
SinglePhaseFluidProperties
&
_fp
;
36
};
37
StagnationPressureAux::_specific_internal_energy
const VariableValue & _specific_internal_energy
Definition:
StagnationPressureAux.h:32
SinglePhaseFluidProperties
Common class for single phase fluid properties.
Definition:
SinglePhaseFluidProperties.h:89
StagnationPressureAux::_velocity
const VariableValue & _velocity
Definition:
StagnationPressureAux.h:33
validParams< StagnationPressureAux >
InputParameters validParams< StagnationPressureAux >()
Definition:
StagnationPressureAux.C:17
StagnationPressureAux::_fp
const SinglePhaseFluidProperties & _fp
Definition:
StagnationPressureAux.h:35
StagnationPressureAux::_specific_volume
const VariableValue & _specific_volume
Definition:
StagnationPressureAux.h:31
StagnationPressureAux
Compute stagnation pressure from specific volume, specific internal energy, and velocity.
Definition:
StagnationPressureAux.h:23
StagnationPressureAux::StagnationPressureAux
StagnationPressureAux(const InputParameters ¶meters)
Definition:
StagnationPressureAux.C:29
StagnationPressureAux::computeValue
virtual Real computeValue() override
Definition:
StagnationPressureAux.C:39
Generated on Sat Jan 25 2020 12:04:36 for www.mooseframework.org by
1.8.16