Class IncompressiblePipeFlow
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.TwoPortEquipment
neqsim.process.equipment.pipeline.Pipeline
neqsim.process.equipment.pipeline.AdiabaticPipe
neqsim.process.equipment.pipeline.IncompressiblePipeFlow
- All Implemented Interfaces:
Serializable, Runnable, PipeLineInterface, ProcessEquipmentInterface, TwoPortInterface, SimulationInterface, NamedInterface
IncompressiblePipeFlow class.
- Version:
- $Id: $Id
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Fittings(package private) doubleprivate static final longSerialization version UID.private doubleFields inherited from class AdiabaticPipe
dH, flowPattern, inletPressure, insideDiameter, length, pipeSpecification, pipeWallRoughness, pressureOut, setPressureOut, setTemperature, temperatureOut, velocityFields inherited from class Pipeline
equilibriumHeatTransfer, equilibriumMassTransfer, fileName, legHeights, legPositions, logger, numberOfLegs, numberOfNodesInLeg, outerHeatTransferCoeffs, outerTemperature, pipe, pipeDiameters, pipelineMechanicalDesign, system, times, wallHeatTransferCoeffsFields inherited from class TwoPortEquipment
inStream, outStreamFields inherited from class ProcessEquipmentBaseClass
conditionAnalysisMessage, energyStream, hasController, isSolved, properties, reportFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
ConstructorsConstructorDescriptionIncompressiblePipeFlow(String name) Constructor for IncompressiblePipeFlow.IncompressiblePipeFlow(String name, StreamInterface inStream) * Constructor for IncompressiblePipeFlow. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFitting(String name, double LdivD) addFitting.voidaddFittingFromDatabase(String name) addFittingFromDatabase.doublecalcPressureOut.doubleGetter for the fieldtotalEqLenth.static voidmain.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetTotalEqLenth(double totalEqLenth) Setter for the fieldtotalEqLenth.Methods inherited from class AdiabaticPipe
calcFlow, calcWallFrictionFactor, displayResult, getDiameter, getInletElevation, getLength, getOutletElevation, getPipe, getPipeWallRoughness, setDiameter, setInitialFlowPattern, setInletElevation, setLength, setOutletElevation, setOutPressure, setOutTemperature, setPipeSpecification, setPipeWallRoughnessMethods inherited from class Pipeline
getCapacityDuty, getCapacityMax, getEntropyProduction, getMechanicalDesign, getOutletPressure, getSuperficialVelocity, getTimes, initMechanicalDesign, runTransient, setEquilibriumHeatTransfer, setEquilibriumMassTransfer, setHeightProfile, setLegPositions, setNumberOfLegs, setNumberOfNodesInLeg, setOuterTemperatures, setOutputFileName, setPipeDiameters, setPipeOuterHeatTransferCoefficients, setPipeWallHeatTransferCoefficients, setPipeWallRoughness, setTimeSeries, toJson, toJsonMethods inherited from class TwoPortEquipment
getInletPressure, getInletStream, getInletTemperature, getMassBalance, getOutletPressure, getOutletStream, getOutletTemperature, setInletPressure, setInletStream, setInletTemperature, setOutletPressure, setOutletStream, setOutletTemperature, validateSetupMethods inherited from class ProcessEquipmentBaseClass
copy, equals, getConditionAnalysisMessage, getController, getEnergyStream, getExergyChange, getMassBalance, getMinimumFlow, getPressure, getPressure, getProperty, getReport_json, getResultTable, getSpecification, getTemperature, getTemperature, getThermoSystem, hashCode, isActive, isActive, isSetEnergyStream, reportResults, run_step, runConditionAnalysis, setController, setEnergyStream, setEnergyStream, setFlowValveController, setMinimumFlow, setPressure, setRegulatorOutSignal, setSpecification, setTemperature, solvedMethods inherited from class SimulationBaseClass
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTimeMethods inherited from class NamedBaseClass
getName, getTagName, setName, setTagNameMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamedInterface
getName, getTagName, setName, setTagNameMethods inherited from interface ProcessEquipmentInterface
getExergyChange, getFluid, getRestCapacity, needRecalculationMethods inherited from interface SimulationInterface
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, run, run_step, run_step, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime, solvedMethods inherited from interface TwoPortInterface
getInletPressure, getInletStream, getInletTemperature, getInStream, getOutletPressure, getOutletStream, getOutletTemperature, getOutStream, setInletPressure, setInletStream, setInletTemperature, setOutletPressure, setOutletStream, setOutletTemperature
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
fittings
Fittings fittings -
totalEqLenth
private double totalEqLenth -
momentum
double momentum
-
-
Constructor Details
-
IncompressiblePipeFlow
Constructor for IncompressiblePipeFlow.- Parameters:
name- name of pipeline
-
IncompressiblePipeFlow
* Constructor for IncompressiblePipeFlow.- Parameters:
name- name of pipeinStream- input stream
-
-
Method Details
-
addFittingFromDatabase
-
addFitting
-
calcPressureOut
public double calcPressureOut()calcPressureOut.
- Overrides:
calcPressureOutin classAdiabaticPipe- Returns:
- a double
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Specified by:
runin interfaceSimulationInterface- Overrides:
runin classAdiabaticPipe- Parameters:
id- UUID
-
main
-
getTotalEqLenth
public double getTotalEqLenth()Getter for the field
totalEqLenth.- Returns:
- the totalEqLenth
-
setTotalEqLenth
public void setTotalEqLenth(double totalEqLenth) Setter for the field
totalEqLenth.- Parameters:
totalEqLenth- the totalEqLenth to set
-