LCOV - code coverage report
Current view: top level - include/userobjects - PorousFlowCapillaryPressureRSC.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-18 13:30:36 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 POROUSFLOWCAPILLARYPRESSURERSC_H
       9             : #define POROUSFLOWCAPILLARYPRESSURERSC_H
      10             : 
      11             : #include "PorousFlowCapillaryPressure.h"
      12             : 
      13             : class PorousFlowCapillaryPressureRSC;
      14             : 
      15             : template <>
      16             : InputParameters validParams<PorousFlowCapillaryPressureRSC>();
      17             : 
      18             : /**
      19             :  * Rogers-Stallybrass-Clements form of capillary pressure
      20             :  */
      21           2 : class PorousFlowCapillaryPressureRSC : public PorousFlowCapillaryPressure
      22             : {
      23             : public:
      24             :   PorousFlowCapillaryPressureRSC(const InputParameters & parameters);
      25             : 
      26             :   virtual Real capillaryPressureCurve(Real saturation) const override;
      27             :   virtual Real dCapillaryPressureCurve(Real saturation) const override;
      28             :   virtual Real d2CapillaryPressureCurve(Real saturation) const override;
      29             : 
      30             :   virtual Real effectiveSaturation(Real pc) const override;
      31             :   virtual Real dEffectiveSaturation(Real pc) const override;
      32             :   virtual Real d2EffectiveSaturation(Real pc) const override;
      33             : 
      34             : protected:
      35             :   /// Oil viscosity (which must be twice the water viscocity in this formulation)
      36             :   const Real _oil_viscosity;
      37             :   /// Scale ratio: porosity/permeability/beta^2, where beta is chosen by the user
      38             :   const Real _scale_ratio;
      39             :   /// Shift.  seff_water = 1/Sqrt(1 + Exp((Pc - shift)/scale)), where scale = 0.25 * scale_ratio * oil_viscosity
      40             :   const Real _shift;
      41             :   /// Scale = 0.25 * scale_ratio * oil_viscosity
      42             :   const Real _scale;
      43             : };
      44             : 
      45             : #endif // POROUSFLOWCAPILLARYPRESSURERSC_H

Generated by: LCOV version 1.11