www.mooseframework.org
NSPressureAux.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 NSPressureAux;
17 
18 template <>
19 InputParameters validParams<NSPressureAux>();
20 
24 class NSPressureAux : public AuxKernel
25 {
26 public:
27  NSPressureAux(const InputParameters & parameters);
28 
29  virtual ~NSPressureAux() {}
30 
31 protected:
32  virtual Real computeValue();
33 
34  const VariableValue & _specific_volume;
35  const VariableValue & _internal_energy;
36 
37  // Fluid properties
39 };
40 
NSPressureAux::~NSPressureAux
virtual ~NSPressureAux()
Definition: NSPressureAux.h:29
NSPressureAux::_specific_volume
const VariableValue & _specific_volume
Definition: NSPressureAux.h:34
IdealGasFluidProperties
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature.
Definition: IdealGasFluidProperties.h:26
NSPressureAux
Nodal auxiliary variable, for computing pressure at the nodes.
Definition: NSPressureAux.h:24
NSPressureAux::NSPressureAux
NSPressureAux(const InputParameters &parameters)
Definition: NSPressureAux.C:38
NSPressureAux::computeValue
virtual Real computeValue()
Definition: NSPressureAux.C:47
NSPressureAux::_fp
const IdealGasFluidProperties & _fp
Definition: NSPressureAux.h:38
validParams< NSPressureAux >
InputParameters validParams< NSPressureAux >()
Definition: NSPressureAux.C:24
NSPressureAux::_internal_energy
const VariableValue & _internal_energy
Definition: NSPressureAux.h:35