LCOV - code coverage report
Current view: top level - include/materials - PorousFlowRelativePermeabilityBC.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-20 14:50:56 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 POROUSFLOWRELATIVEPERMEABILITYBC_H
       9             : #define POROUSFLOWRELATIVEPERMEABILITYBC_H
      10             : 
      11             : #include "PorousFlowRelativePermeabilityBase.h"
      12             : 
      13             : class PorousFlowRelativePermeabilityBC;
      14             : 
      15             : template <>
      16             : InputParameters validParams<PorousFlowRelativePermeabilityBC>();
      17             : 
      18             : /**
      19             :  * Material to calculate Brooks-Corey relative permeability of an arbitrary phase
      20             :  * given the effective saturation and exponent of that phase.
      21             :  *
      22             :  * From Brooks, R. H. and A. T. Corey (1966), Properties of porous media affecting
      23             :  * fluid flow, J. Irrig. Drain. Div., 6, 61
      24             :  */
      25          24 : class PorousFlowRelativePermeabilityBC : public PorousFlowRelativePermeabilityBase
      26             : {
      27             : public:
      28             :   PorousFlowRelativePermeabilityBC(const InputParameters & parameters);
      29             : 
      30             : protected:
      31             :   virtual Real relativePermeability(Real seff) const override;
      32             :   virtual Real dRelativePermeability(Real seff) const override;
      33             : 
      34             :   /// Brooks-Corey exponent lambda
      35             :   const Real _lambda;
      36             :   /// Flag that is set to true if this is the non-wetting (gas) phase
      37             :   const bool _is_nonwetting;
      38             : };
      39             : 
      40             : #endif // POROUSFLOWRELATIVEPERMEABILITYBC_H

Generated by: LCOV version 1.11