https://mooseframework.inl.gov
OneD3EqnEnergyFriction.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  OneD3EqnEnergyFriction(const InputParameters & parameters);
22 
23 protected:
24  virtual Real computeQpResidual() override;
25  virtual Real computeQpJacobian() override;
26  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
27 
29  const VariableValue & _A;
30 
33 
37 
42 
48 
49  unsigned int _arhoA_var_number;
50  unsigned int _arhouA_var_number;
51  unsigned int _arhoEA_var_number;
52 
53 public:
55 };
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const MaterialProperty< Real > & _dvel_darhouA
virtual Real computeQpResidual() override
const MaterialProperty< Real > & _dvel_darhoA
virtual Real computeQpJacobian() override
const MaterialProperty< Real > & _D_h
Hydraulic diameter.
static InputParameters validParams()
Computes energy dissipation caused by wall friction in 1-phase flow.
const MaterialProperty< Real > & _drho_darhoA
const MaterialProperty< Real > & _f_D
Darcy friction factor.
const MaterialProperty< Real > & _rho
Density.
const MaterialProperty< Real > & _vel
velocity
const MaterialProperty< Real > & _df_D_darhouA
const VariableValue & _A
area
const MaterialProperty< Real > & _df_D_darhoEA
OneD3EqnEnergyFriction(const InputParameters &parameters)
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _df_D_darhoA