https://mooseframework.inl.gov
OneD3EqnMomentumGravity.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  OneD3EqnMomentumGravity(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 
37 
38  const unsigned int _arhoA_var_number;
39 
40 public:
42 };
const MaterialProperty< Real > & _drho_darhoA
const MaterialProperty< RealVectorValue > & _dir
The direction of the flow channel.
OneD3EqnMomentumGravity(const InputParameters &parameters)
const RealVectorValue & _gravity_vector
Gravitational acceleration vector.
const MaterialProperty< Real > & _rho
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Computes gravity term for the momentum equation for 1-phase flow.
static InputParameters validParams()
const unsigned int _arhoA_var_number
virtual Real computeQpOffDiagJacobian(unsigned int jvar)