www.mooseframework.org
NSMachAux.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 // MOOSE includes
13 #include "AuxKernel.h"
14 
15 // Forward Declarations
16 class NSMachAux;
18 
19 template <>
20 InputParameters validParams<NSMachAux>();
21 
25 class NSMachAux : public AuxKernel
26 {
27 public:
28  NSMachAux(const InputParameters & parameters);
29 
30  virtual ~NSMachAux() {}
31 
32 protected:
33  virtual Real computeValue();
34 
35  const VariableValue & _u_vel;
36  const VariableValue & _v_vel;
37  const VariableValue & _w_vel;
38  const VariableValue & _specific_volume;
39  const VariableValue & _internal_energy;
40 
41  // Fluid properties
43 };
44 
NSMachAux::_fp
const SinglePhaseFluidProperties & _fp
Definition: NSMachAux.h:42
NSMachAux::_w_vel
const VariableValue & _w_vel
Definition: NSMachAux.h:37
SinglePhaseFluidProperties
Common class for single phase fluid properties.
Definition: SinglePhaseFluidProperties.h:89
NSMachAux::_specific_volume
const VariableValue & _specific_volume
Definition: NSMachAux.h:38
NSMachAux::_u_vel
const VariableValue & _u_vel
Definition: NSMachAux.h:35
NSMachAux::_internal_energy
const VariableValue & _internal_energy
Definition: NSMachAux.h:39
validParams< NSMachAux >
InputParameters validParams< NSMachAux >()
Definition: NSMachAux.C:24
NSMachAux::_v_vel
const VariableValue & _v_vel
Definition: NSMachAux.h:36
NSMachAux::~NSMachAux
virtual ~NSMachAux()
Definition: NSMachAux.h:30
NSMachAux::computeValue
virtual Real computeValue()
Definition: NSMachAux.C:53
NSMachAux::NSMachAux
NSMachAux(const InputParameters &parameters)
Definition: NSMachAux.C:41
NSMachAux
Auxiliary kernel for computing the Mach number assuming an ideal gas.
Definition: NSMachAux.h:25