modelTestWaterFlow1DFEM_E
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 two fluid sides of a heat exchanger in counterflow configuration. The operating fluid is liquid water.
The mass flow rate during the experiment and initial conditions are the same for the two sides.
During the simulation, the inlet specific enthalpy for hexA ("hot side") is changed:
- t=50 s, Step variation of the specific enthalpy of the fluid entering hexA .
Simulation Interval = [0...900] 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 | hinhex | 1e5 | |
| Modelica.SIunits.SpecificEnthalpy | houthex | 1e5 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Water.Flow1DFEM | hexA | ||
| ThermoPower.Water.SinkPressure | SideA_FluidSink | ||
| ThermoPower.Water.SinkPressure | SideB_FluidSink | ||
| ThermoPower.Water.SourceMassFlow | SideA_MassFlowRate | ||
| ThermoPower.Water.ValveLin | ValveLin1 | ||
| ThermoPower.Water.ValveLin | ValveLin2 | ||
| Water.Flow1DFEM | hexB | ||
| ThermoPower.Water.SensT | SensT_A_in | ||
| Modelica.Blocks.Sources.Step | SideA_InSpecEnth | ||
| Modelica.Blocks.Sources.Constant | Constant1 | ||
| Modelica.Blocks.Sources.Constant | Constant2 | ||
| ThermoPower.Water.SensT | SensT_B_in | ||
| ThermoPower.Water.SourceMassFlow | SideB_MassFlowRate | ||
| ThermoPower.Water.SensT | SensT_A_out | ||
| ThermoPower.Water.SensT | SensT_B_out | ||
| Thermal.CounterCurrentFEM | CounterCurrent1 | ||
| System | system |
Contents
| Name | Description |
|---|---|
Revisions
- 7 Jan 2015 by Francesco Casella:
Updated to new FEM model. - 20 Dec 2004
by Francesco
Casella:
New heat transfer components. - 1 Oct 2003 by Francesco Schiavo:
First release.