https://mooseframework.inl.gov
OneD3EqnMomentumFriction.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 
21 {
22 public:
23  OneD3EqnMomentumFriction(const InputParameters & parameters);
24 
25 protected:
26  virtual Real computeQpResidual() override;
27  virtual Real computeQpJacobian() override;
28  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
29 
31  const VariableValue & _A;
32 
35 
39 
44 
50 
51  unsigned int _arhoA_var_number;
52  unsigned int _arhouA_var_number;
53  unsigned int _arhoEA_var_number;
54 
55 public:
57 };
const MaterialProperty< Real > & _f_D
Darcy friction factor.
const MaterialProperty< Real > & _df_D_darhoEA
const MaterialProperty< Real > & _vel
velocity
Computes wall friction term for single phase flow.
const MaterialProperty< Real > & _rho
Density.
const MaterialProperty< Real > & _dvel_darhoA
const MaterialProperty< Real > & _D_h
Hydraulic diameter.
const MaterialProperty< Real > & _drho_darhoA
const MaterialProperty< Real > & _dvel_darhouA
const MaterialProperty< Real > & _df_D_darhoA
virtual Real computeQpResidual() override
OneD3EqnMomentumFriction(const InputParameters &parameters)
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const VariableValue & _A
area
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
virtual Real computeQpJacobian() override
const MaterialProperty< Real > & _df_D_darhouA