Uses of Class
neqsim.process.equipment.pipeline.twophasepipe.PipeSection
Packages that use PipeSection
Package
Description
Transient multiphase pipe flow models.
-
Uses of PipeSection in neqsim.process.equipment.pipeline.twophasepipe
Subclasses of PipeSection in neqsim.process.equipment.pipeline.twophasepipeModifier and TypeClassDescriptionclassExtended section state for three-phase (gas-oil-water) pipe flow.classExtended pipe section state for the two-fluid model.Fields in neqsim.process.equipment.pipeline.twophasepipe declared as PipeSectionMethods in neqsim.process.equipment.pipeline.twophasepipe that return PipeSectionModifier and TypeMethodDescriptionPipeSection.clone()TransientPipe.getSections()Get all pipe sections with their state variables.Methods in neqsim.process.equipment.pipeline.twophasepipe with parameters of type PipeSectionModifier and TypeMethodDescriptionprivate voidTransientPipe.addSourceTerms(double[] U, PipeSection section, double dt) Add source terms (gravity and friction) to the momentum equation.private voidLagrangianSlugTracker.advanceSlug(LagrangianSlugTracker.SlugBubbleUnit slug, PipeSection[] sections, double dt) Advance a single slug by one time step.private voidSlugTracker.advanceSlug(SlugTracker.SlugUnit slug, PipeSection[] sections, double dt) Advance a single slug.voidSlugTracker.advanceSlugs(PipeSection[] sections, double dt) Advance all slugs by one time step.voidLagrangianSlugTracker.advanceTimeStep(PipeSection[] sections, double dt) Advance all slugs by one time step.private doubleDriftFluxModel.calculateAnnularFriction(PipeSection section, DriftFluxModel.DriftFluxParameters params, double roughness) Calculate friction for annular model.private double[]TransientPipe.calculateAUSMFlux(PipeSection left, PipeSection right) Calculate AUSM+ numerical flux at interface.private doubleSlugTracker.calculateBubbleLength(SlugTracker.SlugUnit slug, PipeSection section) Calculate Taylor bubble/film region length.doubleLiquidAccumulationTracker.calculateDrainageRate(LiquidAccumulationTracker.AccumulationZone zone, PipeSection[] sections, double pressureDrop) Calculate drainage rate from a zone.DriftFluxModel.calculateDriftFlux(PipeSection section) Calculate drift-flux parameters for a section.DriftFluxModel.calculateEnergyEquation(PipeSection section, DriftFluxModel.DriftFluxParameters params, double dt, double dx, double ambientTemperature, double overallHeatTransferCoeff, double jouleThomsonCoeff) Calculate temperature change in fluid flow using the energy equation.private doubleLagrangianSlugTracker.calculateEquilibriumLength(PipeSection section) Calculate equilibrium slug length using Barnea-Taitel model.private doubleSlugTracker.calculateEquilibriumLength(PipeSection section) Calculate equilibrium slug length using Nydal correlation.private doubleLagrangianSlugTracker.calculateFilmHoldup(PipeSection section) Calculate film holdup from section properties.private double[][]TransientPipe.calculateFluxes(PipeSection[] oldSections) Calculate fluxes at cell interfaces using AUSM+ scheme.private doubleDriftFluxModel.calculateFrictionGradient(PipeSection section, DriftFluxModel.DriftFluxParameters params, double roughness) Calculate friction pressure gradient.private doubleDriftFluxModel.calculateHomogeneousFriction(PipeSection section, DriftFluxModel.DriftFluxParameters params, double roughness) Calculate friction for homogeneous model (bubble, slug, dispersed).private voidLagrangianSlugTracker.calculateMassExchange(LagrangianSlugTracker.SlugBubbleUnit slug, PipeSection section, double dt) Calculate mass exchange at slug front and tail.doubleDriftFluxModel.calculateMixtureHeatCapacity(PipeSection section, DriftFluxModel.DriftFluxParameters params, double Cp_gas, double Cp_liquid) Calculate mixture heat capacity for two-phase flow.private doubleLagrangianSlugTracker.calculatePipeLength(PipeSection[] sections) Calculate total pipe length.doubleDriftFluxModel.calculatePressureGradient(PipeSection section, DriftFluxModel.DriftFluxParameters params) Calculate pressure gradient for drift-flux model.private doubleDriftFluxModel.calculateSinglePhaseGasFriction(PipeSection section, double roughness) Calculate friction for single-phase gas flow.private doubleDriftFluxModel.calculateSinglePhaseLiquidFriction(PipeSection section, double roughness) Calculate friction for single-phase liquid flow.private voidLagrangianSlugTracker.calculateSlugVelocities(LagrangianSlugTracker.SlugBubbleUnit slug, PipeSection section) Calculate slug front and tail velocities using Bendiksen correlation.doubleDriftFluxModel.calculateSteadyStateTemperature(PipeSection section, double upstreamTemperature, double dx, double ambientTemperature, double overallHeatTransferCoeff, double massFlowRate, double jouleThomsonCoeff) Simplified energy equation for steady-state temperature profile calculation.private doubleDriftFluxModel.calculateStratifiedFriction(PipeSection section, DriftFluxModel.DriftFluxParameters params, double roughness) Calculate friction for stratified flow (two-fluid approach).LiquidAccumulationTracker.checkForSlugRelease(LiquidAccumulationTracker.AccumulationZone zone, PipeSection[] sections) Check if terrain-induced slug should be released.private voidLagrangianSlugTracker.checkInletSlugGeneration(PipeSection[] sections, double dt) Check for inlet slug generation based on frequency correlation.private voidLagrangianSlugTracker.checkSlugInitiation(PipeSection[] sections, double dt) Check conditions for slug initiation.private voidLagrangianSlugTracker.checkStochasticInitiation(PipeSection[] sections, double dt) Check for stochastic slug initiation from instabilities.private voidLagrangianSlugTracker.clearSlugFlags(PipeSection[] sections) Clear slug flags on all sections.FlowRegimeDetector.detectFlowRegime(PipeSection section) Detect flow regime for a pipe section.private PipeSection.FlowRegimeFlowRegimeDetector.detectFlowRegimeByMinimumSlip(PipeSection section) Detect flow regime using minimum slip criterion.private voidLiquidAccumulationTracker.distributeAccumulatedLiquid(LiquidAccumulationTracker.AccumulationZone zone, PipeSection[] sections) Distribute accumulated liquid among sections in the zone.private intLagrangianSlugTracker.findSectionIndex(double position, PipeSection[] sections) Find section index containing a position.private intSlugTracker.findSectionIndex(double position, PipeSection[] sections) Find section index containing a position.static TwoFluidSectionTwoFluidSection.fromPipeSection(PipeSection base) Create from existing PipeSection.LagrangianSlugTracker.generateInletSlug(PipeSection inlet) Generate a new slug at the inlet.SlugTracker.generateInletSlug(PipeSection inletSection, double pipeArea) Generate slug at inlet based on flow conditions.LagrangianSlugTracker.generateInstabilitySlug(PipeSection section, int sectionIndex, PipeSection[] sections) Generate slug from flow instability.FlowRegimeDetector.getFlowRegimeMap(PipeSection section, double U_SL_max, double U_SG_max, int resolution) Get flow regime transition map for visualization/debugging.private voidLagrangianSlugTracker.handleSlugMerging(PipeSection[] sections) Handle merging of slugs that have caught up to each other.voidLiquidAccumulationTracker.identifyAccumulationZones(PipeSection[] sections) Identify low points and potential accumulation zones in the pipeline.LagrangianSlugTracker.initializeTerrainSlug(LiquidAccumulationTracker.SlugCharacteristics characteristics, PipeSection[] sections) Initialize slug from terrain-induced accumulation.SlugTracker.initializeTerrainSlug(LiquidAccumulationTracker.SlugCharacteristics characteristics, PipeSection[] sections) Initialize slug from terrain-induced accumulation.private voidLagrangianSlugTracker.markSlugSections(PipeSection[] sections) Mark sections that are within slug bodies or bubbles.private voidSlugTracker.markSlugSections(SlugTracker.SlugUnit slug, PipeSection[] sections) Mark sections that are within a slug.private voidLagrangianSlugTracker.mergeSlugPair(LagrangianSlugTracker.SlugBubbleUnit survivor, LagrangianSlugTracker.SlugBubbleUnit absorbed, PipeSection[] sections) Merge two slugs into one.private voidLagrangianSlugTracker.removeInactiveSlugs(PipeSection[] sections) Remove slugs that have exited the pipe or dissipated.private voidSlugTracker.removeInactiveSlugs(PipeSection[] sections) Remove slugs that have exited pipe or dissipated, returning mass to Eulerian cells.private voidLagrangianSlugTracker.returnMassToEulerian(LagrangianSlugTracker.SlugBubbleUnit slug, PipeSection[] sections) Return mass from dissipating slug to Eulerian cells.private voidSlugTracker.returnMassToEulerianCells(SlugTracker.SlugUnit slug, PipeSection[] sections) Return liquid mass from a dissipating slug back to Eulerian cells.voidLiquidAccumulationTracker.updateAccumulation(PipeSection[] sections, double dt) Update liquid accumulation for all zones.private voidLagrangianSlugTracker.updateBubbleLength(LagrangianSlugTracker.SlugBubbleUnit slug, PipeSection section) Update Taylor bubble length.private voidTransientPipe.updatePrimitiveVariables(PipeSection section, PipeSection oldSection, double[] U, int sectionIndex, double dt, double momentumFluxLeft, double momentumFluxRight) Update primitive variables from conservative variables.private voidLagrangianSlugTracker.updateWakeEffects(PipeSection[] sections) Update wake effects between consecutive slugs.private voidLiquidAccumulationTracker.updateZone(LiquidAccumulationTracker.AccumulationZone zone, PipeSection[] sections, double dt) Update a single accumulation zone.