modelTestFlow1D2phDB_hf
Test case for Flow1D2ph
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
The model is designed to test the component Flow1D2phDB (fluid side of a heat exchanger, finite volumes, two-phase flow, heat transfer computation) with a prescribed external heat flux, for debugging purposes. The heat transfer coefficient on the wall connector should be a continuous function.
Simulation Interval = [0...300] sec
Integration Algorithm = DASSL
Algorithm Tolerance = 1e-7
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pi | Modelica.Constants.pi | |
| Integer | Nnodes | 10 | |
| SI.Length | Lhex | 10 | |
| SI.Diameter | Dhex | 0.02 | |
| SI.Thickness | thhex | 0 | |
| SI.Radius | rhex | Dhex/2 | |
| SI.Length | omegahex | Dhex | |
| SI.Area | Ahex | pi*rhex^2 | |
| Real | Cfhex | 0.005 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Water.Flow1D2phDB | hex | ||
| ThermoPower.Water.ValveLin | valve | ||
| ThermoPower.Thermal.HeatSource1Dhtc | heatSource | ||
| ThermoPower.Water.SinkPressure | Sink | ||
| Modelica.Blocks.Sources.Ramp | extPower | ||
| ThermoPower.Water.SourceMassFlow | Source | ||
| Modelica.Blocks.Sources.Ramp | extPower2 | ||
| Modelica.Blocks.Math.Add | Add1 | ||
| Modelica.Blocks.Sources.Ramp | xValve | ||
| Modelica.Blocks.Sources.Ramp | hIn1 | ||
| Modelica.Blocks.Math.Add | Add2 | ||
| Modelica.Blocks.Sources.Ramp | extPower1 | ||
| Modelica.Blocks.Sources.Ramp | extPower3 | ||
| Modelica.Blocks.Math.Add | Add3 | ||
| System | system |
Contents
| Name | Description |
|---|---|
Revisions
- 11 Oct 2004 by Francesco Casella:
First release.