modelTestWaterFlow1DFEM_B
Test case for Flow1DFEM
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
The model is designed to test the component Flow1Dfem (fluid side of a heat exchanger, finite element method).
This model represent the fluid side of a heat exchanger with convective exchange with an external source at a given temperature.
The operating fluid is liquid water.
During the experiment the external (fixed) temperature changes:
- t=20 s, Step variation of the external temperature. Heat exchanger outlet temperature should vary accordingly to the transfer function (K1/(1+s*tau1))*(1-exp(-K2-s*tau2)), where the parameters K1, K2, tau1, tau1 depend on exchanger geometry, the fluid heat transfer coefficient and operating conditions.
Simulation Interval = [0...200] sec
Integration Algorithm = DASSL
Algorithm Tolerance = 1e-6
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | Nnodes | 12 | |
| Modelica.SIunits.Length | Lhex | 200 | |
| Modelica.SIunits.Diameter | Dihex | 0.02 | |
| Modelica.SIunits.Radius | rhex | Dihex/2 | |
| Modelica.SIunits.Length | omegahex | Modelica.Constants.pi*Dihex | |
| Modelica.SIunits.Area | Ahex | Modelica.Constants.pi*rhex^2 | |
| Real | Cfhex | 0.005 | |
| Modelica.SIunits.MassFlowRate | whex | 0.31 | |
| Modelica.SIunits.Pressure | phex | 3e5 | |
| Modelica.SIunits.SpecificEnthalpy | hs | 1e5 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Water.Flow1DFEM | hex | ||
| Thermal.TempSource1DFEM | TempSource | ||
| ThermoPower.Water.ValveLin | ValveLin1 | ||
| ThermoPower.Water.SourceMassFlow | FluidSource | ||
| ThermoPower.Water.SinkPressure | FluidSink | ||
| Modelica.Blocks.Sources.Step | Temperature | ||
| Modelica.Blocks.Sources.Constant | Constant1 | ||
| ThermoPower.Water.SensT | T_in | ||
| ThermoPower.Water.SensT | T_out | ||
| System | system |
Contents
| Name | Description |
|---|---|
Revisions
- 7 Jan 2015 by Francesco Casella:
Updated to new FEM model.
- 1 Oct 2003 by Francesco Schiavo:
First release.