www.mooseframework.org
INSTemperature.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef INSTEMPERATURE_H
8 #define INSTEMPERATURE_H
9 
10 #include "Kernel.h"
11 
12 // Forward Declarations
13 class INSTemperature;
14 
15 template <>
16 InputParameters validParams<INSTemperature>();
17 
22 class INSTemperature : public Kernel
23 {
24 public:
25  INSTemperature(const InputParameters & parameters);
26 
27  virtual ~INSTemperature() {}
28 
29 protected:
30  virtual Real computeQpResidual();
31  virtual Real computeQpJacobian();
32  virtual Real computeQpOffDiagJacobian(unsigned jvar);
33 
34  // Coupled variables
35  const VariableValue & _u_vel;
36  const VariableValue & _v_vel;
37  const VariableValue & _w_vel;
38 
39  // Variable numberings
43 
44  // Required parameters
45  const MaterialProperty<Real> & _rho;
46  const MaterialProperty<Real> & _k;
47  const MaterialProperty<Real> & _cp;
48 };
49 
50 #endif // INSTEMPERATURE_H
const VariableValue & _v_vel
virtual Real computeQpJacobian()
INSTemperature(const InputParameters &parameters)
const MaterialProperty< Real > & _rho
const VariableValue & _u_vel
virtual Real computeQpResidual()
unsigned _v_vel_var_number
InputParameters validParams< INSTemperature >()
const VariableValue & _w_vel
unsigned _u_vel_var_number
unsigned _w_vel_var_number
This class computes the residual and Jacobian contributions for the incompressible Navier-Stokes temp...
const MaterialProperty< Real > & _k
virtual Real computeQpOffDiagJacobian(unsigned jvar)
virtual ~INSTemperature()
const MaterialProperty< Real > & _cp