https://mooseframework.inl.gov
PorousFlowBasicAdvection.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"
13 #include "PorousFlowDictator.h"
14 
19 {
20 public:
22 
24 
25 protected:
26  virtual Real computeQpResidual() override;
27  virtual Real computeQpJacobian() override;
28  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
29 
32 
34  const unsigned _ph;
35 
38 
44 
52 };
static InputParameters validParams()
const MaterialProperty< std::vector< std::vector< RealVectorValue > > > & _ddarcy_velocity_dvar
_ddarcy_velocity_dvar[_qp][ph][v](j) = d(j^th component of the Darcy velocity of phase ph)/d(PorousFl...
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const unsigned _ph
Phase of Darcy velocity.
virtual Real computeQpJacobian() override
const MaterialProperty< std::vector< std::vector< std::vector< RealVectorValue > > > > & _ddarcy_velocity_dgradvar
_ddarcy_velocity_dgradvar[_qp][ph][j][v](k) = d(k^th component of the Darcy velocity of phase ph)/d(j...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
PorousFlowBasicAdvection(const InputParameters &parameters)
const PorousFlowDictator & _dictator
Holds info on the Porous Flow variables.
const InputParameters & parameters() const
Kernel = grad(test) * darcy_velocity * u.
const MaterialProperty< std::vector< RealVectorValue > > & _darcy_velocity
_darcy_velocity[_qp][ph](j) = j^th component of the Darcy velocity of phase ph
virtual Real computeQpResidual() override