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

Go to the source code of this file.

Classes

class  INSTemperature
 This class computes the residual and Jacobian contributions for the incompressible Navier-Stokes temperature (energy) equation. More...
 

Functions

template<>
InputParameters validParams< INSTemperature > ()
 

Function Documentation

template<>
InputParameters validParams< INSTemperature > ( )

Definition at line 13 of file INSTemperature.C.

14 {
15  InputParameters params = validParams<Kernel>();
16 
17  params.addClassDescription("This class computes the residual and Jacobian contributions for the "
18  "incompressible Navier-Stokes temperature (energy) equation.");
19  // Coupled variables
20  params.addRequiredCoupledVar("u", "x-velocity");
21  params.addCoupledVar("v", "y-velocity"); // only required in 2D and 3D
22  params.addCoupledVar("w", "z-velocity"); // only required in 3D
23 
24  // Optional parameters
25  params.addParam<MaterialPropertyName>("rho_name", "rho", "density name");
26  params.addParam<MaterialPropertyName>("k_name", "k", "thermal conductivity name");
27  params.addParam<MaterialPropertyName>("cp_name", "cp", "specific heat name");
28 
29  return params;
30 }