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

Material designed to provide a time-invariant volumetric thermal expansion coefficient A = * (alpha - phi) * alT + phi * alF . More...

#include <PorousFlowConstantThermalExpansionCoefficient.h>

Inheritance diagram for PorousFlowConstantThermalExpansionCoefficient:
[legend]

Public Member Functions

 PorousFlowConstantThermalExpansionCoefficient (const InputParameters &parameters)
 

Protected Member Functions

virtual void initQpStatefulProperties () override
 
virtual void computeQpProperties () override
 

Protected Attributes

const Real _biot_coefficient
 Biot coefficient. More...
 
const Real _fluid_coefficient
 Fluid volumetric thermal expansion coefficient. More...
 
const Real _drained_coefficient
 Drained porous-skeleton volumetric thermal expansion coefficient. More...
 
const MaterialProperty< Real > & _porosity
 porosity at the nodes or quadpoints. Only the initial value is ever used More...
 
MaterialProperty< Real > & _coeff
 Computed volumetric thermal expansion coefficient. More...
 
const MaterialProperty< Real > & _coeff_old
 Old value of the volumetric thermal expansion coefficient. This variable is necessary in order to keep the thermal expansion coefficient constant even if porosity is changing. 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 time-invariant volumetric thermal expansion coefficient A = * (alpha - phi) * alT + phi * alF .

Here alpha = Biot coefficient (assumed constant) phi = initial value of porosity alT = drained volumetric thermal expansion coefficient (assumed constant) alF = fluid volumetric thermal expansion coefficient (assumed constant)

Definition at line 29 of file PorousFlowConstantThermalExpansionCoefficient.h.

Constructor & Destructor Documentation

PorousFlowConstantThermalExpansionCoefficient::PorousFlowConstantThermalExpansionCoefficient ( const InputParameters &  parameters)

Definition at line 31 of file PorousFlowConstantThermalExpansionCoefficient.C.

33  : PorousFlowMaterialVectorBase(parameters),
34  _biot_coefficient(getParam<Real>("biot_coefficient")),
35  _fluid_coefficient(getParam<Real>("fluid_coefficient")),
36  _drained_coefficient(getParam<Real>("drained_coefficient")),
37  _porosity(_nodal_material ? getMaterialProperty<Real>("PorousFlow_porosity_nodal")
38  : getMaterialProperty<Real>("PorousFlow_porosity_qp")),
39  _coeff(_nodal_material
40  ? declareProperty<Real>("PorousFlow_constant_thermal_expansion_coefficient_nodal")
41  : declareProperty<Real>("PorousFlow_constant_thermal_expansion_coefficient_qp")),
42  _coeff_old(_nodal_material ? getMaterialPropertyOld<Real>(
43  "PorousFlow_constant_thermal_expansion_coefficient_nodal")
44  : getMaterialPropertyOld<Real>(
45  "PorousFlow_constant_thermal_expansion_coefficient_qp"))
46 {
47 }
MaterialProperty< Real > & _coeff
Computed volumetric thermal expansion coefficient.
const Real _drained_coefficient
Drained porous-skeleton volumetric thermal expansion coefficient.
const Real _fluid_coefficient
Fluid volumetric thermal expansion coefficient.
PorousFlowMaterialVectorBase(const InputParameters &parameters)
const MaterialProperty< Real > & _coeff_old
Old value of the volumetric thermal expansion coefficient. This variable is necessary in order to kee...
const MaterialProperty< Real > & _porosity
porosity at the nodes or quadpoints. Only the initial value is ever used

Member Function Documentation

void PorousFlowConstantThermalExpansionCoefficient::computeQpProperties ( )
overrideprotectedvirtual

Definition at line 57 of file PorousFlowConstantThermalExpansionCoefficient.C.

58 {
59  _coeff[_qp] = _coeff_old[_qp];
60 }
MaterialProperty< Real > & _coeff
Computed volumetric thermal expansion coefficient.
const MaterialProperty< Real > & _coeff_old
Old value of the volumetric thermal expansion coefficient. This variable is necessary in order to kee...
void PorousFlowConstantThermalExpansionCoefficient::initQpStatefulProperties ( )
overrideprotectedvirtual

Definition at line 50 of file PorousFlowConstantThermalExpansionCoefficient.C.

51 {
54 }
MaterialProperty< Real > & _coeff
Computed volumetric thermal expansion coefficient.
const Real _drained_coefficient
Drained porous-skeleton volumetric thermal expansion coefficient.
const Real _fluid_coefficient
Fluid volumetric thermal expansion coefficient.
const MaterialProperty< Real > & _porosity
porosity at the nodes or quadpoints. Only the initial value is ever used

Member Data Documentation

const Real PorousFlowConstantThermalExpansionCoefficient::_biot_coefficient
protected

Biot coefficient.

Definition at line 39 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by initQpStatefulProperties().

MaterialProperty<Real>& PorousFlowConstantThermalExpansionCoefficient::_coeff
protected

Computed volumetric thermal expansion coefficient.

Definition at line 51 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by computeQpProperties(), and initQpStatefulProperties().

const MaterialProperty<Real>& PorousFlowConstantThermalExpansionCoefficient::_coeff_old
protected

Old value of the volumetric thermal expansion coefficient. This variable is necessary in order to keep the thermal expansion coefficient constant even if porosity is changing.

Definition at line 54 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by computeQpProperties().

const Real PorousFlowConstantThermalExpansionCoefficient::_drained_coefficient
protected

Drained porous-skeleton volumetric thermal expansion coefficient.

Definition at line 45 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by initQpStatefulProperties().

const Real PorousFlowConstantThermalExpansionCoefficient::_fluid_coefficient
protected

Fluid volumetric thermal expansion coefficient.

Definition at line 42 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by initQpStatefulProperties().

const unsigned int PorousFlowMaterialVectorBase::_num_components
protectedinherited
const unsigned int PorousFlowMaterialVectorBase::_num_phases
protectedinherited
const unsigned int PorousFlowMaterialVectorBase::_num_var
protectedinherited
const MaterialProperty<Real>& PorousFlowConstantThermalExpansionCoefficient::_porosity
protected

porosity at the nodes or quadpoints. Only the initial value is ever used

Definition at line 48 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by initQpStatefulProperties().


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