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 "GenericKernel.h"
13 #include "PorousFlowDictator.h"
14 
21 template <bool is_ad>
23 {
24 public:
26 
28 
29 protected:
30  virtual GenericReal<is_ad> computeQpResidual() override;
31  virtual Real computeQpJacobian() override;
32  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
33 
36 
38  const unsigned _ph;
39 
42 
49 
58 
61 };
62 
Moose::GenericType< Real, is_ad > GenericReal
const PorousFlowDictator & _dictator
Holds info on the Porous Flow variables.
const MaterialProperty< std::vector< std::vector< RealVectorValue > > > *const _ddarcy_velocity_dvar
_ddarcy_velocity_dvar[_qp][ph][v](j) = d(j^th component of the Darcy velocity of phase ph)/d(PorousFl...
const InputParameters & parameters() const
virtual GenericReal< is_ad > computeQpResidual() override
virtual Real computeQpJacobian() override
static InputParameters validParams()
const GenericMaterialProperty< std::vector< RealVectorValue >, is_ad > & _darcy_velocity
_darcy_velocity[_qp][ph](j) = j^th component of the Darcy velocity of phase ph
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
const MaterialProperty< std::vector< std::vector< std::vector< RealVectorValue > > > > *const _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
const unsigned _ph
Phase of Darcy velocity.
PorousFlowBasicAdvectionTempl< false > PorousFlowBasicAdvection
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
PorousFlowBasicAdvectionTempl< true > ADPorousFlowBasicAdvection
Kernel = grad(test) * darcy_velocity * u.
PorousFlowBasicAdvectionTempl(const InputParameters &parameters)
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override