www.mooseframework.org
PrimaryConvection.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
20 {
21 public:
23 
24  PrimaryConvection(const InputParameters & parameters);
25 
26 protected:
27  virtual Real computeQpResidual() override;
28  virtual Real computeQpJacobian() override;
29  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
30 
33 
36 
39 
42 
44  const unsigned int _pvar;
45 };
OutputTools< Real >::VariableGradient VariableGradient
PrimaryConvection(const InputParameters &parameters)
virtual Real computeQpJacobian() override
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const VariableGradient & _grad_p
Pressure gradient.
const RealVectorValue _gravity
Gravity.
virtual Real computeQpResidual() override
const MaterialProperty< Real > & _cond
Hydraulic conductivity.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Define the Kernel for a PrimaryConvection operator that looks like: cond * grad_pressure * grad_u...
const unsigned int _pvar
Pressure variable number.
const MaterialProperty< Real > & _density
Fluid density.