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

Material designed to provide constant tortuosity and diffusion coefficents. More...

#include <PorousFlowDiffusivityConst.h>

Inheritance diagram for PorousFlowDiffusivityConst:
[legend]

Public Member Functions

 PorousFlowDiffusivityConst (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeQpProperties () override
 

Protected Attributes

const std::vector< Real > _input_tortuosity
 Input tortuosity. More...
 
MaterialProperty< std::vector< Real > > & _tortuosity
 Tortuosity tau_0 * tau_{alpha} for fluid phase alpha. More...
 
MaterialProperty< std::vector< std::vector< Real > > > & _dtortuosity_dvar
 Derivative of tortuosity wrt PorousFlow variables. More...
 
MaterialProperty< std::vector< std::vector< Real > > > & _diffusion_coeff
 Diffusion coefficients of component k in fluid phase alpha. More...
 
MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & _ddiffusion_coeff_dvar
 Derivative of the diffusion coefficients wrt PorousFlow variables. More...
 
const std::vector< Real > _input_diffusion_coeff
 Input diffusion coefficients. 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 constant tortuosity and diffusion coefficents.

Definition at line 21 of file PorousFlowDiffusivityConst.h.

Constructor & Destructor Documentation

◆ PorousFlowDiffusivityConst()

PorousFlowDiffusivityConst::PorousFlowDiffusivityConst ( const InputParameters &  parameters)

Definition at line 26 of file PorousFlowDiffusivityConst.C.

27  : PorousFlowDiffusivityBase(parameters),
28  _input_tortuosity(getParam<std::vector<Real>>("tortuosity"))
29 {
30  // Check that the number of tortuosities entered is equal to the number of phases
31  if (_input_tortuosity.size() != _num_phases)
32  paramError("tortuosity",
33  "The number of tortuosity values entered is not equal to the number of phases "
34  "specified in the Dictator");
35 
36  // Check that all tortuosities are (0, 1]
37  for (unsigned int i = 0; i < _num_phases; ++i)
38  if (_input_tortuosity[i] <= 0.0 || _input_tortuosity[i] > 1)
39  paramError("tortuosity",
40  "All tortuosities must be greater than zero and less than (or equal to) one"
41  ".\nNote: the definition of tortuosity used is l/le, where l is the straight line "
42  "length and le is the effective flow length");
43 }
const unsigned int _num_phases
Number of phases.
const std::vector< Real > _input_tortuosity
Input tortuosity.
PorousFlowDiffusivityBase(const InputParameters &parameters)

Member Function Documentation

◆ computeQpProperties()

void PorousFlowDiffusivityConst::computeQpProperties ( )
overrideprotectedvirtual

Reimplemented from PorousFlowDiffusivityBase.

Definition at line 46 of file PorousFlowDiffusivityConst.C.

47 {
49 
51 }
virtual void computeQpProperties() override
const std::vector< Real > _input_tortuosity
Input tortuosity.
MaterialProperty< std::vector< Real > > & _tortuosity
Tortuosity tau_0 * tau_{alpha} for fluid phase alpha.

Member Data Documentation

◆ _ddiffusion_coeff_dvar

MaterialProperty<std::vector<std::vector<std::vector<Real> > > >& PorousFlowDiffusivityBase::_ddiffusion_coeff_dvar
protectedinherited

Derivative of the diffusion coefficients wrt PorousFlow variables.

Definition at line 39 of file PorousFlowDiffusivityBase.h.

Referenced by PorousFlowDiffusivityBase::computeQpProperties().

◆ _diffusion_coeff

MaterialProperty<std::vector<std::vector<Real> > >& PorousFlowDiffusivityBase::_diffusion_coeff
protectedinherited

Diffusion coefficients of component k in fluid phase alpha.

Definition at line 36 of file PorousFlowDiffusivityBase.h.

Referenced by PorousFlowDiffusivityBase::computeQpProperties().

◆ _dtortuosity_dvar

MaterialProperty<std::vector<std::vector<Real> > >& PorousFlowDiffusivityBase::_dtortuosity_dvar
protectedinherited

Derivative of tortuosity wrt PorousFlow variables.

Definition at line 33 of file PorousFlowDiffusivityBase.h.

Referenced by PorousFlowDiffusivityBase::computeQpProperties(), and PorousFlowDiffusivityMillingtonQuirk::computeQpProperties().

◆ _input_diffusion_coeff

const std::vector<Real> PorousFlowDiffusivityBase::_input_diffusion_coeff
protectedinherited

◆ _input_tortuosity

const std::vector<Real> PorousFlowDiffusivityConst::_input_tortuosity
protected

Input tortuosity.

Definition at line 30 of file PorousFlowDiffusivityConst.h.

Referenced by computeQpProperties(), and PorousFlowDiffusivityConst().

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

◆ _tortuosity

MaterialProperty<std::vector<Real> >& PorousFlowDiffusivityBase::_tortuosity
protectedinherited

Tortuosity tau_0 * tau_{alpha} for fluid phase alpha.

Definition at line 30 of file PorousFlowDiffusivityBase.h.

Referenced by computeQpProperties(), and PorousFlowDiffusivityMillingtonQuirk::computeQpProperties().


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