www.mooseframework.org
navier_stokes
include
auxkernels
NSTemperatureAux.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
// Forward Declarations
15
class
NSTemperatureAux
;
16
class
IdealGasFluidProperties
;
17
18
template
<>
19
InputParameters
validParams<NSTemperatureAux>
();
20
25
class
NSTemperatureAux
:
public
AuxKernel
26
{
27
public
:
28
NSTemperatureAux
(
const
InputParameters & parameters);
29
30
protected
:
31
virtual
Real
computeValue
();
32
33
const
VariableValue &
_specific_volume
;
34
const
VariableValue &
_internal_energy
;
35
36
// Fluid properties
37
const
IdealGasFluidProperties
&
_fp
;
38
};
39
validParams< NSTemperatureAux >
InputParameters validParams< NSTemperatureAux >()
Definition:
NSTemperatureAux.C:24
IdealGasFluidProperties
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature.
Definition:
IdealGasFluidProperties.h:26
NSTemperatureAux
Temperature is an auxiliary value computed from the total energy based on the FluidProperties.
Definition:
NSTemperatureAux.h:25
NSTemperatureAux::NSTemperatureAux
NSTemperatureAux(const InputParameters ¶meters)
Definition:
NSTemperatureAux.C:39
NSTemperatureAux::_internal_energy
const VariableValue & _internal_energy
Definition:
NSTemperatureAux.h:34
NSTemperatureAux::computeValue
virtual Real computeValue()
Definition:
NSTemperatureAux.C:48
NSTemperatureAux::_specific_volume
const VariableValue & _specific_volume
Definition:
NSTemperatureAux.h:33
NSTemperatureAux::_fp
const IdealGasFluidProperties & _fp
Definition:
NSTemperatureAux.h:37
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16