www.mooseframework.org
StagnationPressureAux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef STAGNATIONPRESSUREAUX_H
9 #define STAGNATIONPRESSUREAUX_H
10 
11 #include "AuxKernel.h"
12 
15 
16 template <>
17 InputParameters validParams<StagnationPressureAux>();
18 
22 class StagnationPressureAux : public AuxKernel
23 {
24 public:
25  StagnationPressureAux(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeValue() override;
29 
30  const VariableValue & _specific_volume;
31  const VariableValue & _specific_internal_energy;
32  const VariableValue & _velocity;
33 
35 };
36 
37 #endif /* STAGNATIONPRESSUREAUX_H */
Compute stagnation pressure from specific volume, specific internal energy, and velocity.
Common class for single phase fluid properties.
StagnationPressureAux(const InputParameters &parameters)
const VariableValue & _velocity
const VariableValue & _specific_volume
virtual Real computeValue() override
const SinglePhaseFluidProperties & _fp
InputParameters validParams< StagnationPressureAux >()
const VariableValue & _specific_internal_energy