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 29 of file PorousFlowPermeabilityConstFromVar.h.

Constructor & Destructor Documentation

PorousFlowPermeabilityConstFromVar::PorousFlowPermeabilityConstFromVar ( const InputParameters &  parameters)

Definition at line 29 of file PorousFlowPermeabilityConstFromVar.C.

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

Member Function Documentation

void PorousFlowPermeabilityConstFromVar::computeQpProperties ( )
overrideprotected

Definition at line 45 of file PorousFlowPermeabilityConstFromVar.C.

46 {
47  RealTensorValue permeability(_perm_xx[_qp],
48  _perm_xy[_qp],
49  _perm_xz[_qp],
50  _perm_yx[_qp],
51  _perm_yy[_qp],
52  _perm_yz[_qp],
53  _perm_zx[_qp],
54  _perm_zy[_qp],
55  _perm_zz[_qp]);
56 
57  _permeability_qp[_qp] = permeability;
58  _dpermeability_qp_dvar[_qp].resize(_num_var, RealTensorValue());
59  _dpermeability_qp_dgradvar[_qp].resize(LIBMESH_DIM);
60 
61  for (unsigned int i = 0; i < LIBMESH_DIM; ++i)
62  _dpermeability_qp_dgradvar[_qp][i].resize(_num_var, RealTensorValue());
63 }
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

MaterialProperty<std::vector<std::vector<RealTensorValue> > >& PorousFlowPermeabilityBase::_dpermeability_qp_dgradvar
protectedinherited
MaterialProperty<std::vector<RealTensorValue> >& PorousFlowPermeabilityBase::_dpermeability_qp_dvar
protectedinherited
const unsigned int PorousFlowMaterialVectorBase::_num_components
protectedinherited
const unsigned int PorousFlowMaterialVectorBase::_num_phases
protectedinherited
const unsigned int PorousFlowMaterialVectorBase::_num_var
protectedinherited
const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_xx
protected

Permeability components.

Definition at line 38 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_xy
protected

Definition at line 39 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_xz
protected

Definition at line 40 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_yx
protected

Definition at line 41 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_yy
protected

Definition at line 42 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_yz
protected

Definition at line 43 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_zx
protected

Definition at line 44 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_zy
protected

Definition at line 45 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

const VariableValue& PorousFlowPermeabilityConstFromVar::_perm_zz
protected

Definition at line 46 of file PorousFlowPermeabilityConstFromVar.h.

Referenced by computeQpProperties().

MaterialProperty<RealTensorValue>& PorousFlowPermeabilityBase::_permeability_qp
protectedinherited

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