# Gas Over Mud Ratio

*In this document we describe the load case "Gas over mud ratio"*#

Gas over mud is a **burst** load case, where the unknown is the internal pressure profile of the casing / tubing.

NOTE!

In this documentation we denote any tubular asorcasing. All calculations however encompass any tubular, such as tubings, casings, liners, tie-backs etc.tubing

## #

SummaryThe scenario is a gas kick somewhere below the shoe of the tubing, i.e. in the open hole of the next section, which moves upwards to the hanger and displace the mud. This load case can be viewed as the equilibrium of the load case **Displacement to gas**, although some of the inputs are different. This load case comes with two additional choices.

It is possible to enable *Limit to frac at shoe*, which effectively limits the maximum pressure at the shoe to the fracture pressure there, and also to enable MASP / MAWP (Maximum Anticipated Surface/Wellhead Pressure), which then gives the internal pressure as the interpolated pressure between MASP / MAWP and fracture pressure at shoe. If both are enabled, then MASP / MAWP takes precedence.

### #

Printable VersionOliasoft Technical Documentation - Gas Over Mud Ratio

## #

InputsThe following inputs define the gas over mud load case

- The true vertical depth (TVD) along the wellbore as a function of measured depth. Alternatively, the wellbore described by a set of survey stations, with complete information about measured depth, inclination, and azimuth.
- The true vertical depth / TVD of
- The hanger of the tubing, TVD$_{hanger}$
- The shoe of the tubing, TVD$_{shoe}$
- The influx depth of the gas, TVD$_{influx}$

- The pore- and fracture- pressure profile from hanger to influx depth.
- The gas over mud ratio, $q_{gm}$
- The mud weight/density, $\rho_{mud}$
- The gas desnity, $\rho_{gas}$
- Whether or not to limit the pressure at shoe by the fracture pressure there. If this is enabled, it is also possible to give a fracture margin of error, which is added to the fracture pressure.
- Whether or not to enable MASP/MAWP.

**Scenario Illustration**

## #

CalculationThe internal pressure profile of the tubing is calculated as the hydrostatic pressure from hanger to shoe. The algorithm goes as follows

Calculate the true vertical depth of the gas-mud interface, $TVD_{interface}$ . This interface is then either above the tubing shoe, or below it.

Calculate the pore pressure at influx depth, $p_{p,influx}$, and the fracture pressure at the shoe, $p_{f,shoe}$

Calculate the hydrostatic pressure at the shoe, from $p_{influx}$ and up

$p_\text{h,shoe} = \begin{cases} p_{\text{p,influx}} - \rho_\text{mud}\, g (\text{TVD}_\text{influx} - \text{TVD}_\text{shoe}), \quad \text{if}\quad \text{TVD}_\text{shoe} \geq \text{TVD}_{\text{interface}} \\ p_{\text{p,influx}} - \rho_\text{mud}\, g (\text{TVD}_\text{influx} - \text{TVD}_\text{interface}) - \rho_\text{gas}\, g (\text{TVD}_\text{interface} - \text{TVD}_\text{shoe}), \quad \text{otherwise}, \end{cases} (1)$

where $g$ is the gravitational constant.

Calculate the pressure at the shoe as

$p_{\text{shoe}} = \begin{cases} \text{minimum}(p_{\text{f, shoe}}, p_{\text{h, shoe}}), \qquad \text{if} &\text{'Limit to frac at shoe' is true}, \\ p_{\text{h, shoe}}, \qquad &\text{otherwise}, \end{cases} \;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\ (2)$

Calculate the internal pressure of the tubing as the hydrostatic pressure from hanger to shoe.

If MASP/MAWP is enabled, this take precedence, and then the internal pressure profile of the tubing is given by the interpolated pressure of the MASP/MAWP, i.e.

$p_{\text{MASP/MAWP}} = p_\text{p, influx} - \rho_\text{gas}\, g (\text{TVD}_\text{influx} - \text{TVD}_{\text{hanger}}), \;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\ (3)$

and the fracture pressure at the shoe, $p_{f,shoe}$ .