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

Go to the source code of this file.

Classes

class  NSKernel
 This class couples together all the variables for the compressible Navier-Stokes equations to allow them to be used in derived Kernel classes. More...
 

Functions

template<>
InputParameters validParams< NSKernel > ()
 

Function Documentation

template<>
InputParameters validParams< NSKernel > ( )

Definition at line 20 of file NSKernel.C.

Referenced by validParams< NSEnergyInviscidFlux >(), validParams< NSEnergyThermalFlux >(), validParams< NSEnergyViscousFlux >(), validParams< NSGravityForce >(), validParams< NSMassInviscidFlux >(), validParams< NSMomentumInviscidFlux >(), validParams< NSMomentumInviscidFluxWithGradP >(), validParams< NSMomentumViscousFlux >(), and validParams< NSSUPGBase >().

21 {
22  InputParameters params = validParams<Kernel>();
23  params.addClassDescription("This class couples together all the variables for the compressible "
24  "Navier-Stokes equations to allow them to be used in derived Kernel "
25  "classes.");
26  params.addRequiredCoupledVar(NS::velocity_x, "x-velocity");
27  params.addCoupledVar(NS::velocity_y, "y-velocity"); // only required in 2D and 3D
28  params.addCoupledVar(NS::velocity_z, "z-velocity"); // only required in 3D
29  params.addRequiredCoupledVar(NS::density, "density");
30  params.addRequiredCoupledVar(NS::momentum_x, "x-momentum");
31  params.addCoupledVar(NS::momentum_y, "y-momentum"); // only required in 2D and 3D
32  params.addCoupledVar(NS::momentum_z, "z-momentum"); // only required in 3D
33  params.addRequiredCoupledVar(NS::total_energy, "total energy");
34  params.addRequiredParam<UserObjectName>("fluid_properties",
35  "The name of the user object for fluid properties");
36  return params;
37 }
const std::string momentum_x
Definition: NS.h:16
const std::string velocity_z
Definition: NS.h:23
const std::string density
Definition: NS.h:15
const std::string velocity_x
Definition: NS.h:21
const std::string velocity_y
Definition: NS.h:22
const std::string momentum_y
Definition: NS.h:17
const std::string total_energy
Definition: NS.h:19
const std::string momentum_z
Definition: NS.h:18