Class Salt#
Defined in File libsansmic.hpp
Class Documentation#
-
class Salt#
Class defining the properties for a certain type of rock salt.
Public Functions
-
Salt(double sg_max, double rho_solid)#
Construct a new Salt object.
- Parameters:
sg_max – maximum saturated brine density as specific gravity
rho_solid – solid rock density in g/cm³
-
double get_sg_max(void)#
Get the saturated sg value.
- Returns:
(double) saturated brine specific gravity
-
double get_solid_density(void)#
Get the solid density value.
- Returns:
solid rock salt density in g/cm³
-
array<double, 6> get_recession_rate_coeff()#
Get a COPY of the a-parameter VALUES.
- Returns:
(array<6>) a
-
array<double, 3> get_sg_wt_pct_convert_coeff()#
Get a COPY of the c-parameter VALUES.
- Returns:
array<double,3> c
-
void set_sg_max(double sg_max)#
Set the saturated sg value.
- Parameters:
sg_max – maximum saturated brine density, as specific gravity
-
void set_solid_density(double rho_solid)#
Set the solid density value.
- Parameters:
rho_solid – solid rock salt density in g/cm³
-
void set_recession_rate_coeff(array<double, 6> new_coeff_a)#
Set the recession rate params VALUES.
- Parameters:
new_coeff_a – length-6 array with parameter values
-
void set_density_conversion_coeff(array<double, 3> new_coeff_c)#
Set the wt pct sg params VALUES.
- Parameters:
new_coeff_c – length-3 array
-
double wt_pct(double sg, double temp = 75.0)#
Calculate the weight-percent of brine.
- Parameters:
sg – specific gravity of the brine
temp – the brine temperature in degrees Fahrenheit, by default 75
- Returns:
weight percent of salt in brine
-
double sg(double wt_pct, double temp = 75.0)#
Calculate the specific gravity of brine.
- Parameters:
wt_pct – weight-percent salt in the brine
temp – brine temperature in degrees Fahrenheit, by default 75
- Returns:
specific gravity of the brine
-
double recession_rate(double sg)#
Calculate the recession rate of the wall.
- Parameters:
sg – specific gravity of the brine
- Returns:
recession rate in ft/s
-
Salt(double sg_max, double rho_solid)#