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 30 of file PorousFlowConstantThermalExpansionCoefficient.h.

Constructor & Destructor Documentation

◆ PorousFlowConstantThermalExpansionCoefficient()

PorousFlowConstantThermalExpansionCoefficient::PorousFlowConstantThermalExpansionCoefficient ( const InputParameters &  parameters)

Definition at line 36 of file PorousFlowConstantThermalExpansionCoefficient.C.

38  : PorousFlowMaterialVectorBase(parameters),
39  _biot_coefficient(getParam<Real>("biot_coefficient")),
40  _fluid_coefficient(getParam<Real>("fluid_coefficient")),
41  _drained_coefficient(getParam<Real>("drained_coefficient")),
42  _porosity(_nodal_material ? getMaterialProperty<Real>("PorousFlow_porosity_nodal")
43  : getMaterialProperty<Real>("PorousFlow_porosity_qp")),
44  _coeff(_nodal_material
45  ? declareProperty<Real>("PorousFlow_constant_thermal_expansion_coefficient_nodal")
46  : declareProperty<Real>("PorousFlow_constant_thermal_expansion_coefficient_qp")),
47  _coeff_old(_nodal_material ? getMaterialPropertyOld<Real>(
48  "PorousFlow_constant_thermal_expansion_coefficient_nodal")
49  : getMaterialPropertyOld<Real>(
50  "PorousFlow_constant_thermal_expansion_coefficient_qp"))
51 {
52 }
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

◆ computeQpProperties()

void PorousFlowConstantThermalExpansionCoefficient::computeQpProperties ( )
overrideprotectedvirtual

Definition at line 62 of file PorousFlowConstantThermalExpansionCoefficient.C.

63 {
64  _coeff[_qp] = _coeff_old[_qp];
65 }
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...

◆ initQpStatefulProperties()

void PorousFlowConstantThermalExpansionCoefficient::initQpStatefulProperties ( )
overrideprotectedvirtual

Definition at line 55 of file PorousFlowConstantThermalExpansionCoefficient.C.

56 {
59 }
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

◆ _biot_coefficient

const Real PorousFlowConstantThermalExpansionCoefficient::_biot_coefficient
protected

Biot coefficient.

Definition at line 40 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by initQpStatefulProperties().

◆ _coeff

MaterialProperty<Real>& PorousFlowConstantThermalExpansionCoefficient::_coeff
protected

Computed volumetric thermal expansion coefficient.

Definition at line 52 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by computeQpProperties(), and initQpStatefulProperties().

◆ _coeff_old

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 55 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by computeQpProperties().

◆ _drained_coefficient

const Real PorousFlowConstantThermalExpansionCoefficient::_drained_coefficient
protected

Drained porous-skeleton volumetric thermal expansion coefficient.

Definition at line 46 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by initQpStatefulProperties().

◆ _fluid_coefficient

const Real PorousFlowConstantThermalExpansionCoefficient::_fluid_coefficient
protected

Fluid volumetric thermal expansion coefficient.

Definition at line 43 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by initQpStatefulProperties().

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

◆ _porosity

const MaterialProperty<Real>& PorousFlowConstantThermalExpansionCoefficient::_porosity
protected

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

Definition at line 49 of file PorousFlowConstantThermalExpansionCoefficient.h.

Referenced by initQpStatefulProperties().


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