modelPipeFlowVLE_L4_Advanced
Extends from Basics.ControlVolumes.FluidVolumes.VolumeVLE_L4_Advanced (A 1D tube-shaped control volume considering one-phase and two-phase heat transfer in a straight pipe with detailed dynamic momentum and energy balance.), ClaRa.Basics.Icons.Pipe_L4_a.
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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Zeta_in (from VolumeVLE_L4_Advanced) | 0 | Inlet losses additional to wall friction |
| Real | Zeta_out (from VolumeVLE_L4_Advanced) | 0 | Outlet losses additional to wall friction |
| Units.DensityMassSpecific[geo.N_cv] | rho_nom (from VolumeVLE_L4_Advanced) | TILMedia.VLEFluid.Functions.density_phxi(medium, p_nom, h_nom) | Nominal density |
| Real | suppFreqCorr (from VolumeVLE_L4_Advanced) | if suppressHighFrequencyOscillations then 1 else 0 | |
| Fundamental Definitions | |||
| TILMedia.VLEFluid.Types.BaseVLEFluid | medium (from VolumeVLE_L4_Advanced) | simCenter.fluid1 | Medium in the component |
| Boolean | frictionAtInlet (from VolumeVLE_L4_Advanced) | false | True if pressure loss shall be located between first cell and inlet |
| Boolean | frictionAtOutlet (from VolumeVLE_L4_Advanced) | false | True if pressure loss shall be located between last cell and outlet |
| Nominal Values | |||
| Units.Pressure[geo.N_cv] | p_nom (from VolumeVLE_L4_Advanced) | ones(geo.N_cv)*1e5 | Nominal pressure |
| Units.EnthalpyMassSpecific[geo.N_cv] | h_nom (from VolumeVLE_L4_Advanced) | ones(geo.N_cv)*1e5 | Nominal specific enthalpy for single tube |
| Units.MassFlowRate | m_flow_nom (from VolumeVLE_L4_Advanced) | 100 | Nominal mass flow for single tube |
| Units.Pressure | Delta_p_nom (from VolumeVLE_L4_Advanced) | 1e4 | Nominal pressure loss w.r.t. all parallel tubes |
| Initialisation | |||
| Integer | initOption (from VolumeVLE_L4_Advanced) | 1 | Type of initialisation |
| Units.EnthalpyMassSpecific[geo.N_cv] | h_start (from VolumeVLE_L4_Advanced) | ones(geo.N_cv)*800e3 | Initial specific enthalpy for single tube |
| Units.Pressure[geo.N_cv] | p_start (from VolumeVLE_L4_Advanced) | ones(geo.N_cv)*1e5 | Initial pressure |
| Units.MassFlowRate[geo.N_cv + 1] | m_flow_start (from VolumeVLE_L4_Advanced) | ones(geo.N_cv + 1)*100 | Initial mass flow rate |
| Units.MassFraction[medium.nc - 1] | xi_start (from VolumeVLE_L4_Advanced) | zeros(medium.nc - 1) | Initial composition |
| Initialisation › Model Settings | |||
| Boolean | useHomotopy (from VolumeVLE_L4_Advanced) | simCenter.useHomotopy | True, if homotopy method is used during initialisation |
| Summary and Visualisation | |||
| Boolean | showExpertSummary (from VolumeVLE_L4_Advanced) | simCenter.showExpertSummary | True, if a summary shall be shown, else false |
| Boolean | showData (from VolumeVLE_L4_Advanced) | false | True, if a data port containing p,T,h,s,m_flow shall be shown, else false |
| Boolean | contributeToCycleSummary | simCenter.contributeToCycleSummary | True if component shall contribute to automatic efficiency calculation |
| Boolean | heatFlowIsLoss | true | True if negative heat flow is a loss (not a process product) |
| Expert Settings | |||
| Boolean | suppressHighFrequencyOscillations (from VolumeVLE_L4_Advanced) | false | Suppress oscillations at frequencies greater than inverse travelling time of sound |
| Real | pressureAdvCalc (from VolumeVLE_L4_Advanced) | 0 | Parameter for a method of calculation advective pressure drop using:|| 0:= upstream velocities | 1:= velocities in energy cells |
| Expert Settings › Mass Flow Stabilization | |||
| Boolean | useMeanEnthalpyAtInlet (from VolumeVLE_L4_Advanced) | false | Use mean enthalpy at inlet, stabilises zero flows |
| Boolean | useMeanEnthalpyAtOutlet (from VolumeVLE_L4_Advanced) | false | Use mean enthalpy at inlet, stabilises zero flows |
| Boolean | advectivePressureLoss (from VolumeVLE_L4_Advanced) | true | |
| Boolean | limitMassChange (from VolumeVLE_L4_Advanced) | false | Set to true to limit time derivative of control volume mass. CAUTION: Precise short time dynamics is artificially changed! Can be useful if simulation stops in case of phase change. |
| Real | massChangeLimit (from VolumeVLE_L4_Advanced) | 10 | Limit abs(drhodt[I]/rho[I])=abs(der(mass[I])/mass[I])<= massChangeLimit |
| Geometry | |||
| Basics.Units.Length | length | 1 | Length of the pipe (one pass) |
| Basics.Units.Length | diameter_i | 0.1 | Inner diameter of the pipe |
| Basics.Units.Length | z_in | 0.1 | Height of inlet above ground |
| Basics.Units.Length | z_out | 0.1 | Height of outlet above ground |
| Integer | N_tubes | 1 | Number Of parallel pipes |
| Integer | N_passes | 1 | Number of passes of the tubes |
| Integer | orientation | 0 | Main orientation of tube bundle (N_passes>1) |
| Discretisation | |||
| Integer | N_cv | 3 | Number of finite volumes |
| Basics.Units.Length[N_cv] | Delta_x | ClaRa.Basics.Functions.GenerateGrid({0}, length*N_passes, N_cv) | Discretisation scheme |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ClaRa.Basics.Interfaces.FluidPortIn | inlet (from VolumeVLE_L4_Advanced) | Inlet port | |
| ClaRa.Basics.Interfaces.FluidPortOut | outlet (from VolumeVLE_L4_Advanced) | Outlet port | |
| ClaRa.Basics.Interfaces.HeatPort_a[geo.N_cv] | heat (from VolumeVLE_L4_Advanced) | ||
| Basics.Interfaces.EyeOut | eye |
Components
Revisions
For revisions please consult the html-documentation shipped with ClaRa.