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

Go to the source code of this file.

Classes

class  NavierStokesMaterial
 This is the base class all materials should use if you are trying to use the Navier-Stokes Kernels. More...
 

Functions

template<>
InputParameters validParams< NavierStokesMaterial > ()
 

Function Documentation

◆ validParams< NavierStokesMaterial >()

template<>
InputParameters validParams< NavierStokesMaterial > ( )

Definition at line 25 of file NavierStokesMaterial.C.

26 {
27  InputParameters params = validParams<Material>();
28 
29  params.addClassDescription("This is the base class all materials should use if you are trying to "
30  "use the Navier-Stokes Kernels.");
31  params.addRequiredCoupledVar(NS::velocity_x, "x-velocity");
32  params.addCoupledVar(NS::velocity_y, "y-velocity"); // only required in >= 2D
33  params.addCoupledVar(NS::velocity_z, "z-velocity"); // only required in 3D
34 
35  params.addRequiredCoupledVar(NS::temperature, "temperature");
36  params.addRequiredCoupledVar(NS::enthalpy, "total enthalpy");
37 
38  params.addRequiredCoupledVar(NS::density, "density");
39  params.addRequiredCoupledVar(NS::momentum_x, "x-momentum");
40  params.addCoupledVar(NS::momentum_y, "y-momentum"); // only required in >= 2D
41  params.addCoupledVar(NS::momentum_z, "z-momentum"); // only required in 3D
42  params.addRequiredCoupledVar(NS::total_energy, "energy");
43  params.addRequiredParam<UserObjectName>("fluid_properties",
44  "The name of the user object for fluid properties");
45 
46  return params;
47 }

Referenced by validParams< Air >().

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::enthalpy
const std::string enthalpy
Definition: NS.h:27
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::temperature
const std::string temperature
Definition: NS.h:26
NS::total_energy
const std::string total_energy
Definition: NS.h:20