www.mooseframework.org
NSTemperatureL2.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Kernel.h"
13 #include "Material.h"
14 
15 // Forward Declarations
16 
22 class NSTemperatureL2 : public Kernel
23 {
24 public:
26 
28 
29 protected:
30  virtual Real computeQpResidual();
31  virtual Real computeQpJacobian();
32  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
33 
34  unsigned int _rho_var;
36 
37  unsigned int _rhoe_var;
39 
40  unsigned int _u_vel_var;
42 
43  unsigned int _v_vel_var;
45 
46  unsigned int _w_vel_var;
48 
50 };
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.
static InputParameters validParams()
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)
OutputTools< Real >::VariableValue VariableValue
const VariableValue & _u_vel
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned int _rhoe_var
const MaterialProperty< Real > & _c_v
const InputParameters & parameters() const
const VariableValue & _v_vel
virtual Real computeQpJacobian()