Class LagrangianSlugTracker.SlugBubbleUnit
java.lang.Object
neqsim.process.equipment.pipeline.twophasepipe.LagrangianSlugTracker.SlugBubbleUnit
- All Implemented Interfaces:
Serializable
- Enclosing class:
LagrangianSlugTracker
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 Summary
FieldsModifier and TypeFieldDescriptiondoubleAge since creation (s).doubleLength of Taylor bubble / film region behind tail (m).doubleTaylor bubble nose velocity (m/s).doubleDistance to preceding slug's tail (m).doubleDistance traveled since creation (m).doubleLiquid holdup in film region (0.01-0.5).doubleLiquid volume in film region (m³).doubleFilm velocity behind slug (m/s).doublePosition of slug front (m from inlet).doubleSlug front (nose) velocity (m/s).booleanHas this slug reached outlet.intUnique slug identifier.booleanIs this slug in wake of preceding slug.booleanIs slug decaying/dissipating.booleanIs slug currently growing.booleanIs this a terrain-induced slug.doublePipe area at current location (m²).doublePipe diameter at current location (m).doubleLocal pipe inclination (radians).doubleNet mass change rate (kg/s).doubleRate of liquid pickup at front (kg/s).private static final longdoubleRate of liquid shedding at tail (kg/s).doubleLiquid holdup in slug body (0.5-1.0).doubleLength of liquid slug body (m).doubleLiquid mass in slug body (kg).doubleLiquid velocity in slug body (m/s).doubleLiquid volume in slug body (m³).Generation source: INLET, TERRAIN, INSTABILITY.doublePosition of slug tail (m from inlet).doubleSlug tail velocity (m/s).doubleWake coefficient (1.0 = no wake, >1.0 = accelerated). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet total liquid volume in unit (slug + film).doubleGet total slug-bubble unit length.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
id
public int idUnique slug identifier. -
source
Generation source: INLET, TERRAIN, INSTABILITY. -
frontPosition
public double frontPositionPosition of slug front (m from inlet). -
tailPosition
public double tailPositionPosition of slug tail (m from inlet). -
slugLength
public double slugLengthLength of liquid slug body (m). -
bubbleLength
public double bubbleLengthLength of Taylor bubble / film region behind tail (m). -
localDiameter
public double localDiameterPipe diameter at current location (m). -
localArea
public double localAreaPipe area at current location (m²). -
localInclination
public double localInclinationLocal pipe inclination (radians). -
frontVelocity
public double frontVelocitySlug front (nose) velocity (m/s). -
tailVelocity
public double tailVelocitySlug tail velocity (m/s). -
bubbleNoseVelocity
public double bubbleNoseVelocityTaylor bubble nose velocity (m/s). -
slugLiquidVelocity
public double slugLiquidVelocityLiquid velocity in slug body (m/s). -
filmVelocity
public double filmVelocityFilm velocity behind slug (m/s). -
slugHoldup
public double slugHoldupLiquid holdup in slug body (0.5-1.0). -
filmHoldup
public double filmHoldupLiquid holdup in film region (0.01-0.5). -
slugLiquidVolume
public double slugLiquidVolumeLiquid volume in slug body (m³). -
filmLiquidVolume
public double filmLiquidVolumeLiquid volume in film region (m³). -
slugLiquidMass
public double slugLiquidMassLiquid mass in slug body (kg). -
pickupRate
public double pickupRateRate of liquid pickup at front (kg/s). -
sheddingRate
public double sheddingRateRate of liquid shedding at tail (kg/s). -
netMassRate
public double netMassRateNet mass change rate (kg/s). -
isGrowing
public boolean isGrowingIs slug currently growing. -
isDecaying
public boolean isDecayingIs slug decaying/dissipating. -
isTerrainInduced
public boolean isTerrainInducedIs this a terrain-induced slug. -
hasExited
public boolean hasExitedHas this slug reached outlet. -
age
public double ageAge since creation (s). -
distanceTraveled
public double distanceTraveledDistance traveled since creation (m). -
distanceToPrecedingSlug
public double distanceToPrecedingSlugDistance to preceding slug's tail (m). -
inWakeRegion
public boolean inWakeRegionIs this slug in wake of preceding slug. -
wakeCoefficient
public double wakeCoefficientWake 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
-