CO2BRINEPVT(1)

πŸ“¦
version 2025.10 Β· 2 versions
, in ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– CO2BRINEPVT πŸ’–

okay bestie, buckle UP, because we're about to talk about co2brinepvt β€” a user command that computes and prints pvt properties for co2 with brine. yes. that's the whole vibe. it's giving thermodynamics main character energy and i am obsessed. 🫢


✨ SYNOPSIS ✨

co2brinepvt [OPTIONS] PROPERTY PHASE PRESSURE TEMPERATURE [SALINITY]
[RS] [RV] [SALTMODEL] [THERMAL_MIXING_MODEL_GAS]
[THERMAL_MIXING_MODEL_LIQUID] [THERMAL_MIXING_MODEL_SALT]

like, that's a lot of positional args and honestly? iconic of it. no cap. 🌸


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: co2brinepvt computes PVT PROPERTY of a brine/co2 system. the computation is performed for a given PHASE (oil or brine), PRESSURE (in bar), TEMPERATURE (in Celsius), SALINITY (salt molality in mol/kg) and RS (amount of dissolved CO2 in Brine in SM3/SM3), RV (amount of vaporized water in Gas in SM3/SM3), salt model (SALTMODEL), model of thermal mixing of gas, liquid, amd salt (THERMAL_MIXING_MODEL_GAS ans THERMAL_MIXING_MODEL_LIQUID, respectively).

lowkey a whole paragraph but every word is doing its job, fr fr. πŸ’…

also, heads up: see CO2STORE in the OPM manual for more details. iykyk. πŸ“–

🌈 PROPERTY (the thing you're computing)

PROPERTY, the property computed, may be one of:

  • density β€” the density
  • invB β€” the inverse phase formation volume factor
  • viscosity β€” literally the viscosity
  • rSat β€” saturated dissolution factor
  • internalEnergy β€” internal Energy
  • enthalpy β€” the enthalpy, bestie
  • diffusionCoefficient β€” the diffusion coefficient

seven options. pick one. choose your fighter. πŸ‘‘


πŸ§‚ SALTMODEL (the model to use for salt)

SALTMODEL, the model to use for salt, may be one of:

  • 0 = no salt activity
  • 1 = Rumpf et al (1996) [default]
  • 2 = Duan-Sun in Spycher & Pruess (2009)
  • 3 = Duan-Sun in Sycher & Pruess (2005)

if you don't say anything, it's 1. the default is silently holding your hand. 🫢


πŸ”₯ THERMAL_MIXING_MODEL_GAS (the model of thermal mixing for gas)

THERMAL_MIXING_MODEL_GAS, the model of thermal mixing for gas, may be one of:

  • 0 = pure component [default]
  • 1 = ideal mixing

πŸ’§ THERMAL_MIXING_MODEL_LIQUID (the model of thermal mixing for liquid)

THERMAL_MIXING_MODEL_LIQUID, the model of thermal mixing for liquid, may be one of:

  • 0 = pure component
  • 1 = ideal mixing
  • 2 = heat of dissolution according to duan sun [default]

bestie has three whole options here and the default is 2, so if you're just vibing along you're getting the duan sun heat of dissolution treatment whether you knew it or not. periodt. ✨


🧚 THERMAL_MIXING_MODEL_SALT (the model of thermal mixing for salt)

THERMAL_MIXING_MODEL_SALT, the model of thermal mixing for salt, may be one of:

  • 0 = pure water
  • 1 = model in MICHAELIDES [default]

πŸ’… OPTIONS πŸ’…

  • --h/--help β€” Print help and exit.

that's it. that's the options section. one option. and honestly? she's enough. πŸ™ˆ

reminder bestie: --h/--help prints help and then exits. it does not run your computation. do not pass it "just in case". πŸ’€

πŸŽ€ a lil sign-off πŸŽ€

that's the whole page, and yes, it's co2brinepvt, from April 2025, and we love her. go forth and compute your pvt properties, drink some water, and remember: every single flag and default above matters. mwah. πŸ’–βœ¨πŸŒΈπŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from