LCOV - code coverage report
Current view: top level - include/materials - PorousFlow2PhasePP_RSC.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 0 1 0.0 %
Date: 2017-11-20 12:14:45 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 POROUSFLOW2PHASEPP_RSC_H
       9             : #define POROUSFLOW2PHASEPP_RSC_H
      10             : 
      11             : #include "PorousFlow2PhasePP.h"
      12             : #include "PorousFlowRogersStallybrassClements.h"
      13             : 
      14             : // Forward Declarations
      15             : class PorousFlow2PhasePP_RSC;
      16             : 
      17             : template <>
      18             : InputParameters validParams<PorousFlow2PhasePP_RSC>();
      19             : 
      20             : /**
      21             :  * Material designed to calculate 2-phase porepressures and saturations at nodes and quadpoints
      22             :  * assuming the independent variables are the 2 porepressure, and
      23             :  * using the Rogers-Stallybrass-Clements capillary curve
      24             :  */
      25           0 : class PorousFlow2PhasePP_RSC : public PorousFlow2PhasePP
      26             : {
      27             : public:
      28             :   PorousFlow2PhasePP_RSC(const InputParameters & parameters);
      29             : 
      30             : protected:
      31             :   Real effectiveSaturation(Real pressure) const override;
      32             : 
      33             :   Real dEffectiveSaturation_dP(Real pressure) const override;
      34             : 
      35             :   Real d2EffectiveSaturation_dP2(Real pressure) const override;
      36             : 
      37             :   /// oil viscosity (which must be twice the water viscocity in this formulation)
      38             :   const Real _oil_viscosity;
      39             : 
      40             :   /// scale ratio: porosity/permeability/beta^2, where beta is chosen by the user
      41             :   const Real _scale_ratio;
      42             : 
      43             :   /// shift.  seff_water = 1/Sqrt(1 + Exp((Pc - shift)/scale)), where scale = 0.25 * scale_ratio * oil_viscosity
      44             :   const Real _shift;
      45             : 
      46             :   /// scale = 0.25 * scale_ratio * oil_viscosity
      47             :   const Real _scale;
      48             : };
      49             : 
      50             : #endif // POROUSFLOW2PHASEPP_RSC_H

Generated by: LCOV version 1.11