Documente Academic
Documente Profesional
Documente Cultură
v2.4
Release notes
Kongsberg Digital
Drengsrudbekken 12
Telephone: +47 67 80 48 00
P.O. Box 451 Telefax: +47 67 80 48 30
N-1383 Asker
Norway www.kongsberg.com/kdi
KONGSBERG PROPRIETARY: This document contains KONGSBERG information which is proprietary and
confidential. Any disclosure, copying, distribution or use is prohibited if not otherwise explicitly agreed with
KONGSBERG in writing. Any authorised reproduction in whole or in part, must include this legend.
© 2018 KONGSBERG - All rights reserved.
LedaFlow® Engineering 1D ‘Release Notes’ Public
Table of contents
1 Introduction ............................................................................................................................................. 3
3 Version history......................................................................................................................................... 5
3.1 Updates from 2.3 to 2.4 ......................................................................................................................... 5
3.2 Updates from 2.2 to 2.3 ......................................................................................................................... 8
3.3 Updates from 2.1 to 2.2 ....................................................................................................................... 11
3.4 Updates from 2.0 to 2.1 ....................................................................................................................... 16
3.5 Updates from 1.8 Patch 1 to 2.0 .......................................................................................................... 20
3.6 Updates from 1.8 to 1.8 Patch 1 .......................................................................................................... 24
3.7 Updates from 1.7 to 1.8 ....................................................................................................................... 25
3.8 Updates from 1.6 to 1.7 ....................................................................................................................... 30
3.9 Updates from 1.5 Patch 1 to 1.6 .......................................................................................................... 34
3.10 Updates from 1.5 to 1.5 Patch 1 .......................................................................................................... 36
3.11 Updates from 1.4 Patch 1 to 1.5 .......................................................................................................... 37
3.12 Updates from 1.4 to 1.4 Patch 1 .......................................................................................................... 39
3.13 Updates from 1.3 Patch 1 to 1.4 .......................................................................................................... 40
3.14 Updates from 1.3 to 1.3 Patch 1 .......................................................................................................... 43
3.15 Updates from 1.2 to 1.3 ....................................................................................................................... 44
3.16 Updates from 1.1 Patch 1 to 1.2 .......................................................................................................... 47
3.17 Updates from 1.1 to 1.1 Patch 1 .......................................................................................................... 52
3.18 Updates from 1.0 to 1.1 ....................................................................................................................... 53
3.19 Updates from 0.8 to 1.0 ....................................................................................................................... 55
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
1 Introduction
This document contains the release notes for LedaFlow Engineering 1D. It summarizes what
is new in the latest release and currently known limitations together with a version history
including updates from previous versions.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
2 Important information
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
3 Version history
This section contains the change log for all LedaFlow® Engineering 1D releases.
3.1.2 Functionalities
Major changes from 2.3 to 2.4:
Separator
o The initialization using the steady-state pre-processor has been completely re-
designed. When using the internal controllers in the separator, it is now capable
of giving a true steady-state solution, when there is one. In case external
controllers are used (e.g. controlling the liquid level in the separator using a
pump in the liquid line) the SSPP provides a full range of warning messages to
help the user adjust the settings, in order to find a valid steady-state solution.
o External controllers can now be used to control the outlet valves. For instance,
an ESD can be used to close the liquid valve during a shutdown situation, such
that the liquid level doesn’t drain below a certain level.
o User-defined separation efficiency: it is now possible to specify the carry-over,
blow-by and oil-water dispersion. By default, the volume fractions of the
dispersed phase in the continuous phase can be specified, but the oil-water
dispersion also supports a method based on the residence time in the
separator.
o For composition tracking cases, we now flash the flow going through the outlet
valves, similar to what we do for choke valves in a pipe.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Wax deposition
o The non-Newtonian SoFA viscosity model has been implemented.
o A hysteresis effect has been implemented for the dissolving of wax. The user
can enter a temperature offset, which will be used to shift the precipitation curve
to a higher temperature when dissolving wax.
o The spline that is used to interpolate the precipitation curve is now shown in the
GUI, such that it is clearer what goes on in the wax deposition model.
o A configuration option to specify trapped oil in the wax deposits has been
implemented. The user can specify the net oil volume fraction in the deposited
wax. This will influence both wax thickness and heat transfer characteristics.
Hydrate transport
o The non-Newtonian SoFA viscosity model has been implemented.
Custom fluids
o It is now possible to specify custom fluid fractions for wells and standard
sources. This is particularly useful for hydrate transport, which relies on a user-
defined hydrate former fraction at each inlet.
Injection tracking (simple near-wellbore model)
o This new model can be used as a simplified method to track the effect of fluid
injected into the near-wellbore region during well shut-in. LedaFlow tracks one
user-defined phase while it is injected. When the well is restarted and this
tracked phase is produced again, the productivity of the well is temporarily
degraded using either user-defined degradation coefficients or different
productivity indices.
Slug capturing
o The prediction of the slug bubble velocity in low-pressure near-horizontal pipes
has been improved.
Emulsion models
o A new model (Pal & Rhodes 2) has been implemented. This model is similar to
the Pal & Rhodes 1 model, except that it uses the experimental water-cut
(phi100) instead of the maximum relative viscosity as an input.
Gas lift valve (leak)
o When using a check valve, it is now possible to have it open gradually. This is
achieved by setting two pressure drops (fully closed and fully open), between
which the leak opening fraction is varied in the shape of an S-curve.
PVT-tables
o The default maximum sound speed (for new cases) has been increased from
1000 to 1600 m/s, to improve the pressure transients for water hammer cases.
In case of convergence issues, it is recommended to reduce this value.
Support for PVTsim fluid models converted to Multiflash
o Huron-Vidal-Pedersen mixing rule combined with SRK and PR EOS’.
o Standard component properties can be changed and read from MFL files.
o Support for linear and quadratic binary interaction parameters.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Some bugs were fixed in the linearization of the entrainment and unit-cell models. This
was causing a mismatch between 2- and 3-phase cases, when simulating only 2
phases.
3.2.2 Functionalities
Major changes from 2.2 to 2.3:
In-line separator
o Up to three pipes can now be attached to the separator outlets, making it
possible to simulate for instance subsea separation scenarios.
o Different (non-flat) head types are now supported
Wax deposition improvements
o Non-Newtonian wax slurry viscosity, based on the Pedersen model.
o Simple pigging capability, allowing a pig to scrape the wax deposit from the pipe
wall.
o Third order splines are used for interpolating the wax precipitation curve, which
gives a smoother wax layer thickness along the pipe.
o Roughness increase due to wax deposit. It is now possible to give a proportional
factor that accounts for the roughness increase due to the wax deposit. By
default, this factor is zero, so the wax has no effect on the wall roughness.
o The input parameters for the wax deposition model have been re-ordered, such
that there is a clear distinction between essential and optional parameters.
Hydrate inhibitors
o The viscosity mixing rule for MeOH, EtOH and MEG custom fluids has been
improved (more accurate).
o Hydrate margin calculation now supports mixtures of different hydrate inhibitors
(e.g. MEG and MeOH).
o Salt has been added as custom fluid to take into account the inhibitive effect of
increased water salinity as hydrates are formed.
Composition tracking
o For choke valves, that can have a large pressure drop over the valve, the mass
transfer rate has increased. This was necessary because the normal mass
transfer term in composition tracking takes several cells to reach equilibrium,
which is too slow in case of a valve. By default, this option is active, but it can
be disabled in the mass transfer tuner.
o The general mass transfer rate in the pipe can be tuned more by using a less
conservative mass transfer limitation. By default, this option is disabled, but it
can be enabled in the mass transfer tuner.
Tuning
o This functionality is now available for users with any license type.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Under heavy load, it was possible for some parametric subcases to lose their
results and single values.
o Notes for parametric studies were not saved in the input files.
Network viewer
o Sometimes, double-clicking on a pressure node or controller could cause the
GUI to crash.
Memory leaks
o Prolonged use of the LedaFlow GUI with extremely large cases could lead to
the application running out of memory.
o The logger facility falsely duplicated logger configurations, which led to a slightly
larger case size in database, .ldm files and .qz dumps. Upgrading old cases to
2.3 will correct this automatically.
Pipe editor
o When copy-pasting coordinates and other information into the table, it was
possible to save invalid values to the database. This could lead to GUI crashes
and corrupted cases. We have added stronger input value validation in version
2.3 to prevent this.
o When copy-pasting in the wall materials, it was possible to get end-of-line
characters in the wall names. This caused issues creating input files.
Plotting
o When using auto-refresh in a plot containing a lot of data, the CPU time
consumption of the GUI kept increasing, to the point where it became
unresponsive.
o Quotes in the case name was causing issues creating plots.
Case browser
o When importing invalid .ldm files in the GUI, the process could get stuck at 49%.
In version 2.3 we return an error if there is a problem with the .ldm file.
OLGA converter
o Leaks and wells defined on section boundaries were causing the GUI to crash.
They are now converted properly.
o No error message was given for annuli, which are not supported by the
converter.
o Support RESERVOIRINFLOW keyword for well inflow.
o Support MASSFLOW keyword for flow boundaries.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
3.3.2 Functionalities
Major changes from 2.1 to 2.2:
User-defined phase split
o For junction nodes with 3 pipes connected, the user can define how much of
the incoming liquid goes in one pipe and the remaining in the other pipe, when
the flow diverges. The user can specify the mass split independently for each
possible combination of flow directions.
o This feature is specifically useful for horizontal branches connected to a main
line. Here the flow can preferentially travel either in the main line or in the
branch, based on the flow rate.
PVT-table based custom fluid
o Custom fluid properties can now be defined using a standard PVT-table, as
opposed to defining them manually using correlations.
o Typical applications are for dead-oil circulation or gas-lift, where the PVT
properties differ from the production fluids.
New sand deposition indicator
o The Danielson model is an empirical model developed for single phase water
and extended to multiphase flow. It has been tested against the STRONG
experimental data for sand deposition in 67 mm pipes.
Generic single component module
o Single component systems, like CO2, can now be handled with LedaFlow.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Mass fraction phase split option for compositional cases was unrealistic and
unstable. We no longer support this option and it is recommended to flash
instead.
Erosion
o The erosion model is now using the flowing instead of the static density, which
is consistent with the API standard.
Parallelization
o Some cases were giving different results for different runs due to the uncertainty
of the openMP reduction.
Custom Fluids
o The custom fluid flash is now consistent when there is more than 1 custom fluid,
in the sense that the order of the custom fluids doesn’t affect the results.
o When calculating standard volume flow rates for cases containing more than 1
custom fluid, the results were wrong due to the bug in the custom fluid flash.
Others
o Fixed an inconsistency for fluid wall layers when using the FastWall option.
o Fixed an inconsistent behaviour when extrapolating outside PVT-table, that
could result in instabilities.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Speed improved for input file generation, restart file generation, dialog window
for devices/nodes, initial conditions, pipe view, plotting dialog window and
network viewer.
o Speed improved for trend plots.
Network viewer improvements
o Dynamic colour for valve, source and leak items, depending on their state at
the current simulation time. This makes it easy to see which devices are actually
relevant at a given moment.
o Snap to grid feature for easier alignment of nodes and pipes.
o Highlighting of selected item improved.
Devices/Boundary settings improvements
o It is now possible to copy properties from one row to others.
o Export to csv file and copy to clipboard are now supported.
o General improvements: labels of properties clearer, no empty columns,
indication of the number of items per table, etc.
Units
o The user can now create custom unit systems.
o Custom unit systems can be saved to file and shared with others.
Major bug fixes from 2.1 to 2.2:
Network viewer
o Removing a pipe at a junction node could cause network connectivity problems
and the case could not be run. This has been fixed and existing cases with this
problem are detected by the case validator.
o The GUI crashed when trying to move a node connected both to a pipe and its
annulus.
Multiflash/Guts
o It was not possible to cancel loading a Multiflash file.
o Multiflash viscosity tuning parameters for the pseudo-components were not
read when using the Pedersen viscosity model.
o When adding a pseudo-component, immediately after loading a Multiflash file,
the GUI crashed.
o Improved support for Multiflash files with BIPs.
Running simulations
o The reset to zero option when using a restart file, was not working properly and
was not available with cases with no results.
o The simulation of a given case was not starting if you clicked on another case
before the validation of the given case was finished.
System
o The GUI was crashing for parametric studies when using a SQLite database.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o For buried pipe cases, tables in the database were created and never removed,
even when removing the case.
Other
o Hydrate margins max positions plots were wrong.
o Unsaved pipe changes prompt: clicking “Yes” while in the process of deleting a
case or when there’s an annulus could crash the GUI.
o The script editor was not providing the correct line when there was an error.
o Selecting a different case while working with the Well builder, did not prompt to
save work.
3.4.1 Functionalities
Major changes from 2.0 to 2.1:
Sand deposition indicator
o The Oroskar & Turian model is an empirical model developed for single phase
water and extended to multiphase flow. It has been tested against the STRONG
experimental data for sand deposition in 67 mm pipes.
Asymmetric annulus
o Eccentricity of an advanced or simple annulus can now be provided. This is
more realistic for well cases where the tubing is not exactly centered in the well.
o A fully eccentric annulus can have a pressure drop which is up to 60% lower for
laminar flow and up to 40% lower for turbulent flow.
Minimum heat transfer coefficient
o The amount of convective heat transfer on the inside of the pipe can now be
provided.
“Stop Simulation” controllers
o The simulation is stopped by the controller when the set-point is reached.
Steam module
o The calculation speed has been improved by optimizing the code and
implementing OpenMP parallelization.
Leak (gas lift valve)
o A temperature correction has been implemented, which shifts the GLV curves
due to gas expansion in the nitrogen-filled bellows.
Major bug fixes from 2.0 to 2.1:
Steam module
o When both the water and gas were below the saturation temperature, the
condensation rate was too high. This has been fixed by simplifying the
expression for the mass transfer rate (see manual for details).
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o The heat transfer rate at the G/L interface was discontinuous when the gas
temperature equals the saturation temperature, which was a problem for proper
convergence.
Composition tracking / Multiflash
o Appearing phase treatment was malfunctioning when it should generate an oil
phase from pure gas.
o Fixed a problem in the flash calculation for oil-dominated systems at high
pressure: the gas composition returned was the same as the oil composition,
which gives unphysical gas properties and no G/L mass transfer.
o Fixed a bug in reading of input files with PRA and RKSA thermodynamic
models.
o Gas-filled pipe initialization was broken when using K-Spice tables, causing the
composition not to be flashed.
o When using a molar composition for well devices, this could crash the
calculation after turning off composition tracking.
o Standard volume flow rates were wrong for mass sources using a molar
composition.
Other
o There was a problem for the bubbly flow regime which lead to different results
when flowing in the negative direction (reverse pipe).
o The pump’s thermal effect was too low. Only the thermal loss was taken into
account in the energy equation, but not the work done by the pump on the fluid.
o For a single phase case it was possible for the entrainment model to crash the
calculation.
o The temperature of the innermost dynamic wall layer could get unstable if
energy equation did not converge.
o For custom fluids, when using the advanced density correlation, the
temperature was limited to 99% of coefficient C to prevent dividing by zero. This
was done once for all custom fluids, so even unused custom fluids could have
an effect on the density. In version 2.1 we limit the temperature for each custom
fluid separately and also show this limiting in the plotting in the custom fluid
GUI.
o For trend loggers, the sample rate actually used by LedaFlow was slightly larger
than the one given by the user. This has been fixed, such that on average the
time between samples matches he user input.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
The physical flow regime was incorrectly reported in rare cases (3-phase model only).
Fixed a bug in the slug bubble velocity calculation for annular flow (vertical), causing
wrong results when varying the gas-oil surface tension.
3.5.2 Functionalities
Major changes from 1.8 Patch 1 to 2.0:
Wax deposition module
o Can be used to find the required pigging frequency to keep the pipeline flowing.
o Forms a wax slurry and wall deposit, based on wax former in the oil phase.
o Wax slurry viscosity model.
o Acceleration factor to speed up wall deposition.
o Stop criterion to easily find when a certain wax layer thickness is reached.
Hydrate transport module
o Can be used to determine if it is possible to operate with some hydrate
formation, rather than eliminating hydrate risk altogether.
o Forms a hydrate slurry, based on hydrate former (from gas or oil) and water.
o Hydrate slurry viscosity model.
Steam module
o Steam/water PVT, based on IAPSW correlations.
o Boiling/condensation mass transfer.
Flexible pipe wall
o More realistic behaviour for fast pressure transients (e.g. water hammer).
Heat transfer
o Convective correlation (air or sea water) can now be combined with user-given
heat transfer coefficient in a single pipe.
Major bug fixes from 1.8 Patch 1 to 2.0:
Non-Newtonian fluids
o Fluid viscosity calculation was unreliable.
o A possible divide-by-zero error was fixed in the wall shear stress calculation.
Slug capturing
o When doing shutdown-type calculations with slug capturing, the flow rates did
not settle down.
Controllers
o The PSV controller was not working correctly when using non-zero
closing/opening times.
LedaLink
o The boundary gradients for pressure nodes with “couple simulator” turned on
were wrong when there is a closed valve exactly on the boundary.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Annulus
o When an annulus spanned multiple wall layers (e.g. going from layer 2 to 4) the
heat transfer between the annulus and the tubing did not converge properly.
Valve
o Intermittent counter-current flow could create instabilities in the valve model.
This has been fixed by using upwinding based on the mixture flux direction,
rather than the phase fluxes.
Source
o JT cooling was missing, when specifying the pressure using more than 1-time
point.
Well IPR
o Standard volume IPR did not work properly with mass/volume fractions as
phase split, so this combination has been disabled. Please use standard
volume fractions or flash instead.
PVT
o Black Oil: the standard volume flow rates were incorrect when using density
tuning.
o PVT-tables: the flash calculation crashed when the total water fraction is set to
1 (no gas or oil).
o Multiflash: one set of Binary Interaction Parameters is now supported and are
read automatically from .mfl files.
Steady-State Pre-Processor
o Initialization of cases with more than 2 independent pipe networks with closed
valves was not working properly.
Junctions
o There was an indexing error for valves located a certain distance from a 2-pipe
junction, causing composition tracking cases to crash.
o The synchronization of negative compressibility treatment across 2-pipe
junctions was not working correctly. This only affected Black Oil and PVT-table
cases.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Value tracker has been integrated with the plot legend, such that all the values
of all curves can be seen simultaneously.
o Many other smaller improvements.
OLGA converter improvements
o Support for heat transfer defined on a branch mesh, on a branch index or a pipe
section.
o Support for manual controllers, PID controllers defined as a network
component, simplified pump.
GUI speed improvements for large cases
o Changes in case settings takes much less time.
o Changing PVT is much faster.
o Progress indicators when loading cases.
Slug statistics
o Computes the duration, length and velocity for hydrodynamic slugs.
Parametric studies
o Parametric studies are now run independently from the GUI (Parametric.exe).
o Support for simulation manager (queuing system).
o Sensitivity analysis, which determines which input parameter is most important.
o Automatic range feature to plot standard plots (e.g. turndown curves for
different diameters) a lot faster.
Major bug fixes from 1.8 Patch 1 to 2.0:
Status/Output window
o After changing database, the Status and Output windows were not updating
automatically anymore.
Naming
o Renaming a device could prevent adding new devices due to name conflict.
o Logger names containing the inch symbol (“) could not be imported.
Duplicate or import/export of very large cases using SQLite database
o LedaFlow Engineering was running out of memory and the duplication or
import/export was not possible.
Corrupted annuli cases
o Corrupted cases could be generated by import of corrupted input file (from 1.7)
with wrong annuli geometry definition. The files are now automatically corrected
and corrupted cases are caught by the validator.
Well
o It was not possible to set mass fractions phase split after using standard volume
phase split.
o Setting a combination of Standard volume inflow type and mass fractions phase
split was possible while it should have been caught as not valid.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Simple annulus
o Array size of the inner heat transfer coefficient was wrong for a pipe connected
to 1d1d junctions preventing to run the corresponding case.
Output file generator
o The profile output file was empty for pipes with too large profile data.
GUI stability issues
o Some actions in the pump performance curve dialog crashed the GUI.
o Double-click on a database in the” Connection and DB management” dialog
crashed the GUI.
Mesh generator
o The progress bar did not show any relevant progress when generating meshes.
PVT file import
o Import of PVT file with fluid names defined with spaces in their names was
throwing an error.
Plotting
o The position marker for trend plot was wrong for pipes with inlet connected to a
1d1d junction.
o In the “new plot” dialog, checking a case item to select all loggers of the same
type was not working as expected.
Parametric
o Sub-cases stopped due to controlled errors were sometimes reported as
Crashed.
o Single values were inserted at the right of the status column instead of
appended at the end of the table.
3.6.1 1-D
Major bug fixes from 1.8 to 1.8 Patch 1:
1D physical models
o For very high velocities (> 50 m/s) the friction terms for the slug flow (UnitCell)
model were not working properly in the dynamic model. This mainly affects well
blow-out cases, giving too little pressure drop and too high velocities in regions
where the numerical flow regime ID is 2 (slug flow). The point model and Steady
State Pre-Processor are not affected by this.
Parametric studies
o Plots were broken when importing parametric studies from a full dump file (.qz).
Note that the .qz files themselves are ok.
o Dynamic properties (e.g. custom fluid fractions) were not available in plotting.
Wells
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o When using inflow type “Reservoir variables (OIL)”, the inputfile was not
correctly written.
Restart files
o For 2-phase cases the zone enthalpy was not read correctly, causing the
simulation to not start correctly.
Multiflash
o Conversion of pseudo-component properties from version 1.7 to 1.8 was
corrupting the data.
o Converting a case from 3 to 2 phases messed up the composition vector at the
flow/pressure boundary.
Pressure loss
o Validation of the position was not correct in models with more than 1 pipe.
Tuning (only available with LIFT or integrated license)
o Ambient and closure tuning factors sometimes got the wrong size when
remeshing a pipe. The bug in the remeshing has been fixed and the simulation
will show an error when the tuning vector size is wrong. To fix the tuning vector
size it suffices to turn off and on the tuner.
o When adding a pipe to a node, the existing pipe had its ambient and CFL tuner
values reset.
GUI stability issues
o When dragging a full dump file (.qz) into the empty space in the case browser
twice, the GUI crashed.
o Source settings dialog crashed when Custom Fluid tracking is on, but no
Custom Fluids are selected.
o GUI crashed after using the troubleshooting option “Solver settings” in the
“Tools” menu. This option is now disabled for parametric studies.
Other improvements from 1.8 to 1.8 Patch 1:
Source with negative mass flow rates
o It is now possible to specify which phases flow out (user specified mode).
o The amount of outflow is automatically limited to what is available in the pipe.
This makes it easy to remove all of a specific phase from the pipe.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
3.7.2 1-D
Major changes from 1.7 to 1.8:
Gas lift valve (GLV) tables
o GLV tables relate the mass flow rate to the pressure up- and downstream of the
gas lift valve.
o Standard volume flow rates instead of mass flow rates are also supported.
o Can be used instead of specifying an orifice size in the leak.
GUTS
o Tuning functionality has been implemented in the LedaFlow GUI. The following
properties can be tuned:
Oil density;
Oil viscosity;
Saturation;
GOR.
Multiflash
o Support for Multiflash 6.0, in addition to 4.4 and 4.2 (user adjustable).
o Multiflash 6.0 tuning parameters are now supported, enabling adjustment of the
following parameters:
Saturation;
Oil density;
Oil viscosity;
Additional EOS’ are now supported: RKSA and PR78A.
o The viscosity model can be changed between Pedersen and SuperTRAPP.
o The Multiflash file reader now supports reading the models and tuning
parameters.
Simulation manager
o Support queueing of simulations when a license is unavailable. When a license
becomes available the queued simulations will automatically be started.
o Deploy simulations on another computer that has LedaFlow installed.
Pipe splitter
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Split a pipe in two at a determined position, while keeping the existing pipe
configuration and devices.
Output files generator
o Easy to use tool to export logger results to files.
o Supports CSV and JSON output formats, as well as user defined formats.
Controllers
o New controller algorithms: ESD and PSV.
o New inputs: separator level, flowrates, pressure and volume fractions.
o New outputs: leak diameter, source flow rate.
o Support for cascading controllers: one controller adjusts the setpoint of another
o Actuator opening/closing time, mimicking the time it takes for the controlled
device to respond.
o Bug-fix: changing measured variable did not work properly when the controller
had multiple time points for the input.
Well improvements
o During blowouts the gas velocity is limited, such that it stays below the sound
speed (choking effect). New in version 1.8 is that we take into account the
presence of liquid droplets in the gas, which gives a much lower sound speed.
o For a pipe, the simple annulus flag can be set, which changes the geometry to
an annulus. This can be used with U-value walls or with no energy equation.
The main use-case for this feature is the simulation of blow-outs during drilling.
o TVD/MD coordinates do not have to start from zero anymore. This makes it
easier to place equipment like valves in the correct position.
o Position widgets support MD as input.
o Injection into the reservoir is now supported for the following IPR types: Vogels,
back pressure, normalized back pressure and undersaturated.
o Linearization of the inflow rate in the pressure has been implemented for
Vogels, back pressure, back pressure (normalized) and undersaturated. This
improved the numerical stability of difficult cases. Linearization has been
corrected for the double quadratic model.
o IPR tables now have a new property which determines if they are for production
or injection. This makes it easier to distinguish them from each other.
o Initialization (SSPP): Missing PVT mass transfer term between the reservoir
and the inflow cell has been added. This makes the results 100% consistent
with the dynamic model.
o Several user interface improvements.
Composition tracking
o Compositions consisting of only pseudo-components can now be used.
o Bug-fix: time-dependent well properties were not working correctly. For
example, changing the composition during a simulation did not have any effect.
Custom fluids
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Profile tools:
fixed issues when using feet as length unit.
simplification shows the number of cells for the whole pipe instead of
just the simplification region.
o SQlite databases
Can now be removed.
Were not working properly when located in a folder containing a space.
3.8.2 1-D
Major changes from 1.6 to 1.7:
Non-Newtonian fluids
o Custom fluids now support Herschel-Bulkley rheology. This also enables
Bingham and power-law behaviour.
o The main use-case for this is for well clean-up studies.
Wax appearance temperature
o Similar to hydrate functionality, this enables calculation of the temperature
margin to wax formation.
Multiphase bypass pigging
o Pig module now supports any phase driving the pig (not just gas). This phase
can also flow through the bypass.
o Pigging module automatically determines the driving phase, based on the
volume fractions upstream. Optionally the driving phase can be set by the user.
o A bug has been fixed in the numerical leakage treatment for pigging, that
caused problems with mass conservation for junction nodes.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Profile tools
o Create realistic geometry profiles from scratch.
o Complexify existing profiles, giving more realistic liquid hold-up.
o Simplify existing profiles, thereby increasing computational speed.
o Filter profiles using the box and the bend filters or remove duplicate points.
Phase envelope
o Display the phase envelope upfront, when setting up the PVT.
o Plot phase envelope with the pressures and temperatures in the pipes as
overlay.
o For Multiflash™/GUTS the phase envelope is calculated based on the pipe-
average composition.
Parametric studies improvements
o The parametric studies now use loggers instead of the global samples.
o No longer required to select the PVT-table file on the hard-drive. The PVT-
tables that are in the database for the base case is not used.
New 3D visualization
o Supporting visualization of the stratified/annular fluid levels in the pipe. This
makes analyzing simulation results more intuitive.
o In addition to the liquid level, output properties can also be visualized as a
colored band around the pipe.
o Based on loggers instead of global samples.
Standard volume
o It is possible to override the GOR/GLR/WC at flow/pressure boundaries, wells
and source.
o Standard volume output now works when the GOR is different from the original
PVT-table value.
o Original PVT-table GOR/WC are shown in the PVT settings.
o OLGA converter has been updated to take into account these new options.
o Detailed methodology has been added to the user manual.
Composition tracking
o The composition equations are now solved iteratively with updated mass
transfer terms every iteration. This gives much better numerical stability at the
expense of a small decrease in calculation speed. The main difference that can
be observed are more stable temperatures.
o The order of components for GUTS/Multiflash™ PVT objects can be changed
at any time.
o The standard and pseudo components can be read from a Multiflash™ input
file (.mfl).
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Support for Multiflash™ 4.4. By default, LedaFlow uses the latest version, but
it is possible to choose version 4.2 or 4.4 manually. Note that the version used
is shown in the output window, so it can be traced.
o The 3-phase flash in Multiflash™ 4.2/4.4 sometimes erroneously returns a
water phase with the composition of a hydrocarbon phase. This causes severe
problems when calculating the heat capacity, ultimately resulting in the energy
calculation diverging and stopping the simulation. LedaFlow now checks the
values returned by Multiflash™ and temporarily ignores the flash operation
when this happens.
o Partial enthalpy calculation has been corrected for K-Spice tables, improving
numerical stability.
PVT improvements
o PVT-tables can be created using Multiflash™
o PVT properties can be plotted in the GUI as a function of pressure and
temperature.
o PVT-table GOR modification has been reformulated, in order to be consistent
with modifying the GOR at boundaries.
o It is possible to change a case from 2-phase to 3-phase and back.
o 2-phase PVT-tables can be used in 3-phase cases. In this case we use the
Black Oil water correlations for the water properties and assume no water
vapour present.
o Black Oil gas and water fraction calculations have been corrected, since they
gave a few percent too much gas and water.
Hydrate curves
o Hydrate curves can be created using GUTS and Multiflash™ PVT objects.
o Depending on the PVT method used, the type (formation/dissociation) is
automatically set.
o Hydrate margins are now based on loggers rather than global samples.
Erosion velocities
o Based on API RP 14 E standard.
o Available as a profile logger along each pipe.
Pump improvements
o PID controller can regulate pump speed.
o Plotting of pump curves in the pump settings.
o Pump curves can be defined in terms of head instead of pressure boost.
o Pressure boost is adjusted based on actual fluid density (giving the same head
for different fluids).
Custom fluid
o Simple configuration option (single values).
o Plotting of the custom fluid properties in GUI.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Thermal conductivity needs to be set for all custom fluids. This is only used for
natural convection (e.g. shutdown cases).
Parallel pipe
o Support multiple identical parallel pipes by modelling a single pipe.
Leak
o Fixed a bug in the momentum source term, thereby improving robustness and
calculation speed.
Near-supersonic flows
o In some cases, especially when the pipe diameter changed, it was possible to
get supersonic velocities. This has been corrected by implementing a pressure
loss term that limits the velocity for very high values.
Read-Only GUI
o LedaFlow now starts in read-only mode if the license is expired.
o This enables saving of inputfiles and simulation results.
Many new logger properties
o All fluid properties are now available as output.
o Wetted wall fraction.
o Custom fluid volume fraction, density and viscosity.
o Gravitational and frictional pressure drop.
o Standard volume properties for wells.
o Plotting templates for devices and boundary nodes now include all available
properties, saving time when analysing results.
Device/Boundary settings table
o Table with overview of all devices/boundary nodes properties.
o Enables easy comparison between devices of the same type.
o Device property GUI can be accessed from the table, which is useful for large
pipe networks with many devices.
License control improvements
o License control client upgraded to the latest version.
o License roaming is now possible.
o License viewer allows to have an overview of the existing licenses and the
usage.
GUI design
o The validator plugin has been moved to the status widget. This increases the
workspace available to the other plugins like the network viewer and pipe editor.
As before, the validator is automatically shown when there are issues, before
running the case.
o For the currently selected case, the name, size, progress and status are shown
at the bottom of the screen.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
3.9.2 1-D
Major changes from 1.6 to 1.7:
Temperature spikes are reduced by formulating the kinetic energy term in the energy
equation based on physical velocities/mass flow rates. When negative drho/dp
treatment adds or removes mass from the system, the enthalpy and kinetic energy is
compensated for in the energy equation.
Junction nodes
o The volume conservation across junction nodes was fixed for pigging cases.
Source-based black oil
o Allows the user to vary the GOR for different well zones and sources.
Database improvements
o MariaDB support (New)
LedaFlow can now be used with MariaDB, a free database management
system.
o Improved SQLite support
The file based database management system is now properly
supported.
o User permissions support (New)
Support of database users and permissions for improved security and
privacy.
o Improved connection profile management
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Parametric studies did not support PVT table files with the extension in capital
letters.
Buried-pipe:
o The buried-pipe switch was disabled automatically when the user opened the
case settings and closed it again. This only happened for cases with more than
one pipe.
o When the wall model was changed to something other than buried-pipe, the
pipe was still showing the former buried pipes as being buried.
The viscosity values given by Multiflash can become NaN when the gas composition is
very unrealistic, causing the simulation to crash. The return values are now filtered such
that the simulation can continue.
The OLGA converter was not displaying parsing errors in the conversion report.
Right-clicking on pipes in the network view was selecting them (selection should only
be with left-click).
Heat calculation in the pump was wrong since LedaFlow 1.4.
Custom fluid tracking was assumed enabled if there were custom fluids defined, even
if the feature was disabled.
GUTS pseudo-components name size was not being verified, leading to errors
initializing GUTS with too long names.
Initial conditions closed zones were displayed incorrectly for closed valves with no time
point at zero seconds.
Other improvements from 1.5 to 1.5 Patch 1:
Performance of the pipe plug-in, walls & materials and case settings has been improved
for large cases.
The video recording feature has been reintroduced to the plotting and the 3D-
Visualization.
The temperature interpolation in the pipe plugin is now protected against illegal values.
The outer heat transfer correlation does not include natural convection. LedaFlow now
shows warning when the convective velocity is less than 0.1 m/s.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
3.11.2 1-D
Major changes from 1.4 Patch 1 to 1.5:
Annulus (New)
o Support for single phase flow (flow regimes are not correct for multiphase flow
in annulus).
o Heat transfer (radiation, conduction and convection).
o Dynamic wall model.
o Gas lift valves modelled using leaks.
Profile and boundary loggers (New)
o Profile loggers.
o Boundary node loggers.
o Logger templates for automatic creation of loggers for all future cases.
Slug capturing (Improvements)
o A new slip model has been introduced for dispersed bubbles.
o The slug friction factor is reduced for Froude numbers less than 0.5.
o A new bubbly flow transition model.
Slug size module (Improvements)
o Based on the usage of accumulated volume loggers.
Pigging (Improvements)
o The pig diameter is not available as it no longer controls leakage.
Initial conditions (New)
o Initialization zones per pipe.
o Allows the user to specify the initial hold-up at specific sections of a pipe.
o Display of initialization zones in the network viewer. Zones are bound by closed
valves and boundary nodes.
Buried pipe (Improvements)
o Varying burial depth is now supported.
Speed (Improvements)
o Improved performance for slug capturing cases.
o Faster dynamic wall calculations.
o Allow using up to 8 CPU cores.
Pipe definitions (Improvements)
o The pipe profile, geometry and ambient definitions are now decoupled.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Initialization of case with pig route with no pipes defined leads to invalid case
when exported to ldm.
Trend logger:
o Trend logger position is now available in plots and csv export.
o Possibility of plotting common properties from several trend loggers in same
plot.
o Case import fails when trend logger is set on a pipe that has a wall with the
same name.
o Crash when adding curve from an empty trend logger.
Well isentropic thermal option for composition tracking cases was not working properly
above 950 bar due to a hardcoded pressure limit.
Maximum hard coded temperature limit is increased from 500 to 600 K.
Several fixes in the PID-Controller:
o Backward compatibility for controller measurement range.
o Several GUI problems.
It was not possible to disable the buried pipe after enabling it.
Olga converter for standard volume sources fixed:
o GLR was not taken into account.
o If the standard volume flow rate was zero, the source was not converted at all.
Crash when using GOR at inlet and zero flow.
Problem with multiple pig route profile plots.
When adding a plot to an existing chart the default x-axis measurement unit was used
instead of that in the existing chart.
Change to prevent .ldm import of cases from future LedaFlow versions.
Export folder crashes on empty folders.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Simple pump
Negative mass source
Hydrate curve
Parametric studies improvement
User-Defined Functions (UDF)
K-Spice tables
3.13.2 1-D
Major changes from 1.3 Patch 1 to 1.4:
Pigging
o The pressure drop over the pig can now be adjusted by specifying the effective
length of the pig in contact with the pipe wall.
Valve model
o A valve can now be specified to act as a check (non-return) valve. The user can
specify the allowed direction of flow.
o Improved convergence for valves by modifying the interfacial friction term. The
interface shear is now proportional to the slip velocity (instead of the usual
quadratic behavior). Then the momentum equations converged easily for all
valve openings, regardless of the magnitude of the friction coefficient.
o The value for γ=Cp/Cv in the valve model has been changed to 1.3 which is
more typical of hydrocarbon mixtures than the previous value of 1.7.
Flow regime
o Improved point model starting values in cells next to valves by using previously
calculated steady-state values instead of the transient solution.
1D-1D junctions
o Improved convergence for valves at 1D-1D junctions by synchronizing terms
across the coupling.
Custom fluids (inhibitor tracking)
o It is now possible to input the density and heat capacity using mass instead of
mole units.
o Consistency between inlet flash and the concentration in the pipe obtained by
reformulating the gas-liquid and oil-water equilibrium.
Buried pipes
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Corrected the circumferential thermal resistance for the pipe wall which caused
a significant change in temperature if a very thin wall layer was added.
User Defined Function (UDF)
o A functionality allowing for the users to introduce their own closure models in
LedaFlow has been implemented. The UDF functionality is available both for
SSPP and transient simulations.
o Alternatively users can plug in their own point model in the SSPP (not available
in transient module).
Trend loggers
o Trend loggers are now available for pipes and some devices. This allows users
to select variable results that will be recorded at higher frequency than the
global sample time.
Hydrate curve
o The user can now specify a hydrate curve or set of multiple curves for different
inhibitor concentrations from which LedaFlow will calculate the margin between
the local conditions in a pipe and the hydrate curve.
o If a single curve with no inhibitor is entered, then the temperature depression of
the curve due to local inhibitor concentration will be estimated based on the
Hammerschmidt equation.
o Plotting of pressure hydrate margin and temperature margin has been
implemented.
Parametric studies improvement
o New easy-to-use user interface.
o Results are now shown in the same table which defined the input values.
o Parallelization of parametric case runs.
Improved speed
o Much faster solvers for MVP (Mass Velocity Pressure) equations, especially for
network cases.
o Dynamic wall: much faster for cases with many wall layers (>10 times), by using
the buried pipe framework.
o General improvements for parallel computations.
o Default setting has changed to 2 CPUs in parallel.
Multiflash™ link
o If the user has access to a Multiflash license LedaFlow will detect that and allow
Multiflash to be called for composition tracking simulations, single point flash
calculations and the creation of PVT tables.
o The Multiflash EOS available include the CPA method, which is recognised as
the most accurate estimation of MeOH distribution between phases.
Well improvements
o Additional inflow performance correlations have been added: Double Quadratic,
Vogel, Back Pressure, Back Pressure (normalized) and Undersaturated.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
3.15.2 1-D
Major changes from 1.2 to 1.3:
Standard conditions
o Define model inputs based on standard volume fractions/flow
rates/GOR/GLR/WC (flow boundary, pressure boundary, source, well).
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Standard densities can either be computed from the PVT or manually specified
by the user.
o Plotting of standard volume flow rates, gas-oil-ratio and water cut.
Separator
o Separator which can only be positioned at the end of a pipeline.
o The separator calculates pressure and liquid volumes as function of inflow and
outflow where outflow is controlled by pressure- and level PID-controllers at
outlet pipes.
o The pipe at the inlet uses the separator pressure as the outlet boundary
pressure.
o Limitations: The separator does not have a weir. The gas oil and water
separates into three horizontally separated layers due to different density of the
fluids.Heat source.
o Possibility to heat or cool part of a pipe. The heat source can be used with a
controller.
Emulsion models
o Emulsion model configuration GUI. The available models are:
Linear average
Brinkman
Eilers
Krieger & Dougherty
Pål & Rhodes 0 and 1
Rønningsen.
o In the Krieger & Dougherty emulsion model the maximum packing fraction was
added in the exponent expression in the model.
o In the Pal & Rhodes emulsion correlation the implementation now allows for
negative reference concentrations for improved calibration against
experiments.
Black Oil
o The Black Oil fluid model is a set of PVT equations that approximately replicate
the behaviour of well fluids for pressure at or below the bubble point.
o Provided correlations to estimate solution gas-oil ratio and bubble point
pressure are:
Lasater
Standing
Vasquez & Beggs
Glasø
Slug capturing
o The grid dependent part of the interfacial friction coefficient for gas-liquid flow
has been removed for slug capturing. Reason: The grid dependent term caused
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
the solution to become more grid dependent than otherwise when applying
small cells. Furthermore, removing this term had a positive impact on the
simulation results (comparing to experimental data).
o The level gradient term (dh/dx) has been corrected for three-phase flows with
all models. The term now satisfies the requirements for obtaining zero velocities
during shutdown in cells with all three phases present. Furthermore, this term
is important for wave/slug formation and development in 3-phase slug
capturing.
OpenMP multithreading
o OpenMP is now supported.
o Number of threads is limited to 4 per LedaFlow license.
Bypass pigging
o The existing pigging module is modified to enable by-pass pigs. This is
performed by allowing for gas flow through the centre hole.
Valve model
o Fixed flow regime treatment next to valves. Now, in cells which have a valve as
neighbour, the minimum slip is based on the steady state solution. The
discharge coefficient can now also be specified when using Cv-tables.
Pressure change due to diameter change (Bernoulli effect)
o The pressure reduction/increase due to a sudden pipe diameter
reduction/increase is now represented by the model. The fix will also work for
counter-current flow.
Junction node
o The numerical stability of the energy equation at junction nodes has been
improved for very dynamic cases (i.e. terrain slugging).
Custom fluids (inhibitor tracking)
o Default custom fluids have been added: oil- and water-based mud and a tracer.
o Custom fluids can now be copied and deleted.
For GUTS, in the SPPP the phase mass fractions are now updated by flash calculation
for each grid cell along the pipe, and not only at the inlet. This has an impact on the
initial state, and indirectly also on the transient solution.
Thermodynamics
o Binary interaction parameters between water and inhibitors (MEG, EtOH,
MeOH, DEG) have been re-tuned to give better temperature results when
mixing using GUTS.
o The flash module in the GUI now computes more properties, such as mass
fractions, GOR and WC.
o For PVT-tables the total water fraction can now be changed directly in the GUI.
o PVT-tables and Black Oil now support manually overriding the water mass
fraction when flashing inlets.
LedaLive
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
An error in the calculation of the hydraulic diameter for the water has been corrected.
This improved the predictions of pressure drop for cases with high water viscosity.
Some hysteresis with regards to the oil-water flow regime in dispersed oil-water flow
has been added in order to remove regime-flopping in transient calculations.
3.16.2 1-D
Major changes from 1.1 Patch 1 to 1.2:
A new leak device has been included:
o The device can be used to simulate a hole in the pipe. The user can configure
the size of the hole or specify a valve. The user can specify the back pressure
as function of time.
Valve model
o Discharge coefficient (CD) in the expression for the valve pressure drop is now
squared. Note that this gives a lower pressure drop, depending on the value of
CD. This can be corrected by taking the square root of the pre-2.36 CD-value.
o Heat capacities were being used at constant pressure instead of constant
volume.
o Inconsistency fixed in upwinding of the boundary nodes.
o In some case it was not possible to position the valve on the end of the pipe
due to an issue in the GUI with round-off errors.
Closure models
o Oil-water inversion point was earlier calculated in cell 1 and used for the whole
pipe. Now it is calculated for each cell in the pipe.
OpenMP multithreading
o The point model has been moved to the network level in order to provide
effective load balancing in cases where the point model dominates the time
consumption. OpenMP multithreading can be enabled in the case settings by
selecting more than 1 processor.
Inhibitor tracking
o Water-gas mass transfer has been corrected.
o Mass transfer has been implicitly formulated in SSPP for stability.
o Implemented negative drho/dp treatment for inhibitors. This fixed a problem with
inhibitor fractions larger than 1.
o Bug fixed where inhibitor fraction was increasing when passing a PI-well.
PVT mass transfer
o The transient PVTMT term has been reduced depending on how far we're from
PVT-table equilibrium.
o Mass transfer due to different temperature of inflow from PI-wells/mass-sources
and temperature in the pipe has been introduced. For example hot gas from a
mass source will now condensate immediately in a cold pipe.
o Fixed error in the water to gas mass transfer term, which is off by default.
Pigging:
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o Fixed a stability issue in case of gas in front and liquid behind the pig.
o Automatic diameter also works for varying pipe diameters.
o Pigs are allowed to have larger diameter than the pipe (flexible pigs).
o The drain rate can now be set by the user. This means that the liquid volume at
the pig trap is only integrated above a given value.
o For new cases the pig diameter is now automatically set to the pipe diameter
minus 10 micron, which ensures minimum numerical leakage.
o When trapped the pig position is reset to the pig launch site, which makes it
easier to see when the pig is caught.
o The leakage treatment settings are now saved in the database, to provide
smooth restarts of simulations.
Thermodynamics:
o The PH-Flash used for PI-wells can now handle 100 % water.
The Slug Capturing option has been updated by:
o Gas entrainment closure for 3-phase flow is implemented in addition to the
existing 2-phase gas entrainment.
o Interfacial friction model in stratified flow gives correct bubble velocity by limiting
gas-liquid slip at low gas fractions.
o A new interfacial friction model for vertical annular flow is implemented for
thicker liquid films.
o Possibility to add slug capturing zones where a portion of the pipe is defined as
a slug capturing region with a refined mesh. Elsewhere in the pipe, standard 1-
D Leda closures on coarse grid can be used. It is still possible to define Slug
Capturing option for the entire pipeline.
o A model for complete entrainment of a thin gas film into dispersed bubbles is
developed. If the amount of dispersed bubbles exceeds a critical value, a gas-
liquid interface is re-established.
o The momentum equation has been formulated as second order in time. Due to
the stabilizing effect this has on slugging, this option is not turned on by default.
It can be found under Numerical Parameters 1D.
o A bug in the field indexing for gas entrainment in 2-phase cases was fixed.
o Restart time-step algorithm automatically changes to first order in time in case
of convergence problem.
The GOR of PVT-tables can be overridden by the user.
The pressure drop in the SSPP is now calculated on the P-mesh, to better match the
transient code.
The PVT mass transfer is now also accounted for in the first half-cell between the
mass/pressure inlet and the center of this first cell. For certain cases this has resulted
in higher water content.
The relaxation factors have been increased for non-compositional tracking cases from
0.5 to 0.8. This results in an average speed-up of around 20% for the CAT workshop
cases.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
The 3-phase entrainment model has been improved for cases where the entrainment
is far from equilibrium.
GUTS has been modified, such that inhibitors now affect the water viscosity.
A bug has been fixed causing GUTS to fail when flashing an inhibitor/water mixture.
A bug has been fixed that caused mass sources on 1D-1D junctions to be omitted.
A bug in the detection of negative volume fractions has been fixed and the code has
been tested to ensure that all exceptions are reported properly.
A bug has been fixed which caused the matrix solver to crash for cases with two parallel
flow-lines between two merge nodes.
A higher order option is available in the GUI under Case Settings. This switches the
numerical scheme to NOTABLE and applies higher order time-discretization.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
3.16.6 Performance
New database layer:
o Transaction support;
o Multithreaded access support;
o Bulk insertion in SQL tables;
o Generic implementation, adding future support for other database vendors
other than MySQL.
Multithreaded population of trend plots
o GUI remains responsive during plotting operations.
o Long trend plots gradually populated in batches.
o Able to handle large cases efficiently and robustly.
Parallelization of the point model calls
o The calls to the point model are distributed to the number of threads assigned
in the case settings.
o Slugging cases using the unit cell model will run a faster.
o For such cases it is recommended to set the number of threads equal to the
number of CPU cores.
3.16.9 Inhibitors
Users can now specify New Inhibitors with a great deal of flexibility in the description.
New Inhibitors have options to:
o Have mass transfer between the gas and liquid phase;
o Affect fluid properties;
o Be associated with either water or oil;
o Define to the K-values between oil and water;
o Define the density and its dependency on temperature;
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
3.17.2 PVT
P-Glycol removed from GUTS species list due to unrealistic molar mass.
GUTS flash was corrected for inhibitor/water mixtures.
AllowOutsidePVT feature was corrected.
3.17.3 Plotting
Interpolated diameter at a junction was fixed.
The video speed was adjusted to real time.
Trend plots refresh malfunctions were fixed.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
3.17.4 3D visualisation
The ‘capture image’ functionality was not working and has been fixed.
3.17.5 Network
Corrected the ‘centre network’ behaviour when multiple plug-in are open.
3.18.1 Plotting
The plotting environment has been rewritten starting with a template basis that will be used in
later releases to allow user defined templates and libraries of plot templates. Key new features
of plotting include:
New plot templates have been provided with a more engineering focused selection of
parameter groups.
Variables included in a plot can be edited and the user can create plots with their own
combination of variables.
Multiple plot windows and plots on different screens. The plots are no longer
embedded into the Network GUI.
Multiple plot fields to allow more vertical plot axes.
Multi-case plots from the same database. It is now possible to plot values from different
cases in the same plot making it much easier to compare results.
Flow routes can be defined for profile plotting so that a profile plot can now show a
variable along a series of connected pipes.
The much requested right mouse button selection of data export has been added.
Sample values for selected variables in a plot can be reported at selection positions
and exported.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
The pressure node now has an initial mass flow rate estimate to allow faster and more
robust solution from the steady state pre-processor.
3.18.6 PVT
The temperature input to the viscosity calculations in GUTS has been protected against
extreme values. This improves the reliability of the GUTS calculations.
Constant PVT has been extended to support compressibility.
3.18.7 Installer
Installer detects and warns if MySql is already installed.
The default location of the MySql database has been changed to:
c:\Kongsberg\LedaFlowStorage. This location is less often restricted to an
Administrator
3.19.4 PVT
Mass transfer in inhibitor tracking (between gas and water).
For the PVT mass transfer the average fluid temperature is used to obtain the gas and
water equilibrium phase fractions from the PVT table. This is more stable when the gas
phase is about to disappear.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
The option where enthalpy is calculated from the heat capacity in the PVT tables (which
makes the enthalpy and heat capacity consistent) has been made more robust by
filtering excessive heat capacities. Any heat capacity value outside the range
(10<Cp<100000 J/kg/K) will be replaced by its closest neighbour.
When the enthalpy is calculated from the heat capacity in the PVT tables, the latent
heat is now automatically extracted from the original enthalpy table.
The heat capacity is obtained by numerically differentiating the enthalpy table. This was
necessary to get the temperature consistent with the enthalpy in the energy
calculations.
The behaviour outside the boundaries of the PVT-table has been changed. Both the
enthalpy and density are now extrapolated when the temperature exceeds the table
limits, such that they are consistent with the heat capacity and drho/dT derivate. This
makes simulations more stable when they are briefly outside the PVT-table.
Zone velocities calculated from mass fluxed have been provided.
The temperatures shown in plots have been reduced to the 3 zone temperatures.
3.19.5 Thermal
The average inner wall heat transfer coefficient is now available as a variable, so both
the inner wall and overall heat transfer coefficients are available.
Fixed time-step dependency of the dynamic wall model (cool-down rate was too slow
for large time-steps).
3.19.6 Momentum
A bug in the hydraulic force has been fixed, which improves some terrain slugging
cases.
A special treatment of disappearing phases in the momentum equation has been
removed, making the transient code fully consistent with the point model.
The shutdown criterion has been revised in order to override the point model regime
prediction, which is not valid for counter-current flow or when the flow rate approaches
zero. In its current form the entrainment and oil-water dispersion are suppressed and
the regime is forced to stratified G/O/W flow under the following conditions:
o Gas or mixture superficial velocity below a critical value (0.001 m/s);
o Counter-current flow (one or more velocities around a cell have a different sign).
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
o The OLGA converter has unsupported features. The user should always
carefully read the conversion report and check the resulting Leda case up
against the original OLGA model.
o Slug capturing is still a beta feature under further development, and it is known
to have limitations. Grid lengths should always be in the 4-6 times diameter
range.
o For near-horizontal flows LedaFlow typically predicts the stratified oil-water
regime with very little oil-water dispersion. When using an emulsion model this
means that there will be almost no effect on the liquid viscosity.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version
LedaFlow® Engineering 1D ‘Release Notes’ Public
The single component tracking module is based on thermodynamic data from the book:
T. E. Daubert and R. P. Danner, Physical and thermodynamic properties of pure chemicals:
data compilation, Hemisphere Publ., New York, 1989.
Note: Printed copies of this document are for information only. Always check for the latest valid electronic version