Top Banner

of 44

Aspen Hydraulics Dynamics Reference

Oct 30, 2015

Download

Documents

ABULARA2K6

Aspen Dynamic
Pipeline Solver
Reference Guide
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • Aspen Dynamic Pipeline Solver

    Reference Guide

  • Who Should Read this Guide 2

    Who Should Read this Guide

    This guide is intended as a reference aid for using Aspen Hydraulics functionality within the HYSYS 3.4 Oil & Gas Option and in particular the Aspen Dynamic Pipeline Solver used within Aspen Hydraulics.

  • Contents 3

    Contents

    INTRODUCING THE ASPEN DYNAMIC PIPELINE SOLVER................................. 4

    ASPEN DYNAMIC PIPELINE SOLVER REFERENCE............................................. 5 Solution Procedure ................................................................................................... 5

    Numerical Stability and the Courant Limit ............................................................... 6 Semi-implicit Methods.......................................................................................... 6 The SETS Method................................................................................................ 6 Linearisation of the Finite Difference Equations...................................................... 10

    Physical Properties ................................................................................................. 15 Required Properties ........................................................................................... 15 Closure Laws and Models ................................................................................... 17 Interfacial Friction ............................................................................................. 19 Wall Friction ..................................................................................................... 23 Heat Transfer Coefficients .................................................................................. 29 Cylindrical Wall Heat Conduction ......................................................................... 33 Interfacial Mass Transfer .................................................................................... 36

    GENERAL INFORMATION............................................................................... 41 Copyright.............................................................................................................. 41

    TECHNICAL SUPPORT.................................................................................... 43 Online Technical Support Center .............................................................................. 43 Phone and E-mail................................................................................................... 44

  • Introducing the Aspen Dynamic Pipeline Solver 4

    Introducing the Aspen Dynamic Pipeline Solver

    The Aspen Dynamic Pipeline Solver is a code for modelling transient multiphase hydrocarbon flows in wells, pipelines and components. The Aspen Dynamic Pipeline Solver solves mass, momentum and energy equations for each phase using a one-dimensional finite difference scheme. Appropriate flow pattern maps and constitutive relationships are provided for wall and interfacial friction and heat transfer, and a model for multi-component phase-change is included.

  • Aspen Dynamic Pipeline Solver Reference 5

    Aspen Dynamic Pipeline Solver Reference

    The Aspen Dynamic Pipeline Solver is a transient multiphase flow model for oil and natural gas pipelines. The code is a six-equation, semi-implicit, finite difference computational fluid dynamics model. In order to close the equation set and obtain solutions, the code requires physical property data for the fluids, models for wall friction and interfacial friction based on mechanistic flow regime prediction, thermodynamic modelling of interfacial mass transfer, relationships for heat transfer between the fluids and the pipe walls and a model for two-phase critical flow.

    Solution Procedure The finite difference method is very popular for numerically solving systems of partial differential equations, such as occur in single and multiphase flows. Its main feature is the replacement of the derivatives by finite differences of function values, ending up with equations, which have function evaluations at discrete values of the function variables (time and up to three space dimensions, in the case of fluid flow). This manual will not give an introduction to these methods, and familiarity with basic concepts such as implicit and explicit differencing is assumed. You should refer to standard texts such as Roache (1976). The most appropriate method for discretising a given set of fluid flow equations by finite difference methods will depend on various factors, including:

    Numerical stability - some ways of discretising the equations are numerically unstable: errors, however small, grow and the solution diverges. Numerical instability may be conditional, in which case the scheme may be used, but subject to certain restrictions (see Courant limit below) or unconditional, in which case the scheme cannot be used.

    Computer time - the ideal is to find a scheme that will give accurate, stable results in the minimum of computer time.

    Accurate representation of the continuous partial differential equations - for instance, some methods of Discretization may result in a finite difference equation, which tends, in the limit of, to a differential equation which is different to the original equation.

  • Aspen Dynamic Pipeline Solver Reference 6

    The methods used in many practical codes, therefore, are usually compromises between these various factors and, as such, can be expected to have ranges of invalidity, though these may be not too constraining.

    Numerical Stability and the Courant Limit The question of numerical stability is a very important one and is closely connected with the type of differencing employed. The fully explicit methods, whilst easy to solve, are subject to strict limits on the size of the mesh used. If this condition is violated, the solution will become unstable. There is, in general, a condition, known as the Courant limit, such that (in a one-dimensional system):

    1xtV

    (1)

    The Courant limit was first identified by Courant, Friedrichs and Lewy (1928), who discussed the propagation of information in fluid flow simulations. Essentially, they realized that if the velocity of the fluid was fast enough, then information about momentum and other properties could be transported out of the current cell before the current timestep had finished, and this led to numerical instabilities. The Courant limit means practically that, given a system which has been discretized in space, there is thus a limit on the maximum size of the timestep. This means that any program using such a scheme to difference the flow equations may take a very long time to run.

    Semi-implicit Methods In order to overcome the limitations of explicit methods, whilst retaining their computational simplicity, a class of finite difference methods has arisen known as the semi-implicit methods. These treat some of the terms in the differential equations explicitly and others, specifically those involved in the Information Propagation discussed above, implicitly. By doing this the idea is to eliminate, or at least relax, the Courant limit so that a larger timestep may be used, but without having the computational overhead of a fully implicit system each time. The SETS (Stability-Enhancing Two-Step) method, used in the Aspen Dynamic Pipeline Solver, is a semi-implicit method which treats the terms, and implicitly.

    The SETS Method SETS is a two-step method, consisting of a basic step and a stabilizing step. The basic step is a semi-implicit equation set, and it provides information about pressure wave propagation. It treats the convective terms implicitly and this helps to relax the Courant limit on mesh size. However, studies by Mahaffy (1979, 1982) showed that in some circumstances numerical instabilities can arise and so the method is stability enhancing rather than totally stable. The second step is thus added as a stabilizing step, and it

  • Aspen Dynamic Pipeline Solver Reference 7

    provides information about the propagation of density, energy and momentum across cell boundaries.

    A Simple Example - Single Phase Flow In order to illustrate the use of the SETS method, its application to one-dimensional single-phase flow in a pipe will be considered, following Mahaffy. The equations he used for mass energy and momentum conservation respectively in single-phase flow were:

    VVVVV

    VV

    V

    Kpt

    TThpete

    t

    w

    =+

    +=+

    =+

    1

    )(

    0

    (2)

    In these equations, K is a wall friction factor, h is a heat transfer coefficient for the heat-transfer area, and Tw is the temperature of the pipe wall. The pipeline is divided into discrete cells for the finite difference solution, and a staggered mesh is used for the discretized flow variables - that is, the velocities are defined on the cell edges and the bulk properties, such as density, energy, etc., are defined in the cell centers.

    In order to define values for cell-centered properties at the cell edges, the SETS method uses donor cell weighting. For any group of state variables Y, defined at the cell centers:

    0,

    0,

    21

    21

    21

    21

    21

    1

  • Aspen Dynamic Pipeline Solver Reference 8

    Stabilizer Momentum Equation

    ( ) 0VVV~2)(

    1

    V~)VV~(V~V)VV~(

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    11

    111

    =+

    +

    ++

    ++++++

    ++

    +

    ++++

    +++

    +++

    nj

    nj

    nj

    nj

    nj

    nj

    jnj

    nj

    nj

    nj

    nj

    nj

    nj

    nj

    Kppx

    t

    (4)

    Basic Mass Equation

    0)V()~( 11

    1

    =+

    +++

    nnj

    nj

    nj

    t

    (5)

    Basic Momentum Equation

    0V)VV2()~~(

    1

    V~)V(VV~V)VV~(

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    11111

    11

    1

    =+

    +

    ++

    +++++

    +++

    +

    +

    +

    ++++

    +++

    +++

    nj

    nj

    nj

    nj

    nj

    nj

    jn

    j

    nj

    nj

    nj

    nj

    nj

    nj

    nj

    Kppx

    t

    (6)

    Basic Energy Equation

    0)~(

    )(V~)V()~~(

    1,

    1111111

    =

    ++

    +

    +++++++

    nj

    njw

    nj

    nj

    nj

    nnnj

    nj

    nj

    nj

    nj

    TTh

    pet

    ee

    (7)

    Stabilizer Mass Equation

    0)V()( 11

    1

    =+

    + +++

    nnj

    nj

    nj

    t

    (8)

  • Aspen Dynamic Pipeline Solver Reference 9

    Stabilizer Energy Equation

    0)~(

    )(V~)V()(

    1,

    1111111

    =

    ++

    +

    +++++++

    nj

    njw

    nj

    nj

    nj

    nnnj

    nj

    nj

    nj

    nj

    TTh

    pet

    ee

    (9)

    The operators in these equations are defined, using the donor-cell notation, as follows:

    j

    jjjjj vol

    YVAYVAYV

    )()( 2

    121

    21

    21 ++

    =

    (10)

    and

    0,)(

    0,)(

    21

    21

    21

    23

    21

    21

    21

    21

    21

    21

    21

    21

    =

  • Aspen Dynamic Pipeline Solver Reference 10

    Linearisation of the Finite Difference Equations The basic set of finite difference equations is non-linear and hence to solve them at each timestep it is necessary to use an iterative method, based on Newtons method. Starting with some estimated values for the independent variables at the new timestep, the derivatives of the equations with respect to those variables are used to give the next best estimates - based on linear extrapolation from the last value - continuing until the latest estimates are equal (within prescribed tolerance) to the previous ones. The following is an extension of the summary given in Appendix C of Liles et al (1984). At a timestep n+1, given an initial guess of the independent variables (in this case p and T), the values on the next iteration (variables without primes) are assumed to be related to those at the last (with primes) by the relations:

    ppp njnj '

    11 += ++

    (13)

    TTT njnj '

    11 += ++

    (14)

    Since the finite-difference equations are functions of T and p, a Taylor expansion about the last iterations value, retaining only the terms linear in dpj and dTj gives:

    termsorderhigherTpfp

    pfTpf

    TTppfTpf

    TTpp

    +

    +

    +=

    ++=

    ==

    )','(

    )','(),(

    ''

    (15)

    In practice, an expansion is performed only on the mass and energy equations, and the momentum equation is treated differently. First, it is rearranged to yield as a function of the pressures in the current and adjacent cells. This gives:

    )~2(1

    ~~)~~(

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    111

    1njj

    nj

    nj

    jnj

    nj

    njn

    jnj

    nj

    nnj

    nj

    nj

    nj

    VVKt

    x

    ppVVKVVVtV

    V++++

    ++

    ++

    ++++

    +++

    ++

    ++

    +

    =

    (16)

  • Aspen Dynamic Pipeline Solver Reference 11

    From this equation it can be seen that:

    1

    1

    11

    1

    21

    21

    +

    ++

    ++

    ++

    =

    nj

    nj

    nj

    nj

    p

    V

    p

    V

    (17)

    Also from Equation (16), by replacing the index j with j - 1:

    1

    1

    11

    1

    21

    21

    +

    +

    +

    +

    =

    nj

    nj

    nj

    nj

    p

    V

    p

    V

    (18)

    Performing the differentiations indicated in Equation (15), using the mass equation as an example, leads to:

    +

    +

    +

    +

    +

    =

    +

    +

    +

    +

    ++

    ++

    ++

    ++

    ++

    ++

    +++

    +

    +

    +

    ++

    ++

    +

    1

    11

    1

    11

    1

    1

    11

    11

    11

    1

    1

    1

    1

    1

    11

    '

    '

    )'~,'~()~,~(

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    21

    n

    j

    nj

    njn

    jjnj

    njn

    jjj

    nj

    njn

    jjnj

    njn

    jjj

    nj

    njn

    jjnj

    njn

    jj

    n

    jj

    TT

    p

    VAt

    p

    VAtp

    p

    VAt

    p

    VAtp

    p

    VAt

    p

    VAt

    pp

    TpftTpft

    (19)

    The nj 21 + and

    nj 2

    1 terms are the donor-cell weighted averages of the density

    at the right and left cell boundaries, respectively.

    Derivatives of velocity with respect to pressure occur in these equations, and Equations (17) and Equation (18) above may now be used to eliminate the

    11

    121

    ++

    ++

    nj

    nj

    p

    Vand 1

    1

    121

    +

    +

    nj

    nj

    p

    V terms.

  • Aspen Dynamic Pipeline Solver Reference 12

    From Equation (16), the following derivatives are zero:

    11

    1

    11

    121

    21

    , ++

    +

    +

    ++

    nj

    nj

    nj

    nj

    p

    V

    p

    V

    (20)

    Rearranging Equation (19) gives:

    )('

    )(

    )(

    ''

    11

    11

    1

    11

    111

    21

    21

    21

    21

    21

    21

    ++

    +

    +

    ++

    ++++

    ++

    =

    +

    nnj

    nj

    nj

    jjnj

    nj

    j

    njj

    jjnj

    nj

    j

    njj

    j

    n

    j

    n

    j

    Vt

    ppp

    V

    vol

    tA

    ppp

    V

    vol

    tAp

    pT

    T

    (21)

    A similar procedure is applied to the energy equation, resulting in:

    [ ])'('''

    )(2

    '

    )(2

    '

    '''''

    ''''

    1,

    11

    11

    11

    111

    11

    111

    11

    11

    1

    11

    11

    1

    21

    21

    21

    21

    21

    21

    +++

    ++

    +

    +

    +

    ++

    ++

    +

    ++

    ++

    ++

    +

    ++

    ++

    +

    =

    +

    +

    +

    +

    +

    +

    +

    nj

    njw

    nj

    nnnj

    nj

    nj

    nj

    nj

    jjnj

    nj

    j

    jnj

    njn

    j

    jjnj

    nj

    j

    jnj

    njn

    j

    jnj

    n

    j

    nj

    n

    j

    nj

    nj

    n

    j

    nj

    n

    j

    nj

    TThVet

    ee

    ppp

    V

    vol

    tA

    e

    ppp

    V

    vol

    tA

    e

    pVtTp

    epe

    ThtT

    eTe

    (22)

    These two equations can be arranged into the form:

    )()(

    11 + +=

    jjjjjjj

    j

    jj ppppT

    pdcbB

    (23)

  • Aspen Dynamic Pipeline Solver Reference 13

    Bj is a 2 x 2 matrix containing the coefficients of dpj and dTj from Equations (21) and Equations (22). If this equation is now multiplied by B-1, two equations result giving dpj and dTj in terms of the variations in pressure:

    )(')('' 11111 + ++= jjjjj ppdppcbp

    (24)

    and

    )(')('' 12122 + += jjjjj ppdppcbT

    (25)

    where:

    bBb 12

    1

    ''

    ' =

    =

    bb

    (26)

    cBc 12

    1

    ''

    ' =

    =

    cc

    (27)

    and

    dBd 12

    1

    ''

    ' =

    =

    dd

    (28)

    The first of these equations has pressure only as an unknown, and is a tridiagonal system which can easily be solved for the dpjs. Once these are known, the dTjs can be calculated from the second equation. This gives the current iterations new p and T, and once these are known, the densities and energies can be found (from the thermodynamics) and the velocities calculated. Finally, the solution at this iteration is compared to the solution at the last to see whether it has converged within the prescribed tolerance. If not, the new p and T values from this iteration are taken to be the old ones for next iteration. This cycle continues until either a solution is reached or a maximum number of iterations have taken place, in which case no solution can be found.

  • Aspen Dynamic Pipeline Solver Reference 14

    Extension of SETS to Two-phase Flow It is relatively straightforward to extend the above analysis to two-phase flow, for which the governing equations, as implemented in the Aspen Dynamic Pipeline Solver, are:

    Gas Mass Conservation

    =+

    )(

    gg

    gg Vt

    (29)

    Liquid Mass Conservation

    =+ ))1(()1( lll Vt

    (30)

    Gas Momentum Conservation

    sin

    )(

    )(

    1

    gVVc

    VV

    VVVVcpVVt

    V

    ggg

    wglg

    g

    lglgg

    i

    ggg

    g

    +

    =+

    +

    (31)

    Liquid Momentum Conservation

    sin)1(

    )()1(

    )()1(

    1

    w gVVcVV

    VVVVcpVVt

    V

    lll

    llg

    l

    lglgl

    i

    lll

    l

    +

    +=+

    (32)

    Total Energy Conservation

    [ ] [ ][ ] wgwlgl

    ggglllggll

    qqVVp

    VeVet

    ee

    +++=

    ++

    +

    )1(

    )1()1(

    (33)

  • Aspen Dynamic Pipeline Solver Reference 15

    Gas Energy Conservation

    sgigwg

    gggggg

    hqq

    Vpt

    pVet

    e

    +++

    =+

    )()(

    )(

    (34)

    A total energy equation is used instead of a liquid energy equation because this gives the opportunity to force thermal equilibrium by using one equation rather than two; this implementation is easier if a total energy equation is included from the start. In the case of more complex piping, terms must also be added to deal with tee junctions. Mass, momentum and energy source terms need to be added to these equations at the tee. Another modification found to be beneficial to stability is the addition of a pair of explicit momentum equations (one per phase) to predict the initial new timestep velocity on the first iteration when solving the basic equation set. The SETS equations for this model, are as implemented in the Aspen Dynamic Pipeline Solver, but assuming no tee components, are given in Sets equations for two-phase flow. For each timestep: First, the stabilizer Momentum equations are solved,

    yielding values for 1+njV . The main iteration begins, solving the basic equations. An outer loop controls the iterations as follows:

    1 On the first iteration only, the explicit predictor momentum equations are solved to provide a good initial estimate for the new timestep velocities.

    2 Then the whole set of basic equations are solved. As for the single-phase case, an iterative solution must be used, linearising the equations at each stage.

    Finally, the stabilizer mass and energy equations are solved, giving the final solution for this timestep.

    Physical Properties

    Required Properties Certain physical properties are required. These include:

    Vapor mass fraction Liquid density Vapor density Liquid viscosity Vapor viscosity Liquid internal energy Vapor internal energy Surface tension

  • Aspen Dynamic Pipeline Solver Reference 16

    The following derivatives are also required:

    p

    g

    T

    g

    p

    l

    T

    l

    p

    g

    T

    g

    p

    l

    T

    l

    Te

    pe

    Te

    pe

    Tp

    Tp

    ,

    ,

    ,

    ,

    (35)

    These derivatives are required at constant composition of the appropriate phase for correct application in the Aspen Dynamic Pipeline Solver. The derivatives are, therefore, different to those at constant overall composition.

    Interpolation of Property Data Physical properties at a given pressure and temperature are interpolated. In previous distributed versions of the software, two interpolation methods were provided, linear and bicubic. In the Aspen Dynamic Pipeline Solver only linear interpolation of property data is available. Previous experience has shown that the bicubic interpolation did not greatly enhance the performance of the software when compared to the linear interpolation.

    Linear Interpolation The pressure, p, lies between p1 and p2; the temperature T, between T1 and T2. A physical property for each of the four points surrounding (p, T) is:

    ),(),(),(),(

    2222

    1221

    2112

    1111

    TpTpTpTp

    ====

    (36)

    By interpolating in the pressure and temperature planes, we obtain:

    )(

    )()(),(

    2112112212

    1

    12

    1

    111212

    11121

    12

    111

    +

    +

    +

    +=

    pppp

    TTTT

    TTTT

    ppppTp

    (37)

  • Aspen Dynamic Pipeline Solver Reference 17

    Closure Laws and Models The Solution Procedure section show in detail the six equation set used in the Aspen Dynamic Pipeline Solver. In order to close this set of equations and provide all of the necessary information for them to be solved, a set of additional models are required. These closure models are required for wall and interfacial friction, wall and interfacial heat transfer and interfacial mass transfer. In addition to these models the software also includes models for choking flow and for pigging of a pipeline. These are also discussed in this section.

    Flow Regimes The Aspen Dynamic Pipeline Solverhas different flow regime maps for vertical and horizontal flow. These are needed because the friction behavior for two-phase flow is dependent on the orientation of the flow. The flow regime is predicted for each cell edge based on the velocities of each phase, void fraction and other parameters. The vertical flow pattern map is used if the angle of inclination is above 10 and the horizontal flow pattern map at inclinations below 10.

    Vertical Flow Regimes

    The flow regime boundaries in vertical flow are mainly based on void fraction. There is, however, an additional transition from slug flow to bubble flow for a mass flux above 2000 kg/m2s. This flow regime map was developed by the authors of the TRAC code. They based this on physical intuition and it has been found over many years of use in TRAC, PLAC and ProFES Transient, to work well for a wide variety of transients.

  • Aspen Dynamic Pipeline Solver Reference 18

    Horizontal Flow Regimes

    The horizontal flow map was similarly developed by the TRAC developers. This includes a stratified flow model, the basis for which is a model by Taitel and Dukler (1976) based on a modified Kelvin-Helmholz model for a circular pipe.

    The model defines a critical gas velocity, Ucrit, above which stratification is impossible.

    21

    /cos)(

    1 1

    =

    llg

    gglcrit dhdA

    AgDhU

    (38)

    where:

    21

    ))2(( 22 DhDdhdA

    ll

    l =

    (39)

    is the angle formed by the pipe axis with the horizontal and hl is the liquid height. Stratified flow is only possible if hl > D/1000. For gas velocities between Ucrit and 2Ucrit the flow regime is assumed to be in transition between stratified and other horizontal flow patterns. The transitions between slug flow and annular flow are based simply on void fraction. A transition region is assumed between these two regimes.

  • Aspen Dynamic Pipeline Solver Reference 19

    Interfacial Friction Models for interfacial friction are used for each of the vertical and horizontal flow regimes. There is a relaxation between the previous timestep friction factor and the new friction factor for stability. The transitions between flow regimes are also relaxed.

    Interfacial Friction for Vertical Flow

    Bubble Flow

    The interfacial friction is calculated by predicting the bubble size and shear coefficient. The bubble diameter is calculated as follows:

    2 rlb

    b VWeD =

    (40)

    where Db is the bubble diameter and Web is the Weber number, assumed to be 7.5 from Crowley et al (1977). The bubble diameter must lie between the cell hydraulic diameter and 10-4 meters. The interfacial shear coefficient is provided by a standard set of formulae for a sphere, from Govier and Aziz (1972):

    b

    lbi D

    cc4

    3=

    (41)

    where the shear coefficient is based on the bubble Reynolds number as follows:

    Reb Cb

    < 0.1 180

    0.1 < = Reb 989 0.33

    Plug Flow

    The plug flow regime is treated in the same manner as bubble flow. The plug diameter is calculated by interpolation between the bubble size calculated above and the pipe diameter, based on the void fraction. A similar interpolation is done between 2000 and 2700 kg/m2s.

  • Aspen Dynamic Pipeline Solver Reference 20

    Annular Flow

    The entrainment fraction is calculated based on Kataoka and Ishii (1982) as follows:

    [ ])(23.0exp1 Eg VVE = (42)

    where:

    41

    2)(

    33.2

    =

    l

    dglE

    WeV

    (43)

    The remainder of the liquid is in a film or sheet. The interfacial shear is a volume average of the film and droplet relations in the annular-mist regime. The wetted surface area of the cell is determined from the portion of the geometric flow area that is blocked. The total interfacial surface area is determined by the sum of the areas contained in the wetted film and droplets. A critical Weber number, equal to 4 for the drops, is used with a calculation procedure similar to that for bubbly flow. This value of the Weber number is appropriate for accelerating drops. The interfacial drag coefficient for the annular-droplet regime combines the droplet drag (see above) and the Wallis (1969), correlation for annular flow:

    ))1)(1(0.750.1(01.0

    ED

    Ch

    gi +=

    (44)

    where E is given by Equation (42). To avoid a singularity in the liquid

    acceleration, a void fraction, cut, is calculated that corresponds to the minimum allowed film thickness. Above this void fraction value, the above

    equation is multiplied by (1 - )/(1 - cut). To obtain the interfacial drag coefficient, droplet drag is weighted by the liquid fraction that is entrained, and Wallis annular flow is weighted by the fraction remaining as a film.

  • Aspen Dynamic Pipeline Solver Reference 21

    Churn Flow

    For the regime between the bubbly/slug flow and annular flow, a cubic spline interpolation in the void fraction is made between the conditions that would exist if the void fraction were 0.75, in the annular or annular-mist regime, and the conditions that would exist if the void fraction were 0.5, in the bubbly/slug regime. If 0.5 < a < 0.75, then a weight factor, W, is calculated from:

    )87()24( 2 =W

    (45)

    This interpolation assures that the correlation for the interfacial friction is a continuous function of the void fraction, the relative velocity, the mass flux and the various fluid thermodynamic and transport properties.

    Interfacial Friction for Horizontal Flow Interfacial friction is calculated for each flow regime and relaxed over the timestep. Smoothing occurs between slug flow and annular flow, based on void fraction, for 0.4 < a < 0.6.

    )107()25( 2 =W

    (46)

    and between stratified flow and other horizontal flow regimes, based on the ratio of gas velocity to the critical velocity from Equation (38), for Ucrit < Vg < 2Ucrit :

    2

    2223

    =

    crit

    g

    crit

    g

    UV

    UV

    W

    (47)

    Stratified Flow

    The interfacial friction in stratified flow is assumed to be a multiple of the gas wall friction factor. This multiple is obtained using the Sinai (1983) model or alternatively may be set to a constant value by the user in the input to the Solver. The Sinai model is summarized by the following equations. The interfacial friction factor is calculated from the ratio of the friction velocity to the gas velocity, thus:

    2

    2

    =

    gi U

    Uf

    (48)

  • Aspen Dynamic Pipeline Solver Reference 22

    where:

    73.42

    log75.5 10 +

    =

    i

    gg DUU

    (49)

    and

    )(

    1802

    gl

    g

    ig

    ii g

    USS

    S+

    =

    (50)

    The interfacial friction factor is limited to a maximum of 6 times the gas phase wall friction factor. This is to give realistic values for interfacial friction factor in high pressure, large diameter pipelines, based on results of studies by Kawaji et al (1987), Oliemans (1987), Crowley and Rothe (1988) and Spedding and Hand (1990). The drag coefficient is then given by:

    FASfc igii 5.0=

    (51)

    where Si is the width of the interface.

    Slug Flow

    The horizontal slug flow model is identical to the vertical plug flow model, except that the slug size is assumed to equal the pipe diameter.

    Annular Flow

    The droplet entrainment fraction, E, is calculated in the same manner as for vertical annular flow. The drag coefficient is based on Whalley (1987). The droplet core void fraction is calculated from:

    = E

    VV

    g

    lc 1)1(

    (52)

    The film radius is calculated from:

    cfilm Dr 5.0=

    (53)

  • Aspen Dynamic Pipeline Solver Reference 23

    and the film thickness from:

    filmf rDd = 5.0

    (54)

    The ratio of interfacial friction factor to gas-wall friction factor is then calculated from:

    Dd

    ff fwg

    i 3601+=

    (55)

    The interfacial drag coefficient is then given by:

    FAPfc gii )1(5.0 =

    (56)

    where the length of the interface is:

    filmrP 2=

    (57)

    Wall Friction The total pressure gradient calculated in the momentum equations is expressed as the sum of the fractional dissipation, acceleration head and potential head terms. The Aspen Dynamic Pipeline Solver calculates coefficients for the frictional dissipation terms and for losses associated with abrupt area changes. Under single-phase flow conditions, pressure drops associated with frictional losses are correlated as functions of fluid velocity, fluid density, fluid viscosity, channel hydraulic diameter and surface roughness of the channel wall. When a two-phase mixture is flowing in a channel, a correction to the single-phase frictional loss is necessary to account for added dissipation between phases and interactions with the channel walls. This correction factor is the two-phase flow multiplier. The wall shear coefficients cwg and cwl are defined as:

    h

    fggwg D

    cc =

    (58)

    and

  • Aspen Dynamic Pipeline Solver Reference 24

    h

    flwl D

    cc l)1( =

    (59)

    where cfg and cfl are the gas and liquid friction factors. The options available to calculate the wall friction are:

    1 Constant friction factor (user input).

    2 Homogeneous model for smooth pipe walls.

    3 Homogeneous model for rough pipe walls.

    4 Annular flow model.

    5 Smooth + form loss.

    6 Rough + form loss.

    7 Rough + annular flow model + form loss.

    8 Form loss only.

    The first option allows you to specify a two-phase friction factor in order to model pressure drop data. Since this is a two-phase friction factor, a value of 0.01 generally gives similar results to using the homogeneous friction factor (for smooth pipes). Roughness for the third option is specified as a relative roughness (absolute roughness height/pipe internal diameter). For the fourth option then, if annular flow is detected, the homogeneous friction factor (for rough pipe) will be replaced by one calculated from an annular flow model. Options 5, 6 and 7 are the same as 1, 2 and 3, with the addition of an automatic calculation of an appropriate form loss coefficient, if there are abrupt area changes. The final option just calculates form loss coefficients.

    Homogeneous Model

    The homogeneous friction factor model alters the single phase value by using a two-phase viscosity defined in terms of the flow quality (x) (Collier (1972):

    1)1(

    1 xx

    g

    +=

    (60)

    The homogeneous friction factor (Rohsenow and Choi (1971), is then given by:

    032.0,500 = fRe (61)

    )500(1025.5032.0,5000500 6 = RefRe (62)

  • Aspen Dynamic Pipeline Solver Reference 25

    2

    10 715.3/15log

    0625.0,5000

    +

    =D

    Re

    fRe

    (63)

    where: mmh VGGDRe and/ == .

    The three equations above (Equations (61), Equations (62), Equations (63)) represent a constant friction factor for Re 0.9:

    2.02222

    )2021()910(

    )1()1(

    +

    = lg

    llo

    xx

    (66)

    If the void fraction is greater than 0.9, the coefficient of friction for the gas phase is:

    flfg cc )2021()910(2 =

    (67)

    The purpose of this function is to ensure a smooth transition from zero gas wall friction at = 0.9 to the single phase gas value at = 1.0.

  • Aspen Dynamic Pipeline Solver Reference 26

    Stratified Flow Model

    If the flow regime is stratified, then the homogeneous friction factors are replaced by those for stratified flow, which are based on the wall area with which each phase is in contact. Given the void fraction, the liquid height is determined from the following relationship:

    sin211

    +=

    Dhl

    (68)

    together with:

    =

    Dhl21cos

    1

    (69)

    Then the following geometric parameters are evaluated:

    il

    lhl

    ig

    ghg

    lg

    i

    l

    g

    SSAD

    SSA

    D

    AAAA

    DA

    DSDS

    DS

    +=

    +=

    ==

    =

    ==

    =

    44

    )1(4

    sin

    )(

    2

    (70)

  • Aspen Dynamic Pipeline Solver Reference 27

    The Reynolds numbers for the gas and liquid phases are then calculated as:

    g

    gggg

    DVRe

    =

    (71)

    and

    l

    llll

    DVRe

    =

    (72)

    Note: The hydraulic diameter for the liquid phase is calculated using the sum of the liquid and interfacial lengths (Sl+ Si). This has the effect of decreasing the hydraulic diameter compared to the usual definition involving only Si and thereby increasing the friction factor. The physical justification for such a change of definition is that the interface is usually rough and the interfacial shear stress is comparable to the liquid wall shear stress. Thus the interface acts more as a rough wall than a free surface. This modification has been tested against experimental data and shown to give better reproduction of the data.

    The friction factors fwg and fwl are then calculated using the relationship cited under the homogeneous friction factor section:

    2

    10 715.3/15log

    0625.0

    +

    =D

    Re

    f

    (73)

    Drag coefficients are then calculated as:

    l

    lhwlfl

    g

    ghwgfg A

    SDfcA

    SDfc

    21;

    21

    ==

    (74)

    Form Losses

    The finite-difference equations yield the correct pressure loss for an abrupt expansion. However, this is not true for an abrupt contraction or an orifice. For one-dimensional components, a form loss option (see above) should be specified for the input friction at the location of any abrupt area change. An

  • Aspen Dynamic Pipeline Solver Reference 28

    appropriate loss correction is calculated by including an extra term in the Bernoulli equation of the form:

    2 2Vkp =

    (75)

    where k is a form loss coefficient. For an abrupt expansion or zero length orifice:

    2

    2

    11

    =

    AAk

    (76)

    and for an abrupt contraction:

    2

    2

    1

    2

    1 2.07.05.0

    +

    =

    AA

    AAk

    (77)

    where A1 and A2 are the smaller and the larger flow areas, respectively. The above equation is a curve that was fitted to the values reported in Massey (1968).

    Annular Flow

    If the user selects the annular flow option for wall friction (see above) then, if the flow regime is annular, the homogeneous wall friction factors are replaced by wall friction factors calculated on the basis of an annular flow model. Since, in annular flow, the gas phase flows in the core surrounded by a liquid film on the walls, there is no gas in contact with the pipe wall and hence the gas-wall friction factor is set to zero. The liquid-wall friction factor is calculated as follows:

    )/(16,200 RefRe = (78)

    5.4)(38.143001069.0,8000200 += RelnfRe

    (79)

    2

    10 715.3/15log

    0625.0,8000

    +

    =D

    Re

    fRe

    (80)

  • Aspen Dynamic Pipeline Solver Reference 29

    where the thickness of the liquid annulus is taken as the characteristic diameter in the Reynolds number.

    Heat Transfer Coefficients The heat fluxes per unit volume required for the basic equations may be obtained from the heat transfer coefficients:

    volTT

    Ahq lgiii

    =(

    (81)

    volTT

    Ahq gwwgwgwg)(

    =

    (82)

    and

    volTTAhq lwwlwlwl

    )( =

    (83)

    Simple correlations are used to predict the heat transfer coefficients as discussed below.

    Interfacial Heat Transfer Currently, if the default 2 energy equations are selected, the interfacial heat transfer coefficient, hi, is fixed such that:

    KWAh ii /107=

    (84)

    with the result that the liquid and gas temperatures are almost always equal. The user can force the liquid and gas temperatures to vary independently by selecting the option to have separate energy equations with no interfacial heat transfer.

    Fluids to Wall Heat Transfer The heat transfer coefficients between the liquid or gas phases and the pipe wall are calculated according to flow pattern. The determination of flow patterns and the interpolation between them is identical to that used for calculation of friction factors. Values of the product of heat transfer coefficient and contact area are determined by flow regime as follows.

  • Aspen Dynamic Pipeline Solver Reference 30

    Bubbly Flow

    There is assumed to be contact only between the liquid and the wall. For calculation of the liquid to wall heat transfer coefficient, the velocity is the mean fluid velocity, the viscosity is the homogeneous viscosity and the diameter is the hydraulic diameter of the channel. The gas to wall heat transfer coefficient is taken to be zero.

    Stratified Flow

    The hydraulic diameters appropriate to the gas and liquid layers in stratified flow are calculated as discussed earlier for calculation of stratified flow wall friction factors. The liquid and gas to wall heat transfer coefficients are then calculated separately using the velocities and physical properties for the gas and liquid phases. These heat transfer coefficients are then weighted by the wetted perimeters of the two phases.

    Slug Flow

    Here, the liquid velocity is taken as the slug velocity and the diameter is the hydraulic diameter of the pipe. The liquid and gas to wall heat transfer coefficients are then calculated separately and weighted by the volume fraction of each phase in the pipe.

    Annular Flow

    In annular flow, it is assumed that there is heat transfer only between the liquid film and the wall. Hence the liquid film velocity and film thickness are used in the determination of liquid to wall heat transfer coefficient. The film is assumed to be uniform circumferentially.

    Single Phase

    For single-phase gas or liquid flow, the heat transfer coefficient is calculated based on velocity and physical properties of the phase and the channel hydraulic diameter. For void fraction greater than 0.98, single phase gas is assumed for calculation of heat transfer coefficient.

    Gas to Wall Heat Transfer

    The gas to wall heat transfer coefficient is taken as the maximum of the turbulent natural convection equation (McAdams (1954):

    313

    1

    2

    2

    13.0 g

    g

    gwggnc PrT

    TTgkh

    =

    (85)

  • Aspen Dynamic Pipeline Solver Reference 31

    and the turbulent Dittus-Boelter equation:

    ngg

    g

    gturb PrReD

    kh 8.0023.0=

    (86)

    where the gas Reynolds number is:

    g

    gggg

    DVRe

    =

    (87)

    and the gas Prandtl number is:

    g

    pg k

    cPr

    =

    (88)

    The Prandtl number exponent, n, is 0.3 for cooling (heat transfer from fluids to pipe wall) and 0.4 for heating (heat transfer from pipe wall to fluids).

    Liquid to Wall Heat Transfer

    The liquid-wall heat transfer coefficient is taken as the maximum of the laminar heat transfer coefficient:

    l

    llam D

    kh 0.4=

    (89)

    and the Dittus-Boelter equation for turbulent flow:

    nll

    l

    ll PrReD

    kh 8.0023.0=

    (90)

    where the liquid Reynolds number is:

    l

    llll

    DVRe

    =

    (91)

  • Aspen Dynamic Pipeline Solver Reference 32

    and the liquid Prandtl number is:

    l

    pl k

    cPr

    =

    (92)

    The Prandtl number exponent, n, is 0.3 for cooling (heat transfer from fluids to pipe wall) and 0.4 for heating (heat transfer from pipe wall to fluids).

    Enhancement Due to Roughness

    The above calculations for liquid or gas to wall heat transfer coefficients are based on flow in a smooth pipe. For turbulent flow in a rough pipe, the heat transfer coefficient is enhanced in the same way as the friction factor. The friction factor is calculated using the relationship:

    2

    10 715.3/15log

    0625.0

    +

    =D

    Re

    f

    (93)

    and hence the heat transfer coefficient enhancement factor, from the ratio of friction factor for a rough pipe to that for a smooth pipe, is given by:

    2

    10

    10

    715.3/15log

    15log

    +

    =D

    Re

    ReE

    (94)

  • Aspen Dynamic Pipeline Solver Reference 33

    Cylindrical Wall Heat Conduction The Aspen Dynamic Pipeline Solver solves the radial conduction equation (below) through the pipe wall to update the wall temperatures radially:

    =

    rTrk

    rrtTcp

    1

    (95)

    The wall temperatures are updated after all the fluid mechanics calculations are completed for that timestep. The wall is split into elemental volumes, as shown below:

    The conduction equation is re-cast in finite difference form, with boundary conditions applied at the inner and outer walls (i=1,N) such that:

    )()(1

    wlggwllli

    TThTThrTk +=

    =

    (96)

    and

    )( wNoutoutNi

    TThrTk =

    =

    (97)

    The heat transfer coefficient from the last node to the surrounding heat sink, hout, and the ambient temperature, Tout, must be specified by the user. If warm up of the pipe wall is not important, for example if the material has a low thermal inertia (such as steel) or is uninsulated and exposed, the number of heat transfer nodes can be set to 1. In this case, the heat conduction is

  • Aspen Dynamic Pipeline Solver Reference 34

    based on the fluid temperature, the external temperature and the overall heat transfer coefficient, hout. For thermal transient calculations, such as pipeline warm up, the surrounding media (such as the soil) should be simulated as additional layers of insulation material. The number of nodes is one more than the number of material layers. If correct warm up of a single material layer is required, nodes = 2 (for example). Where thick insulation layers are present, these need to be subdivided in order to accurately represent the heat transfer through them. In previous versions, this had to be done by the user, it is now automatic. The method used is as follows:

    Each sub-layer has an inner radius, Ri, and outer radius, Si, where i is the number of the sub-layer. The ratio of the sub-layer thickness dRi is a maximum fraction x of the inner radius, Ri.

    Layer R1

    dR1 S1

    1 R xR (R+xR=(1+x)R

    2 (1+x)R x(1+x)R (1+x)R+x(1+x)R=(1+x) 2 R

    I (1+x)i-1R x(1+x)i-1R (1+x)iR

    The total thickness of n sub-layers is (1+x)n

    R-R = ((1+x)n

    -1)R.

    Thus, for a given layer:

    [ ]RxdR n 1)1( += (98)

    Rearranging then leads to the following expression for the number of sub-layers:

    )1log(

    1log

    xR

    dR

    n+

    +

    =

    (99)

    where must be rounded up to the next integer. The actual value of x to use for the local sub-layer is then given by:

    11log

    log 1

    +=

    NR

    dR

    x

    (100)

    where N is the integer number of sub-layers.

  • Aspen Dynamic Pipeline Solver Reference 35

    Burial Calculations

    Another feature of the Aspen Dynamic Pipeline Solver, is the automatic calculation of the equivalent soil layer thickness for a buried pipe (BD), i.e. the distance from the top of the pipe (plus any insulation layers) to the soil surface. Define:

    2DBDz +=

    (101)

    where D is the outer diameter of the pipe (including insulation). Making dimensionless:

    21' +==

    DBD

    Dzz

    (102)

    The dimensionless equivalent outer diameter is then given by:

    23':))1'2(exp(cosh' 1

  • Aspen Dynamic Pipeline Solver Reference 36

    Interfacial Mass Transfer Interfacial mass transfer occurs in multi-component hydrocarbon pipelines due to evaporation or condensation. This arises due to changing pressure and temperature along the pipe (convective phase change), or with time (transient phase change). The rate of evaporation of the liquid phase is given by:

    )( lgpTpT

    mmtx

    xT

    Ttx

    xp

    ptT

    Ttp

    p+

    +

    +

    +

    =

    (106)

    where: = Mass of liquid evaporated in cell per unit time = Equilibrium liquid mass fraction lg mm , = Mass of gas, liquid in cell

    The equilibrium liquid fraction is a function of the pressure and temperature:

    ),( Tp=

    (107)

    and so the differential change in equilibrium liquid fraction is given by:

    dtT

    dpp

    dpT

    +

    =

    (108)

    Hence the derivatives of with respect to time and to distance are:

    tT

    Ttp

    pt pT

    +

    =

    (109)

    and

    xT

    Txp

    px pT

    +

    =

    (110)

  • Aspen Dynamic Pipeline Solver Reference 37

    Substituting Equations (109) and Equations (110) into Equation (106) gives:

    +

    ++

    =

    +

    +

    =

    )()(

    )(

    lglg

    lg

    mmtx

    xmm

    t

    mmtx

    xt

    (111)

    The first term on the right hand side of represents the transient contribution to the phase change and can be expressed in finite difference form as:

    +=+

    tmmmm

    t

    nj

    nj

    lglg

    1)()(

    (112)

    The second term on the right hand side of Equation (111) represents the convective contribution to the phase change. To express in finite difference form, it is first assumed that the rate of convection into and out of the cell is much greater than the rate of change of total mass in the cell, i.e.,

    [ ])()( lglg mmxtmmtx

    +

    +

    (113)

    Hence the convective phase change component may be expressed as:

    +=+

    txAVxVmm

    tx

    x

    nj

    nj

    llgglg1))1(()(

    (114)

    In the Aspen Dynamic Pipeline Solver the conservation equations are multiplied by the timestep, thus giving, for the phase change from Equations (111), Equations (112) and Equations (114):

    )())1(())(( 11 n

    jnjllgg

    nj

    njlg tVVAmmt +++=

    (115)

    In the above equations, the subscript j refers to the cell position, and the superscript n to the time. Equation (115) is implemented in the Aspen Dynamic Pipeline Solver, subject to the following: The transient and convective components are separated and may be

    suppressed if required for stability.

  • Aspen Dynamic Pipeline Solver Reference 38

    The convective component is aligned with the direction of flow. If the flow

    is from cell j+1 to cell j then the difference is used.

    The transient term is approximated using a backward-time difference, as shown in Equation (112). This may lead to numerical instability, and the transient component is therefore multiplied by an under-relaxation factor.

    The under-relaxation factor also serves as a limited control over the rate of transient phase change during rapid depressurization. In these cases, the equilibrium liquid mass fraction can change significantly between timesteps, but thermodynamic equilibrium is not attained over the timestep.

    This rather crude method allows the simulation of blow down, but it is recognised that a more formal calculation method to allow for non-equilibrium effects is required. This work is under development.

    The amount of phase change in a cell at the current timestep is modified by a factor dependent on the amount of liquid in the cell, PGRAT. If the liquid fraction is less than 0.9, then PGRAT=1.0; if the liquid fraction is greater than 0.95 then PGRAT=0.0; if the liquid fraction lies between these limits then PGRAT is linearly interpolated. This has the effect of smoothly reducing the amount of phase change to zero as a cell fills with liquid.

    Choked Flow Model Critical flow can occur either at area restrictions in the pipe, such as valves, or at boundaries. The conditions in the fluid change very rapidly close to the choke plane, and hence it is not possible to predict critical flow directly. Special models have been written which calculate the velocities at the choke plane based on the conditions immediately upstream.

    Single Phase Choking

    No model has been implemented for pure liquid flow, since this condition is unlikely to occur. The critical velocity for pure gas flow is calculated using the standard formula below:

    gRTq =

    (116)

    where R is the gas constant, is the ratio of specific heats and q is the critical velocity; and R are calculated from the physical property data provided. If the velocity calculated at the new timestep is above the critical velocity, the new velocity is reduced to the critical velocity over several timesteps.

  • Aspen Dynamic Pipeline Solver Reference 39

    Two-phase Choking

    The two-phase choked flow model is based on the work by Henry and Fauske (1971). In this paper the critical mass flux for a general two-phase choked system is derived as:

    dpdk

    kv

    kvxx

    dpdvkxkxk

    dpdxxkx

    kvkxvdpdv

    xkxk

    G

    gl

    l

    lgg

    +

    +++

    ++++=

    )1(

    ))1()2(1())21()1(

    )1(21(())1(1(

    2

    212

    (117)

    where k is the slip ratio, Vg/Vl ; x is the quality (gas mass fraction); vg and vl are the specific volumes of the gas and liquid (1/density).

    Homogeneous Frozen Model

    The homogeneous frozen model, which you can select from the input interface, is derived from Equation (117) by making the assumptions:

    Quality, , is constant at the choked plane.

    The flow is homogeneous at the choked plane, i.e., g = l and k = 1. The quality is evaluated from the void fraction, using:

    lg

    gx)1(

    +

    =

    (118)

    Then the critical mass flux is calculated by:

    +

    +=

    s

    l

    ls

    g

    g

    lg

    pp

    G

    )1(

    )1(

    (119)

    Once the total mass flux across the choke plane increases above the critical value, the phase velocities are set to the homogeneous critical velocity over several timesteps. There is likely to be some slip between the phases as the

  • Aspen Dynamic Pipeline Solver Reference 40

    mass flux approaches the critical value. Hence, the gas velocity will initially increase beyond the critical velocity before it is reduced, and conversely for the liquid velocity. Care must be taken in evaluating the derivatives at constant entropy required in Equation (119). The derivatives available from the PVT package MULTIFLASH are at constant pressure or constant temperature. The required derivatives are given by the relationship:

    2

    2

    ppTs TcT

    pp

    =

    (120)

    and where the heat capacity at constant pressure, cp, is given by:

    ppp T

    pTUc

    =

    2

    (121)

    Homogeneous Equilibrium Model

    In the homogeneous equilibrium model, which the user can also select from the input interface, the quality at the choke plane is assumed to be the thermodynamic equilibrium quality, which is related to the equilibrium liquid fraction by . The liquid and gas velocities are still assumed to be equal at the choked plane. This leads to the following expression for the critical mass flux:

    +

    +

    =

    s

    l

    ls

    g

    mlgs

    g

    g ppp

    G

    1

    1

    )1(

    1

    22

    (122)

    After the choked mass flux is calculated, implementation is similar to the homogeneous frozen model.

  • General Information 41

    General Information

    This section provides Copyright details and lists any other documentation related to this release.

    Copyright Version Number: HYSYS 3.4 March 2004

    Copyright 1981 - 2004 Aspen Technology, Inc. All rights reserved.

    HYSYS, HYSYS Optimizer, ACM Model Export, HYSYS Amines, HYSYS Crude Module, HYSYS Data Rec, HYSYS DMC+ Link, HYSYS Dynamics, HYSYS Electrolytes, HYSYS Lumper, HYSYS Neural Net, HYSYS Olga Transient, HYSYS OLGAS 3-Phase, HYSYS OLGAS, HYSYS PIPESIM Link, HYSYS Pipesim Net, HYSYS PIPESYS, HYSYS RTO, HYSYS Sizing, HYSYS Synetix Reactor Models, HYSYS Tacite, HYSYS Upstream, HYSYS for Ammonia Plants, MUSE, PIPE, Polymers Plus, Process Manuals, Process Tools, ProFES 2P Tran, ProFES 2P Wax, ProFES 3P Tran, ProFES Tranflo, STX, TASC-Thermal, TASC-Mechanical, Aspen Plus, ACOL, ACX, APLE, Aspen Adsim, Aspen Aerotran, Aspen CatRef, Aspen Chromatography, Aspen Custom Modeler, Aspen Decision Analyzer, Aspen Dynamics, Aspen Enterprise Engineering, Aspen FCC, Aspen Hetran, Aspen Hydrocracker, Aspen Hydrotreater, Aspen Icarus Process Evaluator, Aspen Icarus Project Manager, Aspen Kbase, Aspen Plus HTRI, Aspen OLI, Aspen OnLine, Aspen PEP Process Library, Aspen Plus BatchFrac, Aspen Plus Optimizer, Aspen Plus RateFrac, Aspen Plus SPYRO, Aspen Plus TSWEET, Aspen Split, Aspen WebModels, Aspen Pinch, Aspen Properties, Aspen SEM, Aspen Teams, Aspen Utilities, Aspen Water, Aspen Zyqad, COMThermo, COMThermo TRC Database, DISTIL, DISTIL Complex Columns Module, FIHR, FLARENET, FRAN, HX-Net, HX-Net Assisted Design Module, Hyprotech Server, the aspen leaf logo and Enterprise Optimization are trademarks or registered trademarks of Aspen Technology, Inc., Cambridge, MA.

    All other brand and product names are trademarks or registered trademarks of their respective companies.

  • General Information 42

    This document is intended as a guide to using AspenTech's software. This documentation contains AspenTech proprietary and confidential information and may not be disclosed, used, or copied without the prior consent of AspenTech or as set forth in the applicable license agreement. Users are solely responsible for the proper use of the software and the application of the results obtained.

    Although AspenTech has tested the software and reviewed the documentation, the sole warranty for the software may be found in the applicable license agreement between AspenTech and the user. ASPENTECH MAKES NO WARRANTY OR REPRESENTATION, EITHER EXPRESSED OR IMPLIED, WITH RESPECT TO THIS DOCUMENTATION, ITS QUALITY, PERFORMANCE, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.

    Corporate

    Aspen Technology, Inc. Ten Canal Park Cambridge, MA 02141-2201 USA Phone: (1) (617) 949-1000 Toll Free: (1) (888) 996-7001 Fax: (1) (617) 949-1030 URL: http://www.aspentech.com/

  • Technical Support 43

    Technical Support

    Online Technical Support Center AspenTech customers with a valid license and software maintenance agreement can register to access the Online Technical Support Center at:

    http://support.aspentech.com

    You use the Online Technical Support Center to:

    Access current product documentation. Search for technical tips, solutions, and frequently asked questions

    (FAQs).

    Search for and download application examples. Search for and download service packs and product updates. Submit and track technical issues. Search for and review known limitations. Send suggestions.

    Registered users can also subscribe to our Technical Support e-Bulletins. These e-Bulletins proactively alert you to important technical support information such as:

    Technical advisories. Product updates. Service Pack announcements. Product release announcements.

  • Technical Support 44

    Phone and E-mail Customer support is also available by phone, fax, and e-mail for customers who have a current support contract for their product(s). Toll-free charges are listed where available; otherwise local and international rates apply.

    For the most up-to-date phone listings, please see the Online Technical Support Center at:

    http://support.aspentech.com Support Centers Operating Hours

    North America 8:00 20:00 Eastern time

    South America 9:00 17:00 Local time

    Europe 8:30 18:00 Central European time

    Asia and Pacific Region 9:00 17:30 Local time

    ContentsIntroducing the Aspen Dynamic Pipeline SolverAspen Dynamic Pipeline Solver ReferenceSolution ProcedureNumerical Stability and the Courant LimitSemi-implicit MethodsThe SETS MethodA Simple Example - Single Phase Flow

    Linearisation of the Finite Difference EquationsExtension of SETS to Two-phase Flow

    Physical PropertiesRequired PropertiesInterpolation of Property DataLinear Interpolation

    Closure Laws and ModelsFlow Regimes

    Interfacial FrictionInterfacial Friction for Vertical FlowInterfacial Friction for Horizontal Flow

    Wall FrictionHeat Transfer CoefficientsInterfacial Heat TransferFluids to Wall Heat Transfer

    Cylindrical Wall Heat ConductionInterfacial Mass TransferChoked Flow Model

    General InformationCopyright

    Technical SupportOnline Technical Support CenterPhone and E-mail