www.mooseframework.org
InternalEnergyAux.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 InternalEnergyAux;
16 
17 template <>
18 InputParameters validParams<InternalEnergyAux>();
19 
23 class InternalEnergyAux : public AuxKernel
24 {
25 public:
26  InternalEnergyAux(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeValue();
30 
31  const VariableValue & _pressure;
32  const VariableValue & _rho;
33 
35 };
36 
SinglePhaseFluidProperties
Common class for single phase fluid properties.
Definition: SinglePhaseFluidProperties.h:89
InternalEnergyAux
Compute internal energy given equation of state pressure and density.
Definition: InternalEnergyAux.h:23
InternalEnergyAux::_fp
const SinglePhaseFluidProperties & _fp
Definition: InternalEnergyAux.h:34
InternalEnergyAux::_rho
const VariableValue & _rho
Definition: InternalEnergyAux.h:32
InternalEnergyAux::computeValue
virtual Real computeValue()
Definition: InternalEnergyAux.C:36
InternalEnergyAux::InternalEnergyAux
InternalEnergyAux(const InputParameters &parameters)
Definition: InternalEnergyAux.C:27
InternalEnergyAux::_pressure
const VariableValue & _pressure
Definition: InternalEnergyAux.h:31
validParams< InternalEnergyAux >
InputParameters validParams< InternalEnergyAux >()
Definition: InternalEnergyAux.C:17