modelPipeGasAdvanced_L4
Extends from ClaRa.Basics.Icons.Pipe_L4.
Information
Purpose of model
Pipe model using the advanced gas control volumes with dynamic momentum balance, a dynamic mass balance and a dynamic energy balance from the ClaRa and a thermal insulation model. The control volume considers a pressure loss due to friction according to the chosen pressure loss model and occurring heat transfer. The gas properties are calculated with fluid models from TIL media.
Level of detail, physical effects considered, and physical insight
- pressure losses due to friction
- occuring heat transfer and heat conduction through the pipe wall
- dynamic energy, mass and momentum balance
Interfaces
- Fluid Inlet
- Fluid Outlets
References
The used component models like the control volume and the insulation are from the ClaRa Library and documented there.
Version History
First Version in 04.2020 for the research project Future Energy Solution (FES) by Michael von der Heyde (heyde@tuhh.de)
Model documented by Jan Westphal in August 2025 (j.westphal@tuhh.de)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Initialisation | |||
| Boolean | useHomotopy | simCenter.useHomotopy | True, if homotopy method is used during initialisation |
| ClaRa.Basics.Units.Temperature[N_cv] | T_start | fill(simCenter.T_amb_start, N_cv) | Start value of system Temperature |
| ClaRa.Basics.Units.Pressure[N_cv] | p_start | fill(simCenter.p_amb_start, N_cv) | Start value of sytsem pressure |
| ClaRa.Basics.Units.MassFraction[medium_fluid.nc - 1] | xi_start | simCenter.airModel.xi_default | Start value of shell mass fraction |
| Integer | initOption | 0 | Type of shell initialisation |
| Fundamental Definitions | |||
| TILMedia.GasTypes.BaseGas | medium_fluid | simCenter.airModel | Medium to be used for gas flow |
| Integer | N_cv | 3 | Number of control volumes |
| Geometry | |||
| ClaRa.Basics.Units.Length | length | 10 | Pipe Length |
| ClaRa.Basics.Units.Length | diameter | 1 | Pipe Diameter |
| ClaRa.Basics.Units.Length | wall_thickness | 0.005 | Pipe Wall Thickness |
| Integer | N_pipes | 1 | Number of Pipes in parallel |
| Boolean | frictionAtInlet | false | True if pressure loss between first cell and inlet shall be considered |
| Boolean | frictionAtOutlet | false | True if pressure loss between last cell and outlet shall be considered |
| ClaRa.Basics.Units.Length | z_in | 1 | Inlet position from bottom |
| ClaRa.Basics.Units.Length | z_out | 1 | Outlet position from bottom |
| Nominal Values | |||
| ClaRa.Basics.Units.MassFlowRate | m_flow_nom | 10 | Nominal mass flow |
| ClaRa.Basics.Units.Pressure | p_nom | simCenter.p_amb_start | Nominal pressure |
| Basics.Units.Pressure | Delta_p_nom | 100 | Nominal pressure loss |
| Basics.Units.Temperature | T_nom | simCenter.T_amb_start | Nominal temperature |
| Summary and Visualisation | |||
| Boolean | showData | false | True if a data port containing p,T,h,s,m_flow shall be shown, else false |
| Boolean | showExpertSummary | simCenter.showExpertSummary | True, if expert summary should be applied |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ClaRa.Basics.Interfaces.GasPortIn | inlet | ||
| ClaRa.Basics.Interfaces.GasPortOut | outlet |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| ClaRa.Basics.ControlVolumes.GasVolumes.VolumeGas_L4_advanced | airVolume | ||
| ClaRa.Basics.ControlVolumes.SolidVolumes.CylindricalThinWall_L4 | cylindricalThinWall_L4_1 | ||
| Insulation | insulation | ||
| Summary | summary |
Contents
| Name | Description |
|---|---|
| medium_wall |