Uses of Class
neqsim.process.equipment.pipeline.twophasepipe.TwoFluidSection
Packages that use TwoFluidSection
Package
Description
Transient multiphase pipe flow models.
-
Uses of TwoFluidSection in neqsim.process.equipment.pipeline
Fields in neqsim.process.equipment.pipeline declared as TwoFluidSectionModifier and TypeFieldDescriptionprivate TwoFluidSection[]TwoFluidPipe.sectionsPipe sections with state.Methods in neqsim.process.equipment.pipeline with parameters of type TwoFluidSectionModifier and TypeMethodDescriptionprivate double[]TwoFluidPipe.calculateLocalHoldup(TwoFluidSection sec, TwoFluidSection prev, double mDotGas, double mDotLiq, double area) Calculate local liquid holdup using drift-flux model with terrain effects.private doubleTwoFluidPipe.estimatePressureGradient(TwoFluidSection sec) Estimate pressure gradient for steady-state initialization.private voidTwoFluidPipe.updateWaterOilHoldups(TwoFluidSection sec, TwoFluidSection prev, double alphaL, double area) Update water and oil holdups for three-phase flow with terrain effects. -
Uses of TwoFluidSection in neqsim.process.equipment.pipeline.twophasepipe
Subclasses of TwoFluidSection in neqsim.process.equipment.pipeline.twophasepipeModifier and TypeClassDescriptionclassExtended section state for three-phase (gas-oil-water) pipe flow.Methods in neqsim.process.equipment.pipeline.twophasepipe that return TwoFluidSectionModifier and TypeMethodDescriptionTwoFluidSection.clone()static TwoFluidSectionTwoFluidSection.fromPipeSection(PipeSection base) Create from existing PipeSection.Methods in neqsim.process.equipment.pipeline.twophasepipe with parameters of type TwoFluidSectionModifier and TypeMethodDescriptionvoidTwoFluidConservationEquations.applyPressureGradient(TwoFluidSection[] sections, double[][] dUdt, double dx) Apply pressure gradient term (handled separately for numerical stability).voidTwoFluidConservationEquations.applyState(TwoFluidSection[] sections, double[][] U) Apply state to sections from array format.private doubleTwoFluidConservationEquations.calcFrictionWork(TwoFluidSection sec) Calculate friction work (viscous dissipation).private doubleTwoFluidConservationEquations.calcHeatTransfer(TwoFluidSection sec) Calculate heat transfer to/from pipe wall.private double[]TwoFluidConservationEquations.calcInletFlux(TwoFluidSection sec) Calculate inlet flux using the inlet cell state.private double[][]TwoFluidConservationEquations.calcInterfaceFluxes(TwoFluidSection[] sections, double dx) Calculate fluxes at cell interfaces using AUSM+.private double[]TwoFluidConservationEquations.calcMassTransfer(TwoFluidSection sec) Calculate mass transfer between phases (simplified model).doubleThermodynamicCoupling.calcMassTransferRate(TwoFluidSection section, double relaxationTime) Calculate mass transfer rate between phases (evaporation/condensation).doubleThermodynamicCoupling.calcMixtureSoundSpeed(TwoFluidSection section) Calculate mixture sound speed for wave propagation.private double[]TwoFluidConservationEquations.calcOutletFlux(TwoFluidSection sec) Calculate outlet flux using upwind scheme (transmissive boundary).double[][]TwoFluidConservationEquations.calcRHS(TwoFluidSection[] sections, double dx) Calculate the right-hand side (dU/dt) for all cells.private double[][]TwoFluidConservationEquations.calcSourceTerms(TwoFluidSection[] sections) Calculate source terms for all cells.TwoFluidConservationEquations.createGasState(TwoFluidSection sec) Create gas phase state for flux calculation.TwoFluidConservationEquations.createLiquidState(TwoFluidSection sec) Create liquid phase state for flux calculation.TwoFluidConservationEquations.createOilState(TwoFluidSection sec) Create oil phase state for flux calculation in three-phase flow.TwoFluidConservationEquations.createWaterState(TwoFluidSection sec) Create water phase state for flux calculation in three-phase flow.double[][]TwoFluidConservationEquations.extractState(TwoFluidSection[] sections) Extract state from sections into array format.voidThermodynamicCoupling.updateAllSections(TwoFluidSection[] sections) Update all sections in an array with thermodynamic properties.private voidTwoFluidConservationEquations.updateClosureRelations(TwoFluidSection[] sections) Update closure relations for all sections.voidThermodynamicCoupling.updateSectionProperties(TwoFluidSection section) Update a TwoFluidSection with thermodynamic properties at its P-T conditions.