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

Material designed to provide a constant permeability tensor. More...

#include <PorousFlowPermeabilityConst.h>

Inheritance diagram for PorousFlowPermeabilityConst:
[legend]

Public Member Functions

 PorousFlowPermeabilityConst (const InputParameters &parameters)
 

Protected Member Functions

void computeQpProperties () override
 

Protected Attributes

const RealTensorValue _input_permeability
 Constant value of permeability tensor. More...
 
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 designed to provide a constant permeability tensor.

Definition at line 23 of file PorousFlowPermeabilityConst.h.

Constructor & Destructor Documentation

◆ PorousFlowPermeabilityConst()

PorousFlowPermeabilityConst::PorousFlowPermeabilityConst ( const InputParameters &  parameters)

Definition at line 27 of file PorousFlowPermeabilityConst.C.

28  : PorousFlowPermeabilityBase(parameters),
29  _input_permeability(getParam<RealTensorValue>("permeability"))
30 {
31 }
PorousFlowPermeabilityBase(const InputParameters &parameters)
const RealTensorValue _input_permeability
Constant value of permeability tensor.

Member Function Documentation

◆ computeQpProperties()

void PorousFlowPermeabilityConst::computeQpProperties ( )
overrideprotected

Definition at line 34 of file PorousFlowPermeabilityConst.C.

35 {
37  _dpermeability_qp_dvar[_qp].assign(_num_var, RealTensorValue());
38  _dpermeability_qp_dgradvar[_qp].resize(LIBMESH_DIM);
39  for (unsigned i = 0; i < LIBMESH_DIM; ++i)
40  _dpermeability_qp_dgradvar[_qp][i].assign(_num_var, RealTensorValue());
41 }
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 RealTensorValue _input_permeability
Constant value of permeability tensor.

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

◆ _input_permeability

const RealTensorValue PorousFlowPermeabilityConst::_input_permeability
protected

Constant value of permeability tensor.

Definition at line 32 of file PorousFlowPermeabilityConst.h.

Referenced by computeQpProperties().

◆ _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

◆ _permeability_qp

MaterialProperty<RealTensorValue>& PorousFlowPermeabilityBase::_permeability_qp
protectedinherited

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