LCOV - code coverage report
Current view: top level - include/actions - PorousFlowUnsaturated.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-21 12:39:25 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             : #ifndef POROUSFLOWUNSATURATED_H
       8             : #define POROUSFLOWUNSATURATED_H
       9             : 
      10             : #include "PorousFlowSinglePhaseBase.h"
      11             : 
      12             : class PorousFlowUnsaturated;
      13             : 
      14             : template <>
      15             : InputParameters validParams<PorousFlowUnsaturated>();
      16             : 
      17             : /**
      18             :  * Action for simulation involving a single phase, partially or fully saturated fluid.
      19             :  * The fluid's saturation is found using the van-Genuchten expression, and the
      20             :  * relative permeability is found using the FLAC or Corey expression.
      21             :  */
      22          25 : class PorousFlowUnsaturated : public PorousFlowSinglePhaseBase
      23             : {
      24             : public:
      25             :   PorousFlowUnsaturated(const InputParameters & params);
      26             : 
      27             :   virtual void act() override;
      28             : 
      29             : protected:
      30             :   /// Add an Aux Variable to record saturation
      31             :   const bool _add_saturation_aux;
      32             : 
      33             :   /// Van Genuchten alpha parameter
      34             :   const Real _van_genuchten_alpha;
      35             : 
      36             :   /// Van Genuchten m parameter
      37             :   const Real _van_genuchten_m;
      38             : 
      39             :   /// Fluid relative permeability type (FLAC or Corey)
      40             :   const enum class RelpermTypeChoiceEnum { FLAC, COREY } _relperm_type;
      41             : 
      42             :   /// Relative permeability exponent
      43             :   const Real _relative_permeability_exponent;
      44             : 
      45             :   /// Residual saturation to use in the relative permeability expressions
      46             :   const Real _s_res;
      47             : };
      48             : 
      49             : #endif // POROUSFLOWUNSATURATED_H

Generated by: LCOV version 1.11