#include <PvtPropertiesBasic.hpp> 
 |  
|   | PvtPropertiesBasic () |  
|   | Default constructor.  More...
  |  
|   |  
| void  | init (const ParameterGroup ¶m) |  
|   |  
| void  | init (const int num_phases, const std::vector< double > &rho, const std::vector< double > &visc) |  
|   |  
| int  | numPhases () const |  
|   | Number of active phases.  More...
  |  
|   |  
| PhaseUsage  | phaseUsage () const |  
|   |  
| const double *  | surfaceDensities () const |  
|   |  
| void  | mu (const int n, const double *p, const double *T, const double *z, double *output_mu) const |  
|   | Viscosity as a function of p, T and z.  More...
  |  
|   |  
| void  | B (const int n, const double *p, const double *T, const double *z, double *output_B) const |  
|   | Formation volume factor as a function of p, T and z.  More...
  |  
|   |  
| void  | dBdp (const int n, const double *p, const double *T, const double *z, double *output_B, double *output_dBdp) const |  
|   | Formation volume factor and p-derivative as functions of p, T and z.  More...
  |  
|   |  
| void  | R (const int n, const double *p, const double *z, double *output_R) const |  
|   | Solution factor as a function of p and z.  More...
  |  
|   |  
| void  | dRdp (const int n, const double *p, const double *z, double *output_R, double *output_dRdp) const |  
|   | Solution factor and p-derivative as functions of p and z.  More...
  |  
|   |  
 
Class collecting simple pvt properties for 1-3 phases. All phases are incompressible and have constant viscosities. For all the methods, the following apply: p, T and z are unused. Output arrays shall be of size n*numPhases(), and must be valid before calling the method. NOTE: This class is intentionally similar to BlackoilPvtProperties.  
 
◆ PvtPropertiesBasic()
      
        
          | Opm::PvtPropertiesBasic::PvtPropertiesBasic  | 
          ( | 
           | ) | 
           | 
         
       
 
 
◆ B()
      
        
          | void Opm::PvtPropertiesBasic::B  | 
          ( | 
          const int  | 
          n,  | 
         
        
           | 
           | 
          const double *  | 
          p,  | 
         
        
           | 
           | 
          const double *  | 
          T,  | 
         
        
           | 
           | 
          const double *  | 
          z,  | 
         
        
           | 
           | 
          double *  | 
          output_B  | 
         
        
           | 
          ) | 
           |  const | 
         
       
 
Formation volume factor as a function of p, T and z.  
 
 
◆ dBdp()
      
        
          | void Opm::PvtPropertiesBasic::dBdp  | 
          ( | 
          const int  | 
          n,  | 
         
        
           | 
           | 
          const double *  | 
          p,  | 
         
        
           | 
           | 
          const double *  | 
          T,  | 
         
        
           | 
           | 
          const double *  | 
          z,  | 
         
        
           | 
           | 
          double *  | 
          output_B,  | 
         
        
           | 
           | 
          double *  | 
          output_dBdp  | 
         
        
           | 
          ) | 
           |  const | 
         
       
 
Formation volume factor and p-derivative as functions of p, T and z.  
 
 
◆ dRdp()
      
        
          | void Opm::PvtPropertiesBasic::dRdp  | 
          ( | 
          const int  | 
          n,  | 
         
        
           | 
           | 
          const double *  | 
          p,  | 
         
        
           | 
           | 
          const double *  | 
          z,  | 
         
        
           | 
           | 
          double *  | 
          output_R,  | 
         
        
           | 
           | 
          double *  | 
          output_dRdp  | 
         
        
           | 
          ) | 
           |  const | 
         
       
 
Solution factor and p-derivative as functions of p and z.  
 
 
◆ init() [1/2]
      
        
          | void Opm::PvtPropertiesBasic::init  | 
          ( | 
          const int  | 
          num_phases,  | 
         
        
           | 
           | 
          const std::vector< double > &  | 
          rho,  | 
         
        
           | 
           | 
          const std::vector< double > &  | 
          visc  | 
         
        
           | 
          ) | 
           |  | 
         
       
 
Initialize from arguments. Basic multi phase fluid pvt properties.  
 
 
◆ init() [2/2]
      
        
          | void Opm::PvtPropertiesBasic::init  | 
          ( | 
          const ParameterGroup &  | 
          param | ) | 
           | 
         
       
 
Initialize from parameters. The following parameters are accepted (defaults): 
- num_phases (2) – Must be 1, 2 or 3.
 
- rho1, rho2, rho3 (1.0e3) – Density in kg/m^3
 
- mu1, mu2, mu3 (1.0) – Viscosity in cP 
 
 
 
 
◆ mu()
      
        
          | void Opm::PvtPropertiesBasic::mu  | 
          ( | 
          const int  | 
          n,  | 
         
        
           | 
           | 
          const double *  | 
          p,  | 
         
        
           | 
           | 
          const double *  | 
          T,  | 
         
        
           | 
           | 
          const double *  | 
          z,  | 
         
        
           | 
           | 
          double *  | 
          output_mu  | 
         
        
           | 
          ) | 
           |  const | 
         
       
 
Viscosity as a function of p, T and z.  
 
 
◆ numPhases()
      
        
          | int Opm::PvtPropertiesBasic::numPhases  | 
          ( | 
           | ) | 
           const | 
         
       
 
 
◆ phaseUsage()
      
        
          | PhaseUsage Opm::PvtPropertiesBasic::phaseUsage  | 
          ( | 
           | ) | 
           const | 
         
       
 
- Returns
 - Object describing the active phases. 
  
 
 
◆ R()
      
        
          | void Opm::PvtPropertiesBasic::R  | 
          ( | 
          const int  | 
          n,  | 
         
        
           | 
           | 
          const double *  | 
          p,  | 
         
        
           | 
           | 
          const double *  | 
          z,  | 
         
        
           | 
           | 
          double *  | 
          output_R  | 
         
        
           | 
          ) | 
           |  const | 
         
       
 
Solution factor as a function of p and z.  
 
 
◆ surfaceDensities()
      
        
          | const double * Opm::PvtPropertiesBasic::surfaceDensities  | 
          ( | 
           | ) | 
           const | 
         
       
 
Densities of stock components at surface conditions.  - Returns
 - Array of size numPhases(). 
  
 
 
 The documentation for this class was generated from the following file: 
 
  
 
    
     |