https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
21class NSMachAux : public AuxKernel
22{
23public:
25
27
28 virtual ~NSMachAux() {}
29
30protected:
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};
const InputParameters & parameters() const
Auxiliary kernel for computing the Mach number assuming an ideal gas.
Definition NSMachAux.h:22
const SinglePhaseFluidProperties & _fp
Definition NSMachAux.h:52
static InputParameters validParams()
Definition NSMachAux.C:25
const VariableValue *const _u_vel
Definition NSMachAux.h:36
const ADMaterialProperty< Real > *const _mat_speed
speed
Definition NSMachAux.h:43
virtual ~NSMachAux()
Definition NSMachAux.h:28
const VariableValue *const _v_vel
Definition NSMachAux.h:37
virtual Real computeValue()
Definition NSMachAux.C:64
const ADMaterialProperty< Real > *const _mat_T_fluid
fluid temperature
Definition NSMachAux.h:49
const VariableValue *const _w_vel
Definition NSMachAux.h:38
const VariableValue *const _specific_volume
Definition NSMachAux.h:39
const VariableValue *const _specific_internal_energy
Definition NSMachAux.h:40
const ADMaterialProperty< Real > *const _mat_pressure
pressure
Definition NSMachAux.h:46
const bool _use_mat_props
Whether to use material properties instead of coupled variables to compute the Mach number.
Definition NSMachAux.h:34
Common class for single phase fluid properties.
VariableValueTempl< false > VariableValue