# Displacement To Gas

*In this document we describe the load case "Displacement to gas" available Oliasoft WellDesign.*#

Displacement to gas is a **burst** load case, where the unknown is the internal pressure profile of the 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 eventually displaces the mud in the tubing, not necessarily all. If the gas only partly displace the mud, the fluid configuration inside the tubing is a mud cap, with gas underneath. Also, it is possible to specify Limit to frac at shoe, and if this is enabled, the maximum pressure at the shoe of the tubing is given by the fracture pressure there.

### #

Printable VersionOliasoft Technical Documentation - Displacement To Gas

## #

Inputs- 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 and inclination.
- 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 gas - mud interface, if the gas doesn't displace all the mud, TVD$_{interface}$

- The pore- and fracture- pressure profile from hanger to influx depth.
- The mud weight/density
- The gas - oil gradient, i.e. the density of gas, $\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 or error, which is aded to the fracture pressure.

#### #

Scenario Illustration## #

CalculationThe [hydrostatic] internal pressure profile of the tubing is calculated from the gas - mud interface down to the shoe and up to the hanger. The algorithm goes as follows

Calculate the pore pressure at influx depth, $p_{p,influx}$

Calculate the fracture pressure at shoe, $p_{f,shoe}$

Calculate the hydrostatic pressure at the shoe from the pore pressure at influx depth and the gas-oil gradient, i.e.

$p_{\text{shoe, h}} = p_{\text{p}, \text{influx}} - \rho_{\text{gas}} g \left(\text{TVD}_{\text{influx}} - \text{TVD}_{\text{shoe}}\right) \;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\ (1)$

where $g$ is the gravitational constant.

The pressure at the shoe depends on whether

*'Limit to frac at shoe'*is enabled, and whether the hydrostatic pressure at the shoe, $p_{shoe,h}$ is greater than or equal to the fracture pressure at the shoe, $p_{f,shoe}$ . Precisely, the pressure at the shoe is$p_{shoe} = \begin{cases} \text{minimum}(p_{\text{shoe, h}}, p_{\text{f}, \text{shoe}}), \qquad \text{if} &\text{'Limit to frac at shoe' is true}, \\ p_{\text{shoe, h}}, \qquad &\text{otherwise}.\end{cases}\;\;\;\;\;\;\;\;\;\;\;\;\ (2)$

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