www.mooseframework.org
Classes | Functions
NSMachAux.h File Reference

Go to the source code of this file.

Classes

class  NSMachAux
 Auxiliary kernel for computing the Mach number assuming an ideal gas. More...
 

Functions

template<>
InputParameters validParams< NSMachAux > ()
 

Function Documentation

◆ validParams< NSMachAux >()

template<>
InputParameters validParams< NSMachAux > ( )

Definition at line 24 of file NSMachAux.C.

25 {
26  InputParameters params = validParams<AuxKernel>();
27 
28  params.addClassDescription(
29  "Auxiliary kernel for computing the Mach number assuming an ideal gas.");
30  params.addRequiredCoupledVar(NS::velocity_x, "x-velocity");
31  params.addCoupledVar(NS::velocity_y, "y-velocity"); // Only required in >= 2D
32  params.addCoupledVar(NS::velocity_z, "z-velocity"); // Only required in 3D...
33  params.addRequiredCoupledVar(NS::specific_volume, "specific volume");
34  params.addRequiredCoupledVar(NS::internal_energy, "internal energy");
35  params.addRequiredParam<UserObjectName>("fluid_properties",
36  "The name of the user object for fluid properties");
37 
38  return params;
39 }
NS::velocity_x
const std::string velocity_x
Definition: NS.h:22
NS::specific_volume
const std::string specific_volume
Definition: NS.h:30
NS::velocity_y
const std::string velocity_y
Definition: NS.h:23
NS::velocity_z
const std::string velocity_z
Definition: NS.h:24
NS::internal_energy
const std::string internal_energy
Definition: NS.h:29