https://mooseframework.inl.gov
OneD3EqnMomentumFormLoss.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 
15 class Function;
16 
24 {
25 public:
26  OneD3EqnMomentumFormLoss(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeQpResidual() override;
30  virtual Real computeQpJacobian() override;
31  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
32 
34  const VariableValue & _A;
35 
39 
44 
47 
48  unsigned int _arhoA_var_number;
49  unsigned int _arhouA_var_number;
50  unsigned int _arhoEA_var_number;
51 
52 public:
54 };
const MaterialProperty< Real > & _dvel_darhouA
const MaterialProperty< Real > & _vel
velocity
const VariableValue & _A
area
const MaterialProperty< Real > & _rho
density
virtual Real computeQpResidual() override
static InputParameters validParams()
virtual Real computeQpJacobian() override
OutputTools< Real >::VariableValue VariableValue
const MaterialProperty< Real > & _dvel_darhoA
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _drho_darhoA
Computes the force per unit length due to form loss, provided a form loss coefficient per unit length...
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
OneD3EqnMomentumFormLoss(const InputParameters &parameters)
const MaterialProperty< Real > & _K_prime
form loss coefficient per unit length function