modelPipeFlowGas_L4_Advanced

A 1D tube-shaped control volume considering heat transfer in a straight pipe with dynamic momentum balance and simple energy balance.
Diagram of PipeFlowGas_L4_Advanced

Extends from ClaRa.Basics.ControlVolumes.GasVolumes.VolumeGas_L4_advanced (An array of gas cells with dynamic momentum balance.), ClaRa.Basics.Icons.Pipe_L4_a, ClaRa.Basics.Icons.ComplexityLevel (Displays the complexity level inside model icon ).

Information

For detailed model documentation please consult the html-documentation shipped with ClaRa.

 


Authorship and Copyright Statement for original (initial) Contribution

Author:

DYNCAP/DYNSTART development team, Copyright © 2011-2024.

References:

For references please consult the html-documentation shipped with ClaRa.

Remarks:

This component was developed by ClaRa development team under the 3-clause BSD License.

Acknowledgements:

ClaRa originated from the collaborative research projects DYNCAP and DYNSTART. Both research projects were supported by the German Federal Ministry for Economic Affairs and Energy (FKZ 03ET2009 and FKZ 03ET7060).

CLA:

The author(s) have agreed to ClaRa CLA, version 1.0. See https://claralib.com/pdf/CLA.pdf

By agreeing to ClaRa CLA, version 1.0 the author has granted the ClaRa development team a permanent right to use and modify his initial contribution as well as to publish it or its modified versions under the 3-clause BSD License.

The ClaRa development team consists of the following partners:

TLK-Thermo GmbH (Braunschweig, Germany)

XRG Simulation GmbH (Hamburg, Germany).

Parameters

TypeNameDefaultDescription
SI.DensityMassSpecific[geo.N_cv]rho_nom (from VolumeGas_L4_advanced)TILMedia.Gas.Functions.density_pTxi(medium, p_nom, T_nom, xi_nom)Nominal density
BooleanshowData (from VolumeGas_L4_advanced)false|Summary and Visualisation||True, if a data port containing p,T,h,s,m_flow shall be shown, else false
ClaRa.Basics.Units.Lengthlength1|Geometry|Length of the pipe
ClaRa.Basics.Units.Lengthdiameter_i0.1|Geometry|Inner diameter of the pipe
IntegerN_tubes1|Geometry|Number Of parallel pipes
IntegerN_cv3|Discretisation|Number of finite volumes
ClaRa.Basics.Units.Length[N_cv]Delta_xClaRa.Basics.Functions.GenerateGrid({0}, length, N_cv)|Discretisation|Discretisation scheme
Fundamental Definitions
TILMedia.Gas.Types.BaseGasmedium (from VolumeGas_L4_advanced)simCenter.flueGasModelMedium to be used
Booleanuse2HeatPorts (from VolumeGas_L4_advanced)falseTrue, if a second heat port should be used
BooleanfrictionAtInlet (from VolumeGas_L4_advanced)falseTrue if pressure loss between first cell and inlet shall be considered
BooleanfrictionAtOutlet (from VolumeGas_L4_advanced)falseTrue if pressure loss between last cell and outlet shall be considered
Nominal Values
SI.Pressure[geo.N_cv]p_nom (from VolumeGas_L4_advanced)1e5*ones(geo.N_cv)Nominal pressure
SI.Temperature[geo.N_cv]T_nom (from VolumeGas_L4_advanced)293.15*ones(geo.N_cv)Nominal temperature for single tube
SI.MassFraction[medium.nc - 1]xi_nom (from VolumeGas_L4_advanced)medium.xi_defaultNominal gas composition
SI.MassFlowRatem_flow_nom (from VolumeGas_L4_advanced)100Nominal mass flow w.r.t. all parallel tubes
SI.PressureDelta_p_nom (from VolumeGas_L4_advanced)1e4Nominal pressure loss w.r.t. all parallel tubes
Initialisation
IntegerinitOption (from VolumeGas_L4_advanced)0Type of initialisation
SI.Temperature[:]T_start (from VolumeGas_L4_advanced)293.15*ones(geo.N_cv)Initial temperature for single tube
SI.Pressure[:]p_start (from VolumeGas_L4_advanced)1e5*ones(geo.N_cv)Initial pressure
SI.MassFlowRate[geo.N_cv + 1]m_flow_start (from VolumeGas_L4_advanced)ones(geo.N_cv + 1)*100Initial mass flow rate
SI.MassFraction[medium.nc - 1]xi_start (from VolumeGas_L4_advanced)medium.xi_defaultInitial gas composition
Initialisation › Model Settings
BooleanuseHomotopy (from VolumeGas_L4_advanced)simCenter.useHomotopytrue, if homotopy method is used during initialisation
Geometry
Basics.Units.Lengthz_in0Height of inlet above ground
Basics.Units.Lengthz_out0Height of outlet above ground
Summary and Visualisation
BooleancontributeToCycleSummarysimCenter.contributeToCycleSummaryTrue if component shall contribute to automatic efficiency calculation
BooleanheatFlowIsLosstrueTrue if negative heat flow is a loss (not a process product)

Connectors

TypeNameDefaultDescription
ClaRa.Basics.Interfaces.GasPortIninlet (from VolumeGas_L4_advanced)Inlet port
ClaRa.Basics.Interfaces.GasPortOutoutlet (from VolumeGas_L4_advanced)Outlet port
ClaRa.Basics.Interfaces.HeatPort_a[geo.N_cv]heatOuter (from VolumeGas_L4_advanced)
ClaRa.Basics.Interfaces.HeatPort_b[geo.N_cv]heatInner (from VolumeGas_L4_advanced)
ClaRa.Basics.Interfaces.EyeOutGaseye

Components

TypeNameDefaultDescription
Stringcomplexity (from ComplexityLevel)"??"
ClaRa.SimCentersimCenter (from VolumeGas_L4_advanced)
SI.EnthalpyMassSpecific[geo.N_cv]h (from VolumeGas_L4_advanced)Cell enthalpy
SI.Temperature[geo.N_cv]T (from VolumeGas_L4_advanced)Cell Temperature
SI.Temperature[geo.N_cv]T_in (from VolumeGas_L4_advanced)Inlet temperatures of cells
SI.Temperature[geo.N_cv]T_out (from VolumeGas_L4_advanced)Outlet temperatures of cells
PressureLosspressureLoss (from VolumeGas_L4_advanced)Pressure loss model
HeatTransferOuterheatTransferOuter (from VolumeGas_L4_advanced)heat transfer model
HeatTransferInnerheatTransferInner (from VolumeGas_L4_advanced)Inner heat transfer model
TILMedia.Gas.Gas_pTfluidInlet (from VolumeGas_L4_advanced)Gas object at inlet port
TILMedia.Gas.Gas_pTfluidOutlet (from VolumeGas_L4_advanced)Gas object at outlet port
Summarysummary (from VolumeGas_L4_advanced)
Geometrygeo (from VolumeGas_L4_advanced)
ClaRa.Basics.Interfaces.Connected2SimCenterconnected2SimCenter

Revisions

For revisions please consult the html-documentation shipped with ClaRa.