https://mooseframework.inl.gov
PorousFlowPermeabilityKozenyCarmanBase.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 
13 
23 template <bool is_ad>
25 {
26 public:
28 
30 
31 protected:
32  void computeQpProperties() override;
33 
35  virtual Real computeA() const = 0;
36 
38  const Real _m;
39 
41  const Real _n;
42 
45 
48 
51 
54 
56 };
57 
PorousFlowPermeabilityKozenyCarmanBaseTempl< false > PorousFlowPermeabilityKozenyCarmanBase
const MaterialProperty< std::vector< Real > > *const _dporosity_qp_dvar
d(quadpoint porosity)/d(PorousFlow variable)
Base class for material designed to provide the permeability tensor which is calculated from porosity...
PorousFlowPermeabilityKozenyCarmanBaseTempl(const InputParameters &parameters)
const Real _m
Exponent in k = k_ijk * A * phi^n / (1 - phi)^m.
Base class Material designed to provide the permeability tensor.
PorousFlowPermeabilityKozenyCarmanBaseTempl< true > ADPorousFlowPermeabilityKozenyCarmanBase
TensorValue< Real > RealTensorValue
const MaterialProperty< std::vector< RealGradient > > *const _dporosity_qp_dgradvar
d(quadpoint porosity)/d(grad(PorousFlow variable))
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const GenericMaterialProperty< Real, is_ad > & _porosity_qp
Quadpoint porosity.
virtual Real computeA() const =0
function for returning A factor in Kozeny Carman equation
const Real _n
Exponent in k = k_ijk * A * phi^n / (1 - phi)^m.
const RealTensorValue _k_anisotropy
Tensor multiplier k_ijk in k = k_ijk * A * phi^n / (1 - phi)^m.