Professional Documents
Culture Documents
2-Introduction To OLGA
2-Introduction To OLGA
Contents
Introduction
Physical models and numerical solutions
Network topology
How to make fluids flow
Fluid properties
Heat transfer
Process equipment and modules
File structure and execution
Fundamental features
OLGA is
transient ( df/dt # 0 )
one-dimensional (along pipe axis)
complete
a modified two-fluid model
realised with a semi-implicit numerical solution
staggered grid
made for (relatively) slow mass transients
Closure Laws
Fluid
Properties
mass transf.
momentum transf.
energy transf.
Initial
Conditions
Boundary
Conditions
OLGA
Mass conservation
Gas
Hydrocarbon bulk
Hydrocarbon droplets
Water bulk
Water droplets
Momentum conservation
Gas + droplets
Liquid bulk
Energy conservation
Mixture (only one temperature)
Constitutive equations
Variables
Primary variables
Secondary variables
Volume fractions
Velocities
Flow rates
Fluid properties
etc.
Conservation of mass
Conservation of energy
Pj+1
gas
liquid
dM /dt =
dZj
j+1
M - Momentum
V - Velocity
m - Mass
M = m V
S =
Shear
G=
F =
MT =
Volume error
At each time step when all equations have been solved the
net fluid volume change in each section usually is 0
and the volume error can be expressed as
VOLi = 1- Vi f / Vsectioni 0
f
Vi f =
Vi f =
mi f =
mif /i f
fluid volume in section no i
mass in pipe section no i
i f =
OLGA topology
NODE-1
NODE-2
*) MERGING or SPLITTING
PIPE_4
1
Boundary
variables
2
2
PIPE_1
PIPE SECTIONS
PIPE_2
1
1
2
2
3
3
PIPE_3
2
1
Volume
variables
PIPE_4
1
2
2
2
3
3
PIPE_3
1
PIPE_2
PIPE_1
1
2
1
4
Volume variables calculated in section
mid-points
PIPE_4
1
2
2
PIPE_3
1
PIPE_2
PIPE_1
1
1
2
2
3
3
2
1
Boundary variables are
calculated on section
boundaries
a TERMINAL NODE is
either type CLOSED
i.e. no flow across node
or of type
PRESSURE i.e. flow
across the node.
Pressure
node
Generally:
flow in both
directions
a mass SOURCE
NODE TYPE = CLOSED
OLGA calculates this P and T
NODE
TYPE =
PRESSURE
a negative SOURCE
SOURCE-out
NODE TYPE =
PRESSURE
Pin
Pout
Pin > Pout
Pin
Pout
Pin < Pout
a WELL
NODE
NODE
TYPE = CLOSED
TYPE = PRESSURE
WELL-1
Pres
Reservoir P & T
PI (productivity index)
Injection index
Gas mass fraction
Water fraction
a WELL cont.
fluid flows into the well when the bottom hole pressure
is less than the reservoir pressure
a WELL can be positioned anywhere along a pipe
a pipe can have several WELLs
the Advanced Well Module provides numerous
additional options.
time
Tambient
Tfluid
Tambient
Tambient
Tfluid
Tws
Tambient
an example
PIPE_4
PIPE_3
Numerical PIPE
SECTIONS
PIPE_2
PIPE_1
PIPE-2
WALL-a
global
PIPE-3
PIPE-1
PIPE-2
PIPE-3
WALL-a
WALL-B
WALL-a
global with
exception(s)
PIPE-n
PIPE-n
PIPE-1
PIPE-2
PIPE-3
WALL-1
WALL-2
WALL-3
detailed
Branch-wise
Pipe-wise
Section-wise
PIPE-2
Tamb-B-22
Vair-B-22
PIPE-3
PIPE-n
Tambient
T
Cp = 2T
t
qi
Inner wall heat transfer
coefficient. Calculated
by standard correlations.
Inner wall
surface
temperature
h i ( T ws T fluid )
Tambient
q = U(Tambient -Tfluid)
(W/m)
1)
Well A has
Fluid Table 1
Flowline has
fluid properties ?
Well B has
Fluid Table 2
350
300
250
200
150
100
50
0
-50
50
150
250
350
450
550
650
Black-Oil Module
With water
Specific gravity of the water
Salinity
Watercut
OLGA Modules
Water
three-phase flow
Slugtracking
also with water
FEM -Therm
conductive 2-D (radial) heat transfer
integrated with OLGA bundle
grid generator
CompTrack
compositional tracking
MEG-track
allows for hydrate check as function of MEG
conc.
OLGA files
.out
Input File
OLGA
.tpl
.ppl
.plt
.rsw
Restart File
OUTPUT
extract of the
.out file
TREND
Liquid volume
flow as function
of time at a
specific position
PROFILE
Profiles of P and
hold-up for a
flow-line-riser at
t=0
PLOT
Liquid Hold-up
as function of
time along the
flowline-riseranimation by
OLGA-viewer
OLGA execution
.out
OLGA
GUI
OLGA
simulator
.tpl
Input File
PVTsim
.ppl
.plt
.rsw