www.mooseframework.org
MollifiedLangmuirMaterial.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 MOLLFIEDLANGMUIRMATERIAL_H
8 #define MOLLFIEDLANGMUIRMATERIAL_H
9 
10 #include "Material.h"
11 
12 // Forward Declarations
14 
15 template <>
17 
22 class MollifiedLangmuirMaterial : public Material
23 {
24 public:
25  MollifiedLangmuirMaterial(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 
55  const Real _mollifier;
56 
58  MaterialProperty<Real> & _mass_rate_from_matrix;
59 
61  MaterialProperty<Real> & _dmass_rate_from_matrix_dC;
62 
64  MaterialProperty<Real> & _dmass_rate_from_matrix_dp;
65 };
66 
67 #endif // MOLLFIEDLANGMUIRMATERIAL_H
const VariableValue * _conc
concentration of adsorbed fluid in matrix
const VariableValue * _one_over_ad_time_const
reciprocal of adsorption time constant
MaterialProperty< Real > & _dmass_rate_from_matrix_dC
derivative of mass flow rate wrt concentration
const Real _mollifier
mollifying parameter.
InputParameters validParams< MollifiedLangmuirMaterial >()
MaterialProperty< Real > & _dmass_rate_from_matrix_dp
derivative of mass flow rate wrt pressure
MollifiedLangmuirMaterial(const InputParameters &parameters)
virtual void computeQpProperties() override
const Real _langmuir_p
langmuir pressure
const Real _langmuir_dens
langmuir density
const VariableValue * _one_over_de_time_const
reciprocal of desorption time constant
MaterialProperty< Real > & _mass_rate_from_matrix
mass flow rate from the matrix = mass flow rate to the porespace
const VariableValue * _pressure
porespace pressure (or partial pressure if multiphase flow scenario)
Holds Langmuir parameters associated with desorption Calculates mass-flow rates and derivatives there...