Struct Scenario#
Defined in File libsansmic.hpp
Struct Documentation#
-
struct Scenario#
Scenario options that are constant through all stages.
Public Functions
-
Scenario()#
Blank options with default version and coefficient values.
-
int add_stage(Stage stage)#
Add a stage to the simulation.
- Parameters:
stage – the stage definition struct
- Returns:
the current number of stages
-
void debug_log(ofstream &fout)#
Add a debug output to a file.
- Parameters:
fout – the open steam to print to
Public Members
-
string title#
a title for the full scenario
-
string comments#
longer comments about scenario
-
GeomFormat geometry_format#
geometry input format
-
int num_cells#
the number of model cells
-
double cavern_height#
the height of the cavern (dz = height/num_cells)
-
double floor_depth#
the depth (MD) of the initial cavern TD
-
double ullage_standoff#
the height above TD used to calculate ullage
-
double fraction_insolubles#
the fraction of insolubles
-
vector<double> geom_radii#
list of radii (in feet)
-
vector<double> geom_depths#
list of depths (in feet; if applicable)
-
vector<double> geom_volumes#
list of volumes (in bbl; if applicable)
-
int jet_model_version#
the ver for the jet model (0 = off)
-
int plume_model_version#
the ver for the plume model (always 1)
-
int temperature_model_version#
the ver for the temp model (always 0)
-
double max_brine_sg#
maximum brine density
-
double solid_density#
solid density of salt rock
-
double entrainment_coeff#
the alpha entrainment coefficient
-
double diffusion_beta#
the beta diffusion coefficient
-
double molecular_diffusion#
the D_mol diffusion coefficient
-
double eddy_coefficient#
the diffusion eddy coefficient D_0
-
double relative_error#
the relative tolerance for the ODE solver
-
double absolute_error#
the absolute tolerance for the ODE solver
-
int coallescing_wells#
the number of identical wells coallescing
-
double well_separation#
the separation between coallescing wells
-
double dissolution_factor#
the dissolution factor (this should be 1.0!)
-
Scenario()#