#6065 Import "Fluid Loss Coefficient" and "Spurt Loss" from csv and export to frk.

This commit is contained in:
Kristian Bendiksen
2020-06-17 09:36:56 +02:00
parent f2696b003d
commit 19ee0310a9
11 changed files with 116 additions and 38 deletions

View File

@@ -110,6 +110,22 @@ const std::vector<double>& RigElasticProperties::k0() const
return m_k0;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
const std::vector<double>& RigElasticProperties::fluidLossCoefficient() const
{
return m_fluidLossCoefficient;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
const std::vector<double>& RigElasticProperties::spurtLoss() const
{
return m_spurtLoss;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -119,7 +135,9 @@ void RigElasticProperties::appendValues( double porosity,
double K_Ic,
double proppantEmbedment,
double biotCoefficient,
double k0 )
double k0,
double fluidLossCoefficient,
double spurtLoss )
{
m_porosity.push_back( porosity );
m_youngsModulus.push_back( youngsModulus );
@@ -128,6 +146,8 @@ void RigElasticProperties::appendValues( double porosity,
m_proppantEmbedment.push_back( proppantEmbedment );
m_biotCoefficient.push_back( biotCoefficient );
m_k0.push_back( k0 );
m_fluidLossCoefficient.push_back( fluidLossCoefficient );
m_spurtLoss.push_back( spurtLoss );
}
//--------------------------------------------------------------------------------------------------
@@ -177,3 +197,19 @@ double RigElasticProperties::getK0( double porosity ) const
{
return RiaInterpolationTools::linear( m_porosity, m_k0, porosity );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
double RigElasticProperties::getFluidLossCoefficient( double porosity ) const
{
return RiaInterpolationTools::linear( m_porosity, m_fluidLossCoefficient, porosity );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
double RigElasticProperties::getSpurtLoss( double porosity ) const
{
return RiaInterpolationTools::linear( m_porosity, m_spurtLoss, porosity );
}

View File

@@ -39,13 +39,17 @@ public:
double m_K_Ic,
double proppantEmbedment,
double biotCoefficient,
double k0 );
double k0,
double fluidLossCoefficient,
double spurtLoss );
double getYoungsModulus( double porosity ) const;
double getPoissonsRatio( double porosity ) const;
double getK_Ic( double porosity ) const;
double getProppantEmbedment( double porosity ) const;
double getBiotCoefficient( double porosity ) const;
double getK0( double porosity ) const;
double getFluidLossCoefficient( double porosity ) const;
double getSpurtLoss( double porosity ) const;
const std::vector<double>& porosity() const;
const std::vector<double>& youngsModulus() const;
@@ -54,6 +58,8 @@ public:
const std::vector<double>& proppantEmbedment() const;
const std::vector<double>& biotCoefficient() const;
const std::vector<double>& k0() const;
const std::vector<double>& fluidLossCoefficient() const;
const std::vector<double>& spurtLoss() const;
private:
QString m_fieldName;
@@ -67,4 +73,6 @@ private:
std::vector<double> m_proppantEmbedment;
std::vector<double> m_biotCoefficient;
std::vector<double> m_k0;
std::vector<double> m_fluidLossCoefficient;
std::vector<double> m_spurtLoss;
};