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

Calculates the total volume fraction of the coupled solid mineral species (volume of mineral species / volume of model) More...

#include <TotalMineralVolumeFraction.h>

Inheritance diagram for TotalMineralVolumeFraction:
[legend]

Public Member Functions

 TotalMineralVolumeFraction (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpIntegral () override
 

Protected Attributes

const Real _molar_volume
 Molar volume of coupled mineral species (molar mass / density) More...
 

Detailed Description

Calculates the total volume fraction of the coupled solid mineral species (volume of mineral species / volume of model)

Definition at line 24 of file TotalMineralVolumeFraction.h.

Constructor & Destructor Documentation

◆ TotalMineralVolumeFraction()

TotalMineralVolumeFraction::TotalMineralVolumeFraction ( const InputParameters &  parameters)

Definition at line 24 of file TotalMineralVolumeFraction.C.

25  : ElementAverageValue(parameters), _molar_volume(getParam<Real>("molar_volume"))
26 {
27 }
const Real _molar_volume
Molar volume of coupled mineral species (molar mass / density)

Member Function Documentation

◆ computeQpIntegral()

Real TotalMineralVolumeFraction::computeQpIntegral ( )
overrideprotectedvirtual

Definition at line 30 of file TotalMineralVolumeFraction.C.

31 {
32  return _molar_volume * _u[_qp];
33 }
const Real _molar_volume
Molar volume of coupled mineral species (molar mass / density)

Member Data Documentation

◆ _molar_volume

const Real TotalMineralVolumeFraction::_molar_volume
protected

Molar volume of coupled mineral species (molar mass / density)

Definition at line 33 of file TotalMineralVolumeFraction.h.

Referenced by computeQpIntegral().


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