Classes | Functions
NavierStokesMaterial.h File Reference

Go to the source code of this file.


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


InputParameters validParams< NavierStokesMaterial > ()

Function Documentation

InputParameters validParams< NavierStokesMaterial > ( )

Definition at line 23 of file NavierStokesMaterial.C.

Referenced by validParams< Air >().

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