LCOV - code coverage report
Current view: top level - include/materials - PorousFlow1PhaseP_BW.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 0 1 0.0 %
Date: 2017-11-21 14:47:27 Functions: 0 2 0.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 POROUSFLOW1PHASEP_BW_H
       9             : #define POROUSFLOW1PHASEP_BW_H
      10             : 
      11             : #include "PorousFlow1PhaseP.h"
      12             : #include "PorousFlowBroadbridgeWhite.h"
      13             : 
      14             : // Forward Declarations
      15             : class PorousFlow1PhaseP_BW;
      16             : 
      17             : template <>
      18             : InputParameters validParams<PorousFlow1PhaseP_BW>();
      19             : 
      20             : /**
      21             :  * Material designed to calculate fluid-phase porepressure and saturation
      22             :  * for the single-phase situation, using a Broadbridge-White capillary suction function
      23             :  * P Broadbridge, I White ``Constant rate rainfall
      24             :  * infiltration: A versatile nonlinear model, 1 Analytical solution''.
      25             :  * Water Resources Research 24 (1988) 145--154.
      26             :  */
      27           0 : class PorousFlow1PhaseP_BW : public PorousFlow1PhaseP
      28             : {
      29             : public:
      30             :   PorousFlow1PhaseP_BW(const InputParameters & parameters);
      31             : 
      32             : protected:
      33             :   Real effectiveSaturation(Real pressure) const override;
      34             : 
      35             :   Real dEffectiveSaturation_dP(Real pressure) const override;
      36             : 
      37             :   Real d2EffectiveSaturation_dP2(Real pressure) const override;
      38             : 
      39             :   /// BW's Sn parameter (initial saturation)
      40             :   const Real _sn;
      41             : 
      42             :   /// BW's Ss parameter
      43             :   const Real _ss;
      44             : 
      45             :   /// BW's C parameter (>1)
      46             :   const Real _c;
      47             : 
      48             :   /// BWs lambda_s parameter multiplied yb fluiddensity * gravity (>0)
      49             :   const Real _las;
      50             : };
      51             : 
      52             : #endif // POROUSFLOW1PHASEP_BW_H

Generated by: LCOV version 1.11