www.mooseframework.org
TotalEnergyConvectiveFlux.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 
15 
16 template <>
18 
25 class TotalEnergyConvectiveFlux : public Kernel
26 {
27 public:
28  TotalEnergyConvectiveFlux(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeQpResidual();
32  virtual Real computeQpJacobian();
33 
35  const VariableValue & _rho;
37  const VariableValue & _rho_u;
38  const VariableValue & _rho_v;
39  const VariableValue & _rho_w;
41  const VariableValue & _enthalpy;
42 };
43 
TotalEnergyConvectiveFlux::computeQpJacobian
virtual Real computeQpJacobian()
Definition: TotalEnergyConvectiveFlux.C:47
validParams< TotalEnergyConvectiveFlux >
InputParameters validParams< TotalEnergyConvectiveFlux >()
Definition: TotalEnergyConvectiveFlux.C:16
TotalEnergyConvectiveFlux::_rho_u
const VariableValue & _rho_u
Momentum.
Definition: TotalEnergyConvectiveFlux.h:37
TotalEnergyConvectiveFlux
A kernel for computing total energy convective flux.
Definition: TotalEnergyConvectiveFlux.h:25
TotalEnergyConvectiveFlux::TotalEnergyConvectiveFlux
TotalEnergyConvectiveFlux(const InputParameters &parameters)
Definition: TotalEnergyConvectiveFlux.C:29
TotalEnergyConvectiveFlux::computeQpResidual
virtual Real computeQpResidual()
Definition: TotalEnergyConvectiveFlux.C:40
TotalEnergyConvectiveFlux::_rho_v
const VariableValue & _rho_v
Definition: TotalEnergyConvectiveFlux.h:38
TotalEnergyConvectiveFlux::_rho
const VariableValue & _rho
Density.
Definition: TotalEnergyConvectiveFlux.h:35
TotalEnergyConvectiveFlux::_rho_w
const VariableValue & _rho_w
Definition: TotalEnergyConvectiveFlux.h:39
TotalEnergyConvectiveFlux::_enthalpy
const VariableValue & _enthalpy
Enthalpy.
Definition: TotalEnergyConvectiveFlux.h:41