www.mooseframework.org
SpecificEnthalpyAux.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 
16 
17 template <>
18 InputParameters validParams<SpecificEnthalpyAux>();
19 
23 class SpecificEnthalpyAux : public AuxKernel
24 {
25 public:
26  SpecificEnthalpyAux(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeValue() override;
30 
31  const VariableValue & _pressure;
32  const VariableValue & _temperature;
33 
35 };
36 
SpecificEnthalpyAux::SpecificEnthalpyAux
SpecificEnthalpyAux(const InputParameters &parameters)
Definition: SpecificEnthalpyAux.C:27
SinglePhaseFluidProperties
Common class for single phase fluid properties.
Definition: SinglePhaseFluidProperties.h:89
SpecificEnthalpyAux
Computes specific enthalpy from pressure and temperature.
Definition: SpecificEnthalpyAux.h:23
validParams< SpecificEnthalpyAux >
InputParameters validParams< SpecificEnthalpyAux >()
Definition: SpecificEnthalpyAux.C:17
SpecificEnthalpyAux::_pressure
const VariableValue & _pressure
Definition: SpecificEnthalpyAux.h:31
SpecificEnthalpyAux::computeValue
virtual Real computeValue() override
Definition: SpecificEnthalpyAux.C:36
SpecificEnthalpyAux::_fp
const SinglePhaseFluidProperties & _fp
Definition: SpecificEnthalpyAux.h:34
SpecificEnthalpyAux::_temperature
const VariableValue & _temperature
Definition: SpecificEnthalpyAux.h:32