www.mooseframework.org
NSEntropyError.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 "ElementIntegralPostprocessor.h"
13 
14 // Forward Declarations
15 class NSEntropyError;
17 
18 template <>
19 InputParameters validParams<NSEntropyError>();
20 
21 class NSEntropyError : public ElementIntegralPostprocessor
22 {
23 public:
24  NSEntropyError(const InputParameters & parameters);
25  virtual Real getValue();
26 
27 protected:
28  virtual Real computeQpIntegral();
29 
30  Real _rho_infty;
31  Real _p_infty;
32 
33  const VariableValue & _rho;
34  const VariableValue & _pressure;
35 
36  // Fluid properties
38 };
39 
NSEntropyError::_p_infty
Real _p_infty
Definition: NSEntropyError.h:31
NSEntropyError
Definition: NSEntropyError.h:21
NSEntropyError::getValue
virtual Real getValue()
Definition: NSEntropyError.C:45
IdealGasFluidProperties
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature.
Definition: IdealGasFluidProperties.h:26
NSEntropyError::NSEntropyError
NSEntropyError(const InputParameters &parameters)
Definition: NSEntropyError.C:34
validParams< NSEntropyError >
InputParameters validParams< NSEntropyError >()
Definition: NSEntropyError.C:21
NSEntropyError::_rho
const VariableValue & _rho
Definition: NSEntropyError.h:33
NSEntropyError::_pressure
const VariableValue & _pressure
Definition: NSEntropyError.h:34
NSEntropyError::_rho_infty
Real _rho_infty
Definition: NSEntropyError.h:30
NSEntropyError::_fp
const IdealGasFluidProperties & _fp
Definition: NSEntropyError.h:37
NSEntropyError::computeQpIntegral
virtual Real computeQpIntegral()
Definition: NSEntropyError.C:51