www.mooseframework.org
DesorptionFromMatrix.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 DESORPTIONFROMMATRIX
8 #define DESORPTIONFROMMATRIX
9 
10 #include "Kernel.h"
11 #include "LangmuirMaterial.h"
12 
13 // Forward Declarations
15 
16 template <>
17 InputParameters validParams<DesorptionFromMatrix>();
18 
23 class DesorptionFromMatrix : public Kernel
24 {
25 public:
26  DesorptionFromMatrix(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeQpResidual() override;
30  virtual Real computeQpJacobian() override;
31  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
32 
34  const unsigned int _pressure_var;
35 
37  const MaterialProperty<Real> & _mass_rate_from_matrix;
38 
40  const MaterialProperty<Real> & _dmass_rate_from_matrix_dC;
41 
43  const MaterialProperty<Real> & _dmass_rate_from_matrix_dp;
44 };
45 
46 #endif // DESORPTIONFROMMATRIX
DesorptionFromMatrix(const InputParameters &parameters)
InputParameters validParams< DesorptionFromMatrix >()
Mass flow rate of adsorbed fluid from matrix Add this to TimeDerivative to form the entire DE for des...
virtual Real computeQpJacobian() override
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const MaterialProperty< Real > & _dmass_rate_from_matrix_dC
derivative of mass flow rate from matrix wrt concentration
const MaterialProperty< Real > & _mass_rate_from_matrix
mass flow rate from matrix = mass flow rate to porespace
const unsigned int _pressure_var
MOOSE internal variable number corresponding to the porepressure (need this of OffDiagJacobian) ...
virtual Real computeQpResidual() override
const MaterialProperty< Real > & _dmass_rate_from_matrix_dp
derivative of mass flow rate from matrix wrt pressure