https://mooseframework.inl.gov
OneD3EqnEnergyGravity.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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"
14 
19 {
20 public:
21  OneD3EqnEnergyGravity(const InputParameters & parameters);
22 
23 protected:
24  virtual Real computeQpResidual();
25  virtual Real computeQpJacobian();
26  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
27 
28  const VariableValue & _A;
29 
32 
36 
41 
42  const unsigned int _arhoA_var_number;
43  const unsigned int _arhouA_var_number;
44 
45 public:
47 };
const MaterialProperty< RealVectorValue > & _dir
The direction of the flow channel.
const VariableValue & _A
const MaterialProperty< Real > & _dvel_darhouA
Computes gravity term for the energy equation in 1-phase flow.
const RealVectorValue & _gravity_vector
Gravitational acceleration vector.
OneD3EqnEnergyGravity(const InputParameters &parameters)
virtual Real computeQpJacobian()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual Real computeQpResidual()
const MaterialProperty< Real > & _drho_darhoA
OutputTools< Real >::VariableValue VariableValue
const MaterialProperty< Real > & _rho
const MaterialProperty< Real > & _vel
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _dvel_darhoA
const unsigned int _arhoA_var_number
const unsigned int _arhouA_var_number
static InputParameters validParams()