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 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.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 doubleSlugTracker.calculateEquilibriumLength(PipeSection section) Calculate equilibrium slug length using Nydal correlation.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).doubleDriftFluxModel.calculateMixtureHeatCapacity(PipeSection section, DriftFluxModel.DriftFluxParameters params, double Cp_gas, double Cp_liquid) Calculate mixture heat capacity for two-phase flow.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.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.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 intSlugTracker.findSectionIndex(double position, PipeSection[] sections) Find section index containing a position.static TwoFluidSectionTwoFluidSection.fromPipeSection(PipeSection base) Create from existing PipeSection.SlugTracker.generateInletSlug(PipeSection inletSection, double pipeArea) Generate slug at inlet based on flow conditions.FlowRegimeDetector.getFlowRegimeMap(PipeSection section, double U_SL_max, double U_SG_max, int resolution) Get flow regime transition map for visualization/debugging.voidLiquidAccumulationTracker.identifyAccumulationZones(PipeSection[] sections) Identify low points and potential accumulation zones in the pipeline.SlugTracker.initializeTerrainSlug(LiquidAccumulationTracker.SlugCharacteristics characteristics, PipeSection[] sections) Initialize slug from terrain-induced accumulation.private voidSlugTracker.markSlugSections(SlugTracker.SlugUnit slug, PipeSection[] sections) Mark sections that are within a slug.private voidSlugTracker.removeInactiveSlugs(PipeSection[] sections) Remove slugs that have exited pipe or dissipated, returning mass 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 voidTransientPipe.updatePrimitiveVariables(PipeSection section, PipeSection oldSection, double[] U, int sectionIndex, double dt, double momentumFluxLeft, double momentumFluxRight) Update primitive variables from conservative variables.private voidLiquidAccumulationTracker.updateZone(LiquidAccumulationTracker.AccumulationZone zone, PipeSection[] sections, double dt) Update a single accumulation zone.