Class LagrangianSlugTracker.SlugBubbleUnit

java.lang.Object
neqsim.process.equipment.pipeline.twophasepipe.LagrangianSlugTracker.SlugBubbleUnit
All Implemented Interfaces:
Serializable
Enclosing class:
LagrangianSlugTracker

public static class LagrangianSlugTracker.SlugBubbleUnit extends Object implements Serializable
Represents a single slug-bubble unit in Lagrangian tracking.

Each unit consists of:

  • Slug body: High-holdup liquid region (H_LS ~ 0.7-1.0)
  • Taylor bubble: Elongated gas pocket above film
  • Film region: Stratified liquid below Taylor bubble
Version:
2.0
Author:
Even Solbraa
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • id

      public int id
      Unique slug identifier.
    • source

      Generation source: INLET, TERRAIN, INSTABILITY.
    • frontPosition

      public double frontPosition
      Position of slug front (m from inlet).
    • tailPosition

      public double tailPosition
      Position of slug tail (m from inlet).
    • slugLength

      public double slugLength
      Length of liquid slug body (m).
    • bubbleLength

      public double bubbleLength
      Length of Taylor bubble / film region behind tail (m).
    • localDiameter

      public double localDiameter
      Pipe diameter at current location (m).
    • localArea

      public double localArea
      Pipe area at current location (m²).
    • localInclination

      public double localInclination
      Local pipe inclination (radians).
    • frontVelocity

      public double frontVelocity
      Slug front (nose) velocity (m/s).
    • tailVelocity

      public double tailVelocity
      Slug tail velocity (m/s).
    • bubbleNoseVelocity

      public double bubbleNoseVelocity
      Taylor bubble nose velocity (m/s).
    • slugLiquidVelocity

      public double slugLiquidVelocity
      Liquid velocity in slug body (m/s).
    • filmVelocity

      public double filmVelocity
      Film velocity behind slug (m/s).
    • slugHoldup

      public double slugHoldup
      Liquid holdup in slug body (0.5-1.0).
    • filmHoldup

      public double filmHoldup
      Liquid holdup in film region (0.01-0.5).
    • slugLiquidVolume

      public double slugLiquidVolume
      Liquid volume in slug body (m³).
    • filmLiquidVolume

      public double filmLiquidVolume
      Liquid volume in film region (m³).
    • slugLiquidMass

      public double slugLiquidMass
      Liquid mass in slug body (kg).
    • pickupRate

      public double pickupRate
      Rate of liquid pickup at front (kg/s).
    • sheddingRate

      public double sheddingRate
      Rate of liquid shedding at tail (kg/s).
    • netMassRate

      public double netMassRate
      Net mass change rate (kg/s).
    • isGrowing

      public boolean isGrowing
      Is slug currently growing.
    • isDecaying

      public boolean isDecaying
      Is slug decaying/dissipating.
    • isTerrainInduced

      public boolean isTerrainInduced
      Is this a terrain-induced slug.
    • hasExited

      public boolean hasExited
      Has this slug reached outlet.
    • age

      public double age
      Age since creation (s).
    • distanceTraveled

      public double distanceTraveled
      Distance traveled since creation (m).
    • distanceToPrecedingSlug

      public double distanceToPrecedingSlug
      Distance to preceding slug's tail (m).
    • inWakeRegion

      public boolean inWakeRegion
      Is this slug in wake of preceding slug.
    • wakeCoefficient

      public double wakeCoefficient
      Wake coefficient (1.0 = no wake, >1.0 = accelerated).
  • Constructor Details

    • SlugBubbleUnit

      public SlugBubbleUnit()
  • Method Details

    • getTotalUnitLength

      public double getTotalUnitLength()
      Get total slug-bubble unit length.
      Returns:
      total length (m)
    • getTotalLiquidVolume

      public double getTotalLiquidVolume()
      Get total liquid volume in unit (slug + film).
      Returns:
      liquid volume (m³)
    • toString

      public String toString()
      Overrides:
      toString in class Object