https://mooseframework.inl.gov
PorousFlowDarcyVelocityComponent.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 "AuxKernel.h"
13 #include "PorousFlowDictator.h"
14 
25 template <bool is_ad>
27 {
28 public:
30 
32 
33 protected:
34  virtual Real computeValue();
35 
38 
41 
44 
47 
50 
53 
55  const unsigned int _ph;
56 
58  unsigned int _component;
59 
62 };
63 
const GenericMaterialProperty< std::vector< Real >, is_ad > & _relative_permeability
Relative permeability of each phase.
const RealVectorValue _gravity
Gravitational acceleration.
const GenericMaterialProperty< std::vector< RealGradient >, is_ad > & _grad_p
Gradient of the pore pressure in each phase.
PorousFlowDarcyVelocityComponentTempl< true > ADPorousFlowDarcyVelocityComponent
PorousFlowDarcyVelocityComponentTempl(const InputParameters &parameters)
PorousFlowDarcyVelocityComponentTempl< false > PorousFlowDarcyVelocityComponent
const unsigned int _ph
Index of the fluid phase.
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Computes a component of the Darcy velocity: -k_ij * krel /mu (nabla_j P - w_j) where k_ij is the perm...
const GenericMaterialProperty< RealTensorValue, is_ad > & _permeability
Permeability of porous material.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const GenericMaterialProperty< std::vector< Real >, is_ad > & _fluid_viscosity
Viscosity of each component in each phase.
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
const InputParameters & parameters() const
unsigned int _component
Desired spatial component.
const PorousFlowDictator & _dictator
PorousFlowDicatator UserObject.
const GenericMaterialProperty< std::vector< Real >, is_ad > & _fluid_density_qp
Fluid density for each phase (at the qp)