LCOV - code coverage report
Current view: top level - include/kernels - PorousFlowHeatAdvection.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-21 14:47:27 Functions: 1 2 50.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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             : 
       8             : #ifndef POROUSFLOWHEATADVECTION_H
       9             : #define POROUSFLOWHEATADVECTION_H
      10             : 
      11             : #include "PorousFlowDarcyBase.h"
      12             : 
      13             : class PorousFlowHeatAdvection;
      14             : 
      15             : template <>
      16             : InputParameters validParams<PorousFlowHeatAdvection>();
      17             : 
      18             : /**
      19             :  * Advection of heat via flux of component k in fluid phase alpha.
      20             :  * A fully-updwinded version is implemented, where the mobility
      21             :  * of the upstream nodes is used.
      22             :  */
      23           5 : class PorousFlowHeatAdvection : public PorousFlowDarcyBase
      24             : {
      25             : public:
      26             :   PorousFlowHeatAdvection(const InputParameters & parameters);
      27             : 
      28             : protected:
      29             :   virtual Real mobility(unsigned nodenum, unsigned phase) const override;
      30             :   virtual Real dmobility(unsigned nodenum, unsigned phase, unsigned pvar) const override;
      31             : 
      32             :   /// Enthalpy of each phase
      33             :   const MaterialProperty<std::vector<Real>> & _enthalpy;
      34             : 
      35             :   /// Derivative of the enthalpy wrt PorousFlow variables
      36             :   const MaterialProperty<std::vector<std::vector<Real>>> & _denthalpy_dvar;
      37             : 
      38             :   /// Relative permeability of each phase
      39             :   const MaterialProperty<std::vector<Real>> & _relative_permeability;
      40             : 
      41             :   /// Derivative of relative permeability of each phase wrt PorousFlow variables
      42             :   const MaterialProperty<std::vector<std::vector<Real>>> & _drelative_permeability_dvar;
      43             : };
      44             : 
      45             : #endif // POROUSFLOWHEATADVECTION_H

Generated by: LCOV version 1.11