Professional Documents
Culture Documents
2 OLGA Basic Upd PDF
2 OLGA Basic Upd PDF
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
The dynamic three phase flow simulator
Boundary Initial
Conditions Conditions
OLGA
The OLGA Three-phase Flow Model
• 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
– 5 mass fractions (specific mass)
– 2 velocities
– 1 pressure
– 1 temperature
• Secondary variables
– Volume fractions
– Velocities
– Flow rates
– Fluid properties
– etc.
Conservation of mass
Conservation of energy
energy flow + work = mass flow ⋅ (enthalpy + kinetic energy + potential energy)
Force balance equation
(Conservation of momentum)
Pj Pj+1
gas
liquid
j j+1
dZj
VOLi = 1- Σ Vi f / Vsectioni ≠ 0
f
Vi f = mif /ρi f
Vi f = fluid volume in section no i
mi f = mass in pipe section no i
ρi f = density of fluid in section no i
(f indicates liquid , gas and droplets)
(VOL is an output variable which should be plotted
together with phase velocities during fast transients)
Modeling the pipeline profile in OLGA
OLGA topology
NODE-1
a BRANCH consists of one NODE-2
GEOMETRY and two NODES
*) MERGING or SPLITTING
OLGA topology cont.
PIPE_4
1
Boundary
variables 2 3
2 PIPE_3
PIPE_1
1
PIPE SECTIONS
PIPE_2 2
1
1 2 3 4
1 2 3 4
Volume
variables
PIPE SECTION BOUNDARIES
OLGA topology cont. PIPE_4
1
2 3
Volume variables e.g. 2 PIPE_3
Pressure (PT)
Temperature (TM) 1
Volume fractions (HOL)
PIPE_1 PIPE_2 2
1
1 2 3 4
1 2 3 4
Volume variables calculated in section
mid-points
OLGA topology cont.
PIPE_4
1
Boundary variables e.g.
Velocities 2 3
Flow-rates
2 PIPE_3
Flow-pattern
1
PIPE_1 PIPE_2 2
1
1 2 3 4
1 2 3 4
Boundary variables are
Valves are always located on calculated on section
section boundaries boundaries
OLGA topology cont.
or of type
”PRESSURE” –i.e. flow
a TERMINAL NODE is across the node.
either type ”CLOSED” –
i.e. no flow across node
OLGA topology cont.
Pressure
node
• a mass SOURCE
• pressure boundaries
• the standard WELL
a mass SOURCE
NODE
A mass source into the pipe TYPE =
You must specify it’s PRESSURE
Total mass rate
Temperature
Gas mass fraction
Water fraction
mass SOURCE cont.
NODE TYPE =
NODE TYPE = PRESSURE
PRESSURE
Pin Pout
Pin Pout
Pin < Pout
a WELL
NODE NODE
TYPE = CLOSED TYPE = PRESSURE
Reservoir P & T
WELL-1 PI (productivity index)
Pres Injection index
Gas mass fraction
Water fraction
a WELL cont.
• a WELL is essentially a pressure NODE
• 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.
Starting the dynamic calculation sequence
0 time
Basic wall heat transfer in OLGA
• Standard heat transfer correlations
• Averaged fluid properties
• Radial heat conduction in pipe walls -
symmetrical around pipe axis
• OLGA calculates heat accumulation in the pipe walls
as well as heat conduction through walls
Tambient
Tambient
How to represent pipe walls in OLGA
PIPE_3
Numerical PIPE
SECTIONS
PIPE_2
1 2 3 4
PIPE_1
Axial specification of pipe walls in OLGA
Tamb-B-22
Vair-B-22
Axial specification of pipe ambient conditions in OLGA
e.g. exceptions for
Sections 1 and 2 of PIPE-1 of BRANCH B-3
PIPE-1
Flowline has
Well A has fluid properties ?
Fluid Table 1
Well B has
Fluid Table 2
Compositional Tracking is required in practical
applications when…
0
-50 50 150 250 350 450 550 650
Black-Oil Module
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-riser-
animation by
OLGA-viewer
OLGA execution
.out
OLGA OLGA
GUI simulator
.tpl
Input File
.ppl
.rsw