Class SlugTracker.SlugUnit

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

public static class SlugTracker.SlugUnit extends Object implements Serializable
Represents a single slug unit (liquid slug + Taylor bubble).
Version:
1.0
Author:
Even Solbraa
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • id

      public int id
      Unique slug identifier.
    • frontPosition

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

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

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

      public double bubbleLength
      Length of Taylor bubble / film region (m).
    • frontVelocity

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

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

      public double bodyHoldup
      Liquid holdup in slug body.
    • filmHoldup

      public double filmHoldup
      Liquid holdup in film region.
    • liquidVolume

      public double liquidVolume
      Liquid volume in slug (m³).
    • isGrowing

      public boolean isGrowing
      Is this slug actively growing.
    • isDecaying

      public boolean isDecaying
      Is this slug decaying.
    • isTerrainInduced

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

      public double age
      Time slug has existed (s).
    • localInclination

      public double localInclination
      Local pipe inclination at slug front.
    • borrowedLiquidMass

      public double borrowedLiquidMass
      Liquid mass borrowed from Eulerian cells (kg). This tracks the mass that was "collected" from the stratified film region to form this slug, enabling proper mass conservation reconciliation between Lagrangian and Eulerian solvers.
    • borrowedFromSections

      public int[] borrowedFromSections
      Array of section indices from which liquid mass was borrowed. Used to return mass to appropriate cells when slug exits or dissipates.
  • Constructor Details

    • SlugUnit

      public SlugUnit()
  • Method Details

    • getTotalLength

      public double getTotalLength()
      Get total slug unit length (body + bubble).
      Returns:
      Total length (m)
    • toString

      public String toString()
      Overrides:
      toString in class Object