www.mooseframework.org
LangmuirMaterial.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef LANGMUIRMATERIAL_H
8 #define LANGMUIRMATERIAL_H
9 
10 #include "Material.h"
11 
12 // Forward Declarations
13 class LangmuirMaterial;
14 
15 template <>
16 InputParameters validParams<LangmuirMaterial>();
17 
22 class LangmuirMaterial : public Material
23 {
24 public:
25  LangmuirMaterial(const InputParameters & parameters);
26 
27 protected:
28  virtual void computeQpProperties() override;
29 
30 private:
32  const VariableValue * _one_over_de_time_const;
33 
35  const VariableValue * _one_over_ad_time_const;
36 
38  const Real _langmuir_dens;
39 
41  const Real _langmuir_p;
42 
44  const VariableValue * _conc;
45 
47  const VariableValue * _pressure;
48 
50  MaterialProperty<Real> & _mass_rate_from_matrix;
51 
53  MaterialProperty<Real> & _dmass_rate_from_matrix_dC;
54 
56  MaterialProperty<Real> & _dmass_rate_from_matrix_dp;
57 };
58 
59 #endif // LANGMUIRMATERIAL_H
const Real _langmuir_p
langmuir pressure
const VariableValue * _pressure
porespace pressure (or partial pressure if multiphase flow scenario)
LangmuirMaterial(const InputParameters &parameters)
MaterialProperty< Real > & _mass_rate_from_matrix
mass flow rate from the matrix = mass flow rate to the porespace
virtual void computeQpProperties() override
const Real _langmuir_dens
langmuir density
InputParameters validParams< LangmuirMaterial >()
const VariableValue * _one_over_ad_time_const
reciprocal of adsorption time constant
const VariableValue * _one_over_de_time_const
reciprocal of desorption time constant
MaterialProperty< Real > & _dmass_rate_from_matrix_dp
derivative of mass flow rate wrt pressure
Holds Langmuir parameters associated with desorption Calculates mass-flow rates and derivatives there...
const VariableValue * _conc
concentration of adsorbed fluid in matrix
MaterialProperty< Real > & _dmass_rate_from_matrix_dC
derivative of mass flow rate wrt concentration