modelDynamicOnePhaseFlowPipe

Dynamic one-phase flow pipe
Diagram of DynamicOnePhaseFlowPipe

Information

## Copyright © EDF 2002 - 2026  
## ThermoSysPro Version 4.2

Parameters

TypeNameDefaultDescription
Units.SI.LengthL10.Pipe length
Units.SI.DiameterD0.2Internal pipe diameter
Realrugosrel0.0007Pipe relative roughness
Realntubes1Number of pipes in parallel
Units.SI.Positionz10Pipe inlet altitude
Units.SI.Positionz20Pipe outlet altitude
RealdpfCorr1.00Corrective term for the friction pressure loss (dpf) for each node
RealhcCorr1.00Corrective term for the heat exchange coefficient (hc) for each node
IntegerNs10Number of segments
Units.SI.Temperature[Ns]T0fill(290, Ns)Initial fluid temperature (active if steady_state = false and option_temperature = 1)
Units.SI.SpecificEnthalpy[Ns]h0fill(1e5, Ns)Initial fluid specific enthalpy (active if steady_state = false and option_temperature = 2)
Booleaninertiatruetrue: momentum balance equation with inertia - false: without inertia
Booleanadvectionfalsetrue: momentum balance equation with advection terme - false: without advection terme
Booleandynamic_mass_balancetruetrue: dynamic mass balance equation - false: static mass balance equation
Booleansimplified_dynamic_energy_balancetruetrue: simplified dynamic energy balance equation - false: full dynamic energy balance equation (active if dynamic_mass_balance=true)
Booleansteady_statetruetrue: start from steady state - false: start from T0 (if option_temperature=1) or h0 (if option_temperature=2)
Integeroption_temperature11:initial temperature is fixed - 2:initial specific enthalpy is fixed (active if steady_state = false)
Booleancontinuous_flow_reversaltruetrue: continuous flow reversal - false: discontinuous flow reversal
Integermode0IF97 region. 1:liquid - 2:steam - 4:saturation line - 0:automatic

Connectors

TypeNameDefaultDescription
Connectors.FluidInletC1
Connectors.FluidOutletC2
ThermoSysPro.Thermal.Connectors.ThermalPort[Ns]CTh

Components

TypeNameDefaultDescription
Units.SI.AbsolutePressure[N + 1]PFluid pressure in node i
Units.SI.MassFlowRate[N]QMass flow rate in node i
Units.SI.SpecificEnthalpy[N + 1]hFluid specific enthalpy in node i
Units.SI.SpecificEnthalpy[N]hbFluid specific enthalpy at the boundary of node i
Units.SI.Density[N - 1]rho1Fluid density in thermal node i
Units.SI.Density[N]rho2Fluid density in hydraulic node i
Units.SI.Density[N + 1]rhocFluid density at the boudary of node i
Units.SI.Power[N - 1]dW1Thermal power exchanged on the water side for node i
Units.SI.PowerW1tTotal power exchanged on the water side
Units.SI.Temperature[N - 1]TpWall temperature in node i
Units.SI.CoefficientOfHeatTransfer[N - 1]hcFluid heat exchange coefficient in node i
Units.SI.ReynoldsNumber[N - 1]Re1Fluid Reynolds number in thermal node i
Units.SI.ReynoldsNumber[N]Re2Fluid Reynolds number in hydraulic node i
Real[N - 1]PrFluid Prandtl number in node i
Units.SI.ThermalConductivity[N - 1]kFluid thermal conductivity in node i
Units.SI.DynamicViscosity[N - 1]mu1Fluid dynamic viscosity in thermal node i
Units.SI.DynamicViscosity[N]mu2Fluid dynamic viscosity in hydraulic node i
Units.SI.SpecificHeatCapacity[N - 1]cpFluid specific heat capacity
Units.SI.Temperature[N - 1]T1Fluid temperature in thermal node i
Units.SI.Temperature[N]T2Fluid temperature in hydraulic node i
ThermoSysPro.Units.SI.PressureDifference[N]dpaAdvection term for the mass balance equation in node i
ThermoSysPro.Units.SI.PressureDifference[N]dpfFriction pressure loss in node i
ThermoSysPro.Units.SI.PressureDifference[N]dpgGravity pressure loss in node i
Real[N]khiHydraulic pressure loss coefficient in node i
Real[N]lambdaFriction pressure loss coefficient in node i
ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph[N - 1]pro1
ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph[2]proc
ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph[N]pro2
ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat[N - 1]lsat
ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat[N - 1]vsat

Revisions

Authors  

Daniel Bouskela  
Baligh El Hefni