https://mooseframework.inl.gov
NSMachAux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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
17 
21 class NSMachAux : public AuxKernel
22 {
23 public:
25 
27 
28  virtual ~NSMachAux() {}
29 
30 protected:
31  virtual Real computeValue();
32 
34  const bool _use_mat_props;
35 
36  const VariableValue * const _u_vel;
37  const VariableValue * const _v_vel;
38  const VariableValue * const _w_vel;
41 
44 
47 
50 
51  // Fluid properties
53 };
Auxiliary kernel for computing the Mach number assuming an ideal gas.
Definition: NSMachAux.h:21
const VariableValue *const _u_vel
Definition: NSMachAux.h:36
const VariableValue *const _specific_internal_energy
Definition: NSMachAux.h:40
static InputParameters validParams()
Definition: NSMachAux.C:25
const SinglePhaseFluidProperties & _fp
Definition: NSMachAux.h:52
const VariableValue *const _specific_volume
Definition: NSMachAux.h:39
Common class for single phase fluid properties.
const VariableValue *const _w_vel
Definition: NSMachAux.h:38
const VariableValue *const _v_vel
Definition: NSMachAux.h:37
const ADMaterialProperty< Real > *const _mat_speed
speed
Definition: NSMachAux.h:43
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual ~NSMachAux()
Definition: NSMachAux.h:28
NSMachAux(const InputParameters &parameters)
Definition: NSMachAux.C:45
const ADMaterialProperty< Real > *const _mat_T_fluid
fluid temperature
Definition: NSMachAux.h:49
const InputParameters & parameters() const
const bool _use_mat_props
Whether to use material properties instead of coupled variables to compute the Mach number...
Definition: NSMachAux.h:34
const ADMaterialProperty< Real > *const _mat_pressure
pressure
Definition: NSMachAux.h:46
virtual Real computeValue()
Definition: NSMachAux.C:64