www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PorousFlowPermeabilityConstFromVar Class Reference

Material to provide permeability taken from a variable. More...

#include <PorousFlowPermeabilityConstFromVar.h>

Inheritance diagram for PorousFlowPermeabilityConstFromVar:
[legend]

Public Member Functions

 PorousFlowPermeabilityConstFromVar (const InputParameters &parameters)
 

Protected Member Functions

void computeQpProperties () override
 

Protected Attributes

const VariableValue & _perm_xx
 Permeability components. More...
 
const VariableValue & _perm_xy
 
const VariableValue & _perm_xz
 
const VariableValue & _perm_yx
 
const VariableValue & _perm_yy
 
const VariableValue & _perm_yz
 
const VariableValue & _perm_zx
 
const VariableValue & _perm_zy
 
const VariableValue & _perm_zz
 
MaterialProperty< RealTensorValue > & _permeability_qp
 Quadpoint permeability. More...
 
MaterialProperty< std::vector< RealTensorValue > > & _dpermeability_qp_dvar
 d(quadpoint permeability)/d(PorousFlow variable) More...
 
MaterialProperty< std::vector< std::vector< RealTensorValue > > > & _dpermeability_qp_dgradvar
 d(quadpoint permeability)/d(grad(PorousFlow variable)) More...
 
const unsigned int _num_phases
 Number of phases. More...
 
const unsigned int _num_components
 Number of fluid components. More...
 
const unsigned int _num_var
 Number of PorousFlow variables. More...
 

Detailed Description

Material to provide permeability taken from a variable.

This material is primarily designed for use with heterogeneous reservoir models where the components of the permeability tensor are provided by an elemental aux variables that do not change. The three diagonal entries corresponding to the x, y, and z directions must be given. Optionally, the off-diagonal components of the full permeability tensor can be given. If they are not provided, they will be initialised to zero.

Definition at line 30 of file PorousFlowPermeabilityConstFromVar.h.

Constructor & Destructor Documentation

◆ PorousFlowPermeabilityConstFromVar()

PorousFlowPermeabilityConstFromVar::PorousFlowPermeabilityConstFromVar ( const InputParameters &  parameters)

Definition at line 33 of file PorousFlowPermeabilityConstFromVar.C.

35  : PorousFlowPermeabilityBase(parameters),
36  _perm_xx(coupledValue("perm_xx")),
37  _perm_xy(coupledValue("perm_xy")),
38  _perm_xz(coupledValue("perm_xz")),
39  _perm_yx(coupledValue("perm_yx")),
40  _perm_yy(coupledValue("perm_yy")),
41  _perm_yz(coupledValue("perm_yz")),
42  _perm_zx(coupledValue("perm_zx")),
43  _perm_zy(coupledValue("perm_zy")),
44  _perm_zz(coupledValue("perm_zz"))
45 {
46 }
PorousFlowPermeabilityBase(const InputParameters &parameters)
const VariableValue & _perm_xx
Permeability components.

Member Function Documentation

◆ computeQpProperties()

void PorousFlowPermeabilityConstFromVar::computeQpProperties ( )
overrideprotected

Definition at line 49 of file PorousFlowPermeabilityConstFromVar.C.

50 {
51  RealTensorValue permeability(_perm_xx[_qp],
52  _perm_xy[_qp],
53  _perm_xz[_qp],
54  _perm_yx[_qp],
55  _perm_yy[_qp],
56  _perm_yz[_qp],
57  _perm_zx[_qp],
58  _perm_zy[_qp],
59  _perm_zz[_qp]);
60 
61  _permeability_qp[_qp] = permeability;
62  _dpermeability_qp_dvar[_qp].resize(_num_var, RealTensorValue());
63  _dpermeability_qp_dgradvar[_qp].resize(LIBMESH_DIM);
64 
65  for (unsigned int i = 0; i < LIBMESH_DIM; ++i)
66  _dpermeability_qp_dgradvar[_qp][i].resize(_num_var, RealTensorValue());
67 }
MaterialProperty< std::vector< std::vector< RealTensorValue > > > & _dpermeability_qp_dgradvar
d(quadpoint permeability)/d(grad(PorousFlow variable))
const unsigned int _num_var
Number of PorousFlow variables.
MaterialProperty< std::vector< RealTensorValue > > & _dpermeability_qp_dvar
d(quadpoint permeability)/d(PorousFlow variable)
MaterialProperty< RealTensorValue > & _permeability_qp
Quadpoint permeability.
const VariableValue & _perm_xx
Permeability components.

Member Data Documentation

◆ _dpermeability_qp_dgradvar

MaterialProperty<std::vector<std::vector<RealTensorValue> > >& PorousFlowPermeabilityBase::_dpermeability_qp_dgradvar
protectedinherited

◆ _dpermeability_qp_dvar

MaterialProperty<std::vector<RealTensorValue> >& PorousFlowPermeabilityBase::_dpermeability_qp_dvar
protectedinherited

◆ _num_components

const unsigned int PorousFlowMaterialVectorBase::_num_components
protectedinherited

◆ _num_phases

const unsigned int PorousFlowMaterialVectorBase::_num_phases
protectedinherited

◆ _num_var

const unsigned int PorousFlowMaterialVectorBase::_num_var
protectedinherited

◆ _perm_xx

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_xx
protected

Permeability components.

Definition at line 39 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

◆ _perm_xy

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_xy
protected

Definition at line 40 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

◆ _perm_xz

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_xz
protected

Definition at line 41 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

◆ _perm_yx

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_yx
protected

Definition at line 42 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

◆ _perm_yy

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_yy
protected

Definition at line 43 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

◆ _perm_yz

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_yz
protected

Definition at line 44 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

◆ _perm_zx

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_zx
protected

Definition at line 45 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

◆ _perm_zy

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_zy
protected

Definition at line 46 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

◆ _perm_zz

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_zz
protected

Definition at line 47 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

◆ _permeability_qp

MaterialProperty<RealTensorValue>& PorousFlowPermeabilityBase::_permeability_qp
protectedinherited

The documentation for this class was generated from the following files: