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

◆ validParams< NSKernel >()

template<>
InputParameters validParams< NSKernel > ( )

Definition at line 22 of file NSKernel.C.

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

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

NS::velocity_x
const std::string velocity_x
Definition: NS.h:22
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::momentum_y
const std::string momentum_y
Definition: NS.h:18
NS::density
const std::string density
Definition: NS.h:16
NS::momentum_z
const std::string momentum_z
Definition: NS.h:19
NS::momentum_x
const std::string momentum_x
Definition: NS.h:17
NS::total_energy
const std::string total_energy
Definition: NS.h:20