LCOV - code coverage report
Current view: top level - include/materials - PorousFlowPorosityHMBiotModulus.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 POROUSFLOWPOROSITYHMBIOTMODULUS_H
       9             : #define POROUSFLOWPOROSITYHMBIOTMODULUS_H
      10             : 
      11             : #include "PorousFlowPorosityHM.h"
      12             : 
      13             : // Forward Declarations
      14             : class PorousFlowPorosityHMBiotModulus;
      15             : 
      16             : template <>
      17             : InputParameters validParams<PorousFlowPorosityHMBiotModulus>();
      18             : 
      19             : /**
      20             :  * This Matrial evolves porosity so that the PorousFlow equations match
      21             :  * the standard equations of poroelasticity theory with a constant BiotModulus.
      22             :  * Even though a constant BiotModulus is not strictly correct, many
      23             :  * analytical solutions of poroelasticity theory assume this, so
      24             :  * PorousFlowPorosityHMBiotModulus is useful for comparing with those solutions.
      25             :  * Otherwise it shouldn't generally be used because PorousFlowPorosityHM
      26             :  * is physically more correct.
      27             :  */
      28           9 : class PorousFlowPorosityHMBiotModulus : public PorousFlowPorosityHM
      29             : {
      30             : public:
      31             :   PorousFlowPorosityHMBiotModulus(const InputParameters & parameters);
      32             : 
      33             : protected:
      34             :   virtual void computeQpProperties() override;
      35             : 
      36             :   /// old value of porosity
      37             :   const MaterialProperty<Real> & _porosity_old;
      38             : 
      39             :   /// constant biot modulus
      40             :   const Real _biot_modulus;
      41             : 
      42             :   /// constant fluid bulk modulus
      43             :   const Real _fluid_bulk_modulus;
      44             : 
      45             :   /// old value of effective fluid pressure
      46             :   const MaterialProperty<Real> & _pf_old;
      47             : 
      48             :   /// old value of total volumetric strain
      49             :   const MaterialProperty<Real> & _vol_strain_qp_old;
      50             : 
      51             :   /// volumetric strain rate
      52             :   const MaterialProperty<Real> & _vol_strain_rate_qp;
      53             : 
      54             :   /// d(volumetric strain rate)/d(PorousFlow variable)
      55             :   const MaterialProperty<std::vector<RealGradient>> & _dvol_strain_rate_qp_dvar;
      56             : };
      57             : 
      58             : #endif // POROUSFLOWPOROSITYHMBIOTMODULUS_H

Generated by: LCOV version 1.11