LCOV - code coverage report
Current view: top level - include/materials - PorousFlowThermalConductivityIdeal.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-21 14:47:27 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 POROUSFLOWTHERMALCONDUCTIVITYIDEAL_H
       9             : #define POROUSFLOWTHERMALCONDUCTIVITYIDEAL_H
      10             : 
      11             : #include "PorousFlowMaterialVectorBase.h"
      12             : 
      13             : class PorousFlowThermalConductivityIdeal;
      14             : 
      15             : template <>
      16             : InputParameters validParams<PorousFlowThermalConductivityIdeal>();
      17             : 
      18             : /**
      19             :  * This material computes thermal conductivity for a PorousMedium - fluid
      20             :  * system, by using
      21             :  * Thermal conductivity = dry_thermal_conductivity + S^exponent * (wet_thermal_conductivity -
      22             :  * dry_thermal_conductivity),
      23             :  * where S is the aqueous saturation.
      24             :  */
      25          54 : class PorousFlowThermalConductivityIdeal : public PorousFlowMaterialVectorBase
      26             : {
      27             : public:
      28             :   PorousFlowThermalConductivityIdeal(const InputParameters & parameters);
      29             : 
      30             : protected:
      31             :   virtual void computeQpProperties() override;
      32             : 
      33             :   /// Dry thermal conductivity of rock
      34             :   const RealTensorValue _la_dry;
      35             : 
      36             :   /// Whether _la_wet has been supplied
      37             :   const bool _wet_and_dry_differ;
      38             : 
      39             :   /// Wet thermal conductivity of rock
      40             :   const RealTensorValue _la_wet;
      41             : 
      42             :   /// exponent for saturation
      43             :   const Real _exponent;
      44             : 
      45             :   /// whether this is a fluid simulation
      46             :   const bool _aqueous_phase;
      47             : 
      48             :   /// Phase number of the aqueous phase
      49             :   const unsigned _aqueous_phase_number;
      50             : 
      51             :   /// Saturation of the fluid phases at the quadpoints
      52             :   const MaterialProperty<std::vector<Real>> * const _saturation_qp;
      53             : 
      54             :   /// d(Saturation)/d(PorousFlow variable)
      55             :   const MaterialProperty<std::vector<std::vector<Real>>> * const _dsaturation_qp_dvar;
      56             : 
      57             :   /// Thermal conducitivity at the qps
      58             :   MaterialProperty<RealTensorValue> & _la_qp;
      59             : 
      60             :   /// d(thermal conductivity at the qps)/d(PorousFlow variable)
      61             :   MaterialProperty<std::vector<RealTensorValue>> & _dla_qp_dvar;
      62             : };
      63             : 
      64             : #endif // POROUSFLOWTHERMALCONDUCTIVITYIDEAL_H

Generated by: LCOV version 1.11