www.mooseframework.org
NSTemperatureL2.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 NSTEMPERATUREL2_H
8 #define NSTEMPERATUREL2_H
9 
10 #include "Kernel.h"
11 #include "Material.h"
12 
13 // Forward Declarations
14 class NSTemperatureL2;
15 
16 template <>
17 InputParameters validParams<NSTemperatureL2>();
18 
24 class NSTemperatureL2 : public Kernel
25 {
26 public:
27  NSTemperatureL2(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeQpResidual();
31  virtual Real computeQpJacobian();
32  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
33 
34  unsigned int _rho_var;
35  const VariableValue & _rho;
36 
37  unsigned int _rhoe_var;
38  const VariableValue & _rhoe;
39 
40  unsigned int _u_vel_var;
41  const VariableValue & _u_vel;
42 
43  unsigned int _v_vel_var;
44  const VariableValue & _v_vel;
45 
46  unsigned int _w_vel_var;
47  const VariableValue & _w_vel;
48 
49  const MaterialProperty<Real> & _c_v;
50 };
51 
52 #endif // NSTEMPERATUREL2_H
const VariableValue & _w_vel
unsigned int _w_vel_var
unsigned int _v_vel_var
This class was originally used to solve for the temperature using an L2-projection.
virtual Real computeQpResidual()
unsigned int _u_vel_var
const VariableValue & _rhoe
const VariableValue & _rho
unsigned int _rho_var
NSTemperatureL2(const InputParameters &parameters)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const VariableValue & _u_vel
unsigned int _rhoe_var
const MaterialProperty< Real > & _c_v
InputParameters validParams< NSTemperatureL2 >()
const VariableValue & _v_vel
virtual Real computeQpJacobian()