What each block of the Engineering CAD means
Every block of the Engineering CAD is a steady model of how pressure, temperature and flow change from inlet to outlet for a single-phase gas or liquid. Straight pipes, bends, reducers, valves and custom resistances represent pressure losses; pumps and fans pressure rises; heaters, coolers and heat exchangers heat; splitters and mixers the division and joining of flows.
The pressure loss of a piping system is the sum of many elements' losses, and what to change depends on which elements matter. Knowing what each block calculates, and what it does not (valve-type characteristics, pump cavitation, two-phase flow, …), keeps you from giving the wrong conditions or misreading the results.
Pumping water through a straight pipe, a 90° bend and a valve to an outlet takes six blocks: liquid source → pump → straight pipe → 90° bend → valve → outlet. The pressure reaching the outlet is the pump's rise minus the friction of the pipe, the losses of the bend and valve, and the elevation change.
This page explains the blocks in the Engineering CAD's block list: what each represents in the calculation (the model), what it connects to (ports), its inputs (the variables you set) and outputs (the result variables), and what is checked. Gas and liquid blocks that do the same job (straight pipe, bends, splitter, …) share one section. The “?” next to an input explains that field. Reactors and other chemical blocks are on What each block of the Chemical CAD means.
## Contents
- What all blocks share · Reading the input and output tables
- Sources and outlets: Gas Source · Liquid Source · Outlet (gas, liquid)
- Mixing and splitting: Mixer (gas, liquid) · Splitter (gas, liquid)
- Pipes and local losses: Straight Pipe (gas, liquid) · 90° Bend (gas, liquid) · 45° Bend (gas, liquid) · Reducer / Expander (gas, liquid) · Valve (gas, liquid) · Custom Resistance (gas, liquid)
- Pumps and fans: Pump · Fan / Blower
- Heating, cooling and heat exchange: Heater · Cooler · Heat exchanger (gas–gas / liquid–liquid / gas to liquid)
- Measurement: Sensor (gas, liquid)
## What all blocks share
- Steady single-phase flow: each block calculates its outlet stream from its inlet streams at steady state. Only single-phase gas and liquid flow is covered; boiling, condensation and two-phase flow are not. The network is calculated from upstream to downstream; recycle loops cannot be drawn.
- Gas and liquid: a gas stream carries composition, temperature, pressure, mass flow and reaction mechanism; a liquid stream carries the liquid, temperature, pressure, mass flow (and, for a constant-property liquid, its properties). Gas ports take only gas and liquid ports only liquid. The block list switches between “Gas” and “Liquid”, and blocks are marked by the colour at their left edge and the words “Gas” or “Liquid”.
- Liquid properties: water is evaluated at each temperature and pressure from Cantera's equation of state (Reynolds 1979) with the IAPS 1985 viscosity and thermal conductivity, as a liquid only. A constant-property liquid uses the density, viscosity, specific heat and thermal conductivity you enter everywhere.
- Irreversible loss and static pressure change: pipes, bends, valves and the like report the irreversible loss (friction, local losses) separately from the static change due to elevation and velocity change. Switching a loss off sets it to 0 Pa; the static change remains.
- Pressure-loss model: the mixer, heater and cooler share a “pressure loss” setting (none / fixed / K value), taken at the outlet at constant specific enthalpy and composition.
- Branch flows: a splitter in “pressure balance” finds the split at which the pressures at the ends of its two branches balance.
- Signs: heat is positive when added to the stream (the cooler's “heat removed” and a pipe's heat loss are positive when taken away). The pressure rise of a pump or fan counts as a negative loss in the system's pressure loss.
- Showing the results: select a block and the property panel's “Results” shows the key results (flow, velocity, temperature, pressure, pressure loss). With nothing selected, the “System summary” opens the pressure loss by path, the breakdown of pressure changes and the stream table.
## Reading the input and output tables
Each block's input table has the columns quantity, unit, description and required / optional; the output table has quantity, unit and description (outputs are results, so they have no required / optional column). The quantity names are those of the form fields and result items on screen. In sections that combine a gas and a liquid block, fields that only one of them has are marked “(gas only)” or “(liquid only)”.
The required / optional column
- Required: always give a value; the calculation cannot run with it blank.
- Required (when …): shown and required only with the choice in brackets. Otherwise it is hidden, and giving it a value is an error (“does not apply with the other settings”).
- Optional (default …): starts with a value; you need not change it.
- Optional: may be left blank; the description says what blank means.
The unit column: the SI unit used inside the calculation; every pressure is absolute. On screen, pressures can be entered and shown in kPa, bar, atm or MPa, temperatures in °C, heat and power in kW, flows in kg/h or m³/h, and so on. “−” is a dimensionless quantity (a ratio or fraction), “(choice)” a field chosen from a list, “(on / off)” a switch, “(text)” a field typed as text.
The description column: an “initial” value is a rough starting value in a newly placed block, not a recommended or standard value. Fields marked “[Advanced]” are in the collapsible “Advanced settings” at the bottom of the form (it opens by itself when a field inside has an error). The ranges are the physical and calculation-protection limits; the operational input range is shown below each field as “Input range”.
Solver settings: numbers of steps, tolerances, iteration limits and the like. They are part of the calculation conditions: changing one makes it a different calculation (the cache of the old conditions is not used).
An output shared by all blocks: an outlet connection passes the following stream downstream. In each block's output table it is the single row “Outlet stream”. The state can be checked in the stream table of the “System summary”.
Gas stream:
Quantity — Unit — Description
Composition — − — Amount of each species (normalized by the sum).
Composition basis — (category) — Mole or mass fractions. Outlet streams of blocks calculated with Cantera are in mole fractions.
Temperature — K —
Pressure — Pa — Absolute.
Mass flow — kg/s — Empty for a stream without a flow (for example the quick equilibrium calculation).
Reaction mechanism — (file) — Carried unchanged from the gas source; identified by the hash of its content.
Liquid stream:
Quantity — Unit — Description
Liquid — (category) — Water, or a liquid with constant properties.
Temperature — K —
Pressure — Pa — Absolute.
Mass flow — kg/s —
Density, viscosity, specific heat, thermal conductivity — kg/m³, Pa·s, J/(kg·K), W/(m·K) — For a constant-property liquid, the values you entered; for water each block evaluates them from temperature and pressure.
## Sources and outlets
### Gas Source block
- Represents: Defines a gas stream entering the system: composition, temperature, pressure, flow and reaction mechanism, passed downstream. It calculates nothing (except converting a volumetric flow to a mass flow, and the temperature of a state given by h or s).
- Ports: Outlet (gas, required).
- Checks and cautions: Composition species must be in the mechanism. A volumetric flow needs the mechanism's molar masses (ideal-gas phases only). A stream with no flow is refused by blocks that need a flow.
Inputs
Quantity — Unit — Description — Required / optional
Composition — − — Species and their amounts. The amounts are normalized by their sum (they need not add up to 1). Only species of the chosen reaction mechanism. Initially air (O2 0.21, N2 0.79). — Required
Amounts given as — (choice) — Whether the composition amounts are mole or mass fractions. Used for: Decides whether the composition values are read as mole or mass fractions. — Optional (default mole basis)
State given by — (choice) — Temperature, specific enthalpy or specific entropy (advanced). Used for: with h or s the temperature is found from the composition and pressure (in a worker), passed on and shown. — Optional (default temperature)
Temperature — K — Temperature of the stream (absolute). Greater than 0. Initial 300 K (26.85 °C). — Required (state by temperature)
Specific enthalpy — J/kg — On the mechanism's reference (formation enthalpy included). — Required (state by h)
Specific entropy — J/(kg·K) — Absolute entropy at this pressure. Greater than 0. — Required (state by s)
Pressure — Pa — Pressure of the stream (absolute). Greater than 0. Initial 101325 Pa (101.325 kPa). — Required
Flow given as — (choice) — How the flow is given: mass flow / volumetric flow (at this stream's temperature and pressure) / normal volumetric flow (0 °C, 1 atm) / no flow. Used for: Chooses the field that gives the flow. A volume is converted to a mass flow for the blocks downstream. No flow is a state only: blocks that need a flow (mixer, PFR, a heater given a duty, …) refuse it. — Optional (default mass flow)
Mass flow — kg/s — Mass flow; at least 0. At least 0. Initial 0.01 kg/s. — Required (when Flow given as = mass flow)
Volumetric flow — m³/s — Volumetric flow at the stream's temperature and pressure, converted to a mass flow with the ideal-gas density \rho = PM/(RT). At least 0. Initial 0.01 m³/s. — Required (when Flow given as = volumetric flow)
Normal volumetric flow — Nm³/s — Volumetric flow at 0 °C and 1 atm (Nm³/s), converted to a mass flow with the ideal-gas density. At least 0. Initial 0.01 Nm³/s. — Required (when Flow given as = normal volumetric flow)
Reaction mechanism — (choice) — The file with the species' thermodynamic data and reactions. The blocks downstream calculate with it. Streams with different mechanisms cannot be combined. — Required
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
↑ Contents
### Liquid Source block
- Represents: Defines a single-phase liquid entering the system: water (Cantera's equation of state, Reynolds 1979) or a liquid with constant properties you give.
- Ports: Outlet (liquid, required).
- Checks and cautions: Water is handled as a liquid only; temperatures and pressures where it would boil are refused. A constant-property liquid needs all four properties (none are guessed). Water given by volume needs Cantera for the density, so it is calculated in a worker.
Inputs
Quantity — Unit — Description — Required / optional
Liquid — (choice) — The liquid: water (Cantera's equation of state, Reynolds 1979) / a liquid with constant properties. Water is handled as a liquid only. Used for: Decides where density, viscosity, specific heat and thermal conductivity come from: water's from Cantera at each temperature and pressure, a constant-property liquid's from your values everywhere. — Optional (default water)
Temperature — K — Temperature of the stream (absolute). Greater than 0. Initial 293.15 K (20 °C). — Required
Pressure — Pa — Pressure of the stream (absolute). Greater than 0. Initial 200000 Pa (200 kPa). — Required
Flow given as — (choice) — How the flow is given: mass flow / volumetric flow (at the liquid's temperature and pressure). Used for: Chooses the field that gives the flow; a volume is converted to a mass flow for the blocks downstream. — Optional (default mass flow)
Mass flow — kg/s — Mass flow; at least 0. At least 0. Initial 1 kg/s. — Required (when Flow given as = mass flow)
Volumetric flow — m³/s — Volumetric flow at the liquid's temperature and pressure, converted to the mass flow \dot m = \rho \dot V. At least 0. Initial 0.001 m³/s. — Required (when Flow given as = volumetric flow)
Density — kg/m³ — Density of the constant-property liquid. Greater than 0. — Required (when Liquid = constant properties)
Viscosity — Pa·s — Viscosity of the constant-property liquid. Greater than 0. — Required (when Liquid = constant properties)
Specific heat — J/(kg·K) — Specific heat of the constant-property liquid. Greater than 0. — Required (when Liquid = constant properties)
Thermal conductivity — W/(m·K) — Thermal conductivity of the constant-property liquid. Greater than 0. — Required (when Liquid = constant properties)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
↑ Contents
### Outlet block (gas, liquid)
- Represents: The boundary where a stream leaves the system. It reports the arriving state and, with a boundary pressure, checks the pressure margin.
- Ports: Inlet (gas or liquid, required).
- Checks and cautions: A warning when the arriving pressure is below the boundary pressure. Mean molar mass, density, volumetric and molar flows appear only when the mechanism's molar masses are registered.
Inputs
Quantity — Unit — Description — Required / optional
Boundary pressure (optional) — Pa — Pressure of what the stream discharges into (absolute). Greater than 0. Used for: The result shows the margin between the arriving pressure and this value, with a warning when it falls short. A splitter in pressure balance uses it as the branch's end pressure. Blank: no margin. — Optional
Outputs
Quantity — Unit — Description
Pressure — Pa — Pressure of the arriving stream (absolute).
Temperature — K — Temperature of the arriving stream.
Mass flow — kg/s — Mass flow of the arriving stream (when it has a flow).
Margin to the boundary pressure — Pa — Arriving pressure − boundary pressure; negative means short, with a warning (only with a boundary pressure).
Mean molecular weight — kg/kmol — Mean molar mass (when the mechanism's molar masses are registered).
Density — kg/m³ — Ideal-gas density \rho = PM/(RT) (with registered molar masses).
Volumetric flow — m³/s — Volumetric flow at the arriving temperature and pressure (with a flow and molar masses).
Volumetric flow at normal conditions (0 °C, 1 atm) — Nm³/s — Volumetric flow at 0 °C and 1 atm (with a flow and molar masses).
Molar flow — kmol/s — Molar flow (with a flow and molar masses).
Composition (mole, mass, dry) — − — Mole fraction of each species (wet); with molar masses also mass fractions, and with H2O the dry mole fractions (water removed). Below 1000 ppm also in ppm.
↑ Contents
## Mixing and splitting
### Mixer block (gas, liquid)
- Represents: Mixes several streams adiabatically. Mass and enthalpy are conserved; the composition is only mixed, not reacted (no chemical reaction).
- Ports: Inlet (accepts several streams, required) and outlet (required). The gas mixer takes gas, the liquid mixer liquid.
- Checks and cautions: Every inlet needs a flow. Gas streams must use the same mechanism; liquids must be the same liquid (there is no mixing rule for different liquids). With different inlet pressures and a blank outlet pressure, the streams are mixed at the lowest inlet pressure.
Inputs
Quantity — Unit — Description — Required / optional
Outlet pressure — Pa — [Advanced] Pressure after mixing (absolute). Blank: the lowest inlet pressure. Greater than 0. Used for: Used as the pressure of the mixed state, for the outlet temperature and density; the block's pressure loss is taken from it. — Optional
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default none)
Pressure loss Δp — Pa — [Advanced] The fixed pressure loss \Delta p. At least 0. Initial 1000 Pa (1 kPa). — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Mean molecular weight — kg/kmol — Mean molar mass.
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
Outlet temperature — K — Outlet temperature.
↑ Contents
### Splitter block (gas, liquid)
- Represents: Divides one stream into outlets 1 and 2. The split is given, or found so that the pressures at the ends of the two branches balance (pressure balance). Temperature and composition are unchanged.
- Ports: Inlet (required), outlets 1 and 2 (required). The gas splitter takes gas, the liquid splitter liquid.
- Checks and cautions: Pressure balance works only when two branches of pipes, heaters and reactors end at outlets (both with or both without a boundary pressure) or at the same mixer. With no pressure loss in either branch the split is undetermined and the calculation fails.
Inputs
Quantity — Unit — Description — Required / optional
Flow split — (choice) — How the flow is split: a given fraction / pressure balance (the fraction at which the ends of both branches balance). Used for: Decides the flows to outlets 1 and 2. Pressure balance works when two branches of pipes, heaters and reactors only end at outlets (both with or both without a boundary pressure) or at the same mixer. — Optional (default given fraction)
Fraction to outlet 1 (0–1) — − — Fraction of the inlet mass flow sent to outlet 1 (0–1); the rest goes to outlet 2. At least 0 and at most 1. Initial 0.5. — Required (when Flow split = given fraction)
Junction — (choice) — [Advanced] Junction loss: ideal (no loss) / a K value per outlet. Used for: Used for each outlet's pressure: with K values, \Delta p = K \rho u^2/2 (that outlet's velocity) and the static change from the velocity change enter the outlet pressure. — Optional (default ideal)
Inlet diameter — m — [Advanced] Inner diameter of the junction inlet, for the inlet velocity. Greater than 0. Initial 0.05 m. — Required (when Junction = K per outlet with diameters)
Outlet 1 diameter — m — [Advanced] Inner diameter of outlet 1, for its velocity u. Greater than 0. Initial 0.05 m. — Required (when Junction = K per outlet with diameters)
Outlet 2 diameter — m — [Advanced] Inner diameter of outlet 2, for its velocity u. Greater than 0. Initial 0.05 m. — Required (when Junction = K per outlet with diameters)
K to outlet 1 (outlet 1 velocity) — − — [Advanced] Loss coefficient to outlet 1 (on outlet 1's velocity). No correlation depending on the flow ratio is registered, so you give the value. At least 0. Initial 1. — Required (when Junction = K per outlet with diameters)
K to outlet 2 (outlet 2 velocity) — − — [Advanced] Loss coefficient to outlet 2 (on outlet 2's velocity). At least 0. Initial 1. — Required (when Junction = K per outlet with diameters)
Junction loss — (on / off) — [Advanced] Whether this loss is calculated. Default on. — Required (when Junction = K per outlet with diameters)
Solver settings
Quantity — Unit — Description — Required / optional
Maximum iterations — − — Iteration limit for the pressure-balance split. At least 5. Used for: Without balance within this many iterations the calculation fails. — Optional (default 60)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Fraction to outlet 1 — − — Fraction sent to outlet 1.
Fraction to outlet 2 — − — Fraction sent to outlet 2.
Mass flow to outlet 1 — kg/s — Mass flow of outlet 1.
Mass flow to outlet 2 — kg/s — Mass flow of outlet 2.
Outlet 1 pressure — Pa — Pressure at outlet 1.
Outlet 2 pressure — Pa — Pressure at outlet 2.
Junction loss to outlet 1 — Pa — Junction loss to outlet 1 (0 when ideal).
Junction loss to outlet 2 — Pa — Junction loss to outlet 2 (0 when ideal).
Pressure at the end of branch 1 — Pa — Pressure at the end of branch 1 found by the balance (pressure balance only).
Pressure at the end of branch 2 — Pa — Pressure at the end of branch 2 (pressure balance only).
Branch evaluations — − — Iterations of the pressure balance (pressure balance only).
Pressure surplus at the boundaries — Pa — Mean excess pressure over the boundary pressures at both branch ends; negative gives a warning (both boundaries given).
↑ Contents
## Pipes and local losses
### Straight Pipe block (gas, liquid)
- Represents: Pressure loss and heat transfer of a straight pipe. The pipe is divided into segments; each solves the momentum and energy balances and updates density, viscosity and velocity with temperature and pressure. Friction by Darcy–Weisbach, plus the static change from elevation and heat exchange with the surroundings.
- Ports: Inlet and outlet (required). The gas pipe takes gas, the liquid pipe liquid.
- Checks and cautions: A flow is needed. For a gas, the “auto” density model uses constant density when ΔP/P ≤ 10 % and Mach ≤ 0.3, and otherwise switches to compressible with a note; “constant density” outside that range refuses to calculate. Mach 0.9 or more is refused as choked flow. A heat balance that does not close is an error.
Inputs
Quantity — Unit — Description — Required / optional
Length — m — Pipe length. Greater than 0. Initial 10 m. — Required
Inner diameter — m — Inner diameter; used for the velocity, friction and heat transfer. Greater than 0. Initial 0.05 m. — Required
Heat transfer — (choice) — Heat exchange with the surroundings: adiabatic / calculated / given heat loss / given outlet temperature. Used for: Decides the heat exchanged in each segment and the outlet temperature; it enters the heat loss / gain and the energy balance. — Optional (default adiabatic)
Heat loss model — (choice) — Model of the calculated heat loss: simple (overall coefficient U) / detailed (conduction through wall and insulation, convection and radiation outside). Default simple — overall coefficient U. — Required (when Heat transfer = calculate from the surroundings)
Ambient temperature — K — Ambient temperature. Greater than 0. Initial 293.15 K (20 °C). — Required (when Heat transfer = calculate from the surroundings)
Pipe outer diameter — m — Pipe outer diameter (without insulation); larger than the inner diameter. Greater than 0. Initial 0.06 m. — Required (when Heat transfer = calculate from the surroundings)
Overall coefficient U (outer surface) — W/(m²·K) — Overall heat transfer coefficient U per outer surface area; heat flow = U \times outer area \times temperature difference. At least 0. Initial 10 W/(m²·K). — Required (when Heat loss model = simple — overall coefficient U, Heat transfer = calculate from the surroundings)
Wall thermal conductivity — W/(m·K) — Thermal conductivity of the pipe wall. Greater than 0. Initial 45 W/(m·K). — Required (when Heat loss model = detailed — wall, insulation, convection, radiation, Heat transfer = calculate from the surroundings)
Insulation thickness (0 = none) — m — Insulation thickness; 0 = no insulation. At least 0. Initial 0.05 m. — Required (when Heat loss model = detailed — wall, insulation, convection, radiation, Heat transfer = calculate from the surroundings)
Insulation thermal conductivity — W/(m·K) — Thermal conductivity of the insulation. Greater than 0. Initial 0.04 W/(m·K). — Required (when Heat loss model = detailed — wall, insulation, convection, radiation, Heat transfer = calculate from the surroundings)
Surface emissivity — − — Emissivity of the outer surface (0–1). At least 0 and at most 1. Initial 0.9. — Required (when Heat loss model = detailed — wall, insulation, convection, radiation, Heat transfer = calculate from the surroundings)
Wind speed (0 = still air) — m/s — Wind speed over the outer surface; 0 = still air (natural convection). At least 0. Initial 1 m/s. — Required (when Heat loss model = detailed — wall, insulation, convection, radiation, Heat transfer = calculate from the surroundings)
Ambient air pressure — Pa — Pressure of the surrounding air. Greater than 0. Default 101325 Pa (101.325 kPa). — Required (when Heat loss model = detailed — wall, insulation, convection, radiation, Heat transfer = calculate from the surroundings)
Heat loss (negative = heat gain) — W — Heat lost to the surroundings; a negative value is a heat gain. Initial 1000 W. — Required (when Heat transfer = given heat loss)
Outlet temperature — K — Pipe outlet temperature; the heat exchanged follows from the heat balance. Greater than 0. Initial 293.15 K (20 °C). — Required (when Heat transfer = given outlet temperature)
Absolute roughness — m — [Advanced] Absolute roughness of the inner surface. At least 0. Initial 4.5×10⁻⁵ m. — Required
Elevation change (outlet − inlet) — m — [Advanced] Outlet height − inlet height. Used for: Adds the static change \rho g \Delta z to the outlet pressure (not counted as an irreversible loss); it also enters the energy balance. — Optional (default 0 m)
Gas density (gas only) — (choice) — [Advanced] Gas density treatment: auto / compressible / constant density. Used for: Auto uses constant density while |\Delta P|/P \le 10 % and Mach \le 0.3, compressible beyond. Constant density outside those limits is refused. — Optional (default automatic)
Reducer at the outlet — (choice) — [Advanced] Reducer (change of diameter) at the outlet and how its K is found: none / given K / Crane's formula. Used for: Adds the loss and static change of a diameter change at the outlet. — Optional (default none)
Outlet inner diameter — m — [Advanced] Inner diameter after the reducer. Greater than 0. Initial 0.04 m. — Required (when Reducer at the outlet = K / Crane TP-410)
Reducer K (smaller-diameter velocity) — − — [Advanced] Reducer K (on the velocity in the smaller diameter). At least 0. Initial 0.1. — Required (when Reducer at the outlet = K)
Included angle (180° = sudden) — ° — [Advanced] Total included angle; 180° = sudden enlargement or contraction. Greater than 0 and at most 180°. Initial 30°. — Required (when Reducer at the outlet = Crane TP-410)
Other local losses, total K — − — [Advanced] Sum of the K values of other local losses (on the pipe velocity). At least 0. Used for: Lumps other fittings: \Delta p = K \rho u^2/2 is added at the end of the straight run; 0 = none. — Optional (default 0)
Straight-pipe friction loss — (on / off) — [Advanced] Whether this loss is calculated. Used for: Off sets this loss to 0 Pa; static pressure changes (velocity change, elevation) remain. Used to compare the effect of the loss. — Optional (default on)
Reducer loss — (on / off) — [Advanced] Whether the reducer loss is calculated. Default on. — Required (when Reducer at the outlet = K / Crane TP-410)
Other local losses — (on / off) — [Advanced] Whether the other local losses are calculated. Used for: Off sets this loss to 0 Pa; static pressure changes (velocity change, elevation) remain. Used to compare the effect of the loss. — Optional (default on)
Solver settings
Quantity — Unit — Description — Required / optional
Axial segments — − — Number of equal segments the pipe is divided into. At least 1. Used for: Each segment solves the momentum and energy balances and updates density, viscosity and velocity; more segments are finer and give more points in the profiles. — Optional (default 50)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Inlet temperature — K — Inlet temperature.
Outlet temperature — K — Outlet temperature.
Inlet pressure — Pa — Inlet pressure.
Outlet pressure — Pa — Outlet pressure.
Straight-pipe friction loss — Pa — Straight-pipe friction loss (Darcy–Weisbach).
Reducer loss — Pa — Reducer loss.
Other local losses — Pa — Other local losses.
Local losses (total) — Pa — Sum of the local losses.
Total pressure loss (irreversible) — Pa — Total irreversible pressure loss (static changes excluded).
Static change from elevation — Pa — Static pressure change from elevation (positive = pressure rises; negative for an upward pipe).
Static change from velocity change — Pa — Static pressure change from the velocity change (positive = pressure rises; negative when the flow accelerates).
Heat loss — W — Heat lost to the surroundings.
Heat gain — W — Heat gained from the surroundings.
Enthalpy change of the fluid (ṁ Δh) — W — Enthalpy change of the fluid, \dot m \Delta h.
Energy balance residual (relative) — W — Relative residual of the energy balance; checked, a large one fails the calculation.
Inlet velocity (cross-section average) — m/s — Cross-section average inlet velocity u = \dot m/(\rho A).
Outlet velocity (cross-section average) — m/s — Cross-section average outlet velocity.
Reynolds number (inlet) — − — Reynolds number at the inlet.
Friction factor f (inlet) — − — Darcy friction factor f at the inlet.
Highest Mach number — − — Highest Mach number in the flow (gas); 0.9 or more is refused as choked flow.
Profiles along the pipe (charts) — m, Pa, K, m/s — Pressure, temperature and velocity against the position x.
↑ Contents
### 90° Bend block (gas, liquid)
- Represents: Local loss of 90° bends \Delta p = n K \rho u^2/2 (n: number of bends). K is given or from the Crane TP-410 r/D correlation. A zero-length adiabatic element conserving h + u^2/2.
- Ports: Inlet and outlet (required). Gas and liquid versions.
- Checks and cautions: A flow is needed. The coefficients of the Crane correlation are treated as “to be confirmed” until checked against the source. For a gas, Mach 0.9 or more after the bend is refused.
Inputs
Quantity — Unit — Description — Required / optional
Inner diameter — m — Inner diameter, for the velocity. Greater than 0. Initial 0.05 m. — Required
K value from — (choice) — How K is found: given / Crane TP-410's formula for 90° bends (from r/D). Used for: Chooses how the K of one bend is found. — Optional (default K per bend)
K per bend — − — Loss coefficient of one bend (on the pipe velocity). At least 0. Initial 0.3. — Required (when K value from = K per bend)
Bend radius / diameter (r/D) — − — Bend radius r over inner diameter D (1–20). At least 1 and at most 20. Initial 1.5. — Required (when K value from = 90° bends, Crane TP-410)
Number of bends — − — Number of identical bends. At least 1. Used for: Multiplies the loss: \Delta p = n K \rho u^2/2. — Optional (default 1)
Absolute roughness — m — [Advanced] Absolute roughness of the inner surface; must be above 0. At least 0. Initial 4.5×10⁻⁵ m. — Required (when K value from = 90° bends, Crane TP-410)
Bend loss — (on / off) — [Advanced] Whether this loss is calculated. Used for: Off sets this loss to 0 Pa; static pressure changes (velocity change, elevation) remain. Used to compare the effect of the loss. — Optional (default on)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Inlet temperature — K — Inlet temperature.
Outlet temperature — K — Outlet temperature.
Inlet pressure — Pa — Inlet pressure.
Outlet pressure — Pa — Outlet pressure.
Bend loss — Pa — Bend loss n K \rho u^2/2.
Total pressure loss (irreversible) — Pa — Total irreversible pressure loss (static changes excluded).
Static change from velocity change — Pa — Static pressure change from the velocity change (positive = pressure rises; negative when the flow accelerates).
Inlet velocity (cross-section average) — m/s — Cross-section average inlet velocity u = \dot m/(\rho A).
Outlet velocity (cross-section average) — m/s — Cross-section average outlet velocity.
Loss coefficient K (total) — − — Total loss coefficient K used (for the valve, when given by K).
Highest Mach number — − — Highest Mach number in the flow (gas); 0.9 or more is refused as choked flow.
↑ Contents
### 45° Bend block (gas, liquid)
- Represents: Local loss of 45° bends \Delta p = n K \rho u^2/2. No 45° correlation is registered, so you give K for one bend. A zero-length adiabatic element.
- Ports: Inlet and outlet (required). Gas and liquid versions.
- Checks and cautions: A flow is needed. K has no initial value, so that no guessed value is used.
Inputs
Quantity — Unit — Description — Required / optional
Inner diameter — m — Inner diameter, for the velocity. Greater than 0. Initial 0.05 m. — Required
K per 45° bend — − — Loss coefficient of one 45° bend. No 45° correlation is registered, so give it from the fitting's data (no initial value). At least 0. — Required
Number of bends — − — Number of identical bends. At least 1. Used for: Multiplies the loss: \Delta p = n K \rho u^2/2. — Optional (default 1)
Bend loss — (on / off) — [Advanced] Whether this loss is calculated. Used for: Off sets this loss to 0 Pa; static pressure changes (velocity change, elevation) remain. Used to compare the effect of the loss. — Optional (default on)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Inlet temperature — K — Inlet temperature.
Outlet temperature — K — Outlet temperature.
Inlet pressure — Pa — Inlet pressure.
Outlet pressure — Pa — Outlet pressure.
Bend loss — Pa — Bend loss n K \rho u^2/2.
Total pressure loss (irreversible) — Pa — Total irreversible pressure loss (static changes excluded).
Static change from velocity change — Pa — Static pressure change from the velocity change (positive = pressure rises; negative when the flow accelerates).
Inlet velocity (cross-section average) — m/s — Cross-section average inlet velocity u = \dot m/(\rho A).
Outlet velocity (cross-section average) — m/s — Cross-section average outlet velocity.
Loss coefficient K (total) — − — Total loss coefficient K used (for the valve, when given by K).
Highest Mach number — − — Highest Mach number in the flow (gas); 0.9 or more is refused as choked flow.
↑ Contents
### Reducer / Expander block (gas, liquid)
- Represents: A change of diameter (reducer or expander). The static change from the velocity change and the irreversible loss (K on the smaller diameter's velocity) are reported separately.
- Ports: Inlet and outlet (required). Gas and liquid versions.
- Checks and cautions: Equal inlet and outlet diameters are an error. The Crane correlation's coefficients are “to be confirmed”.
Inputs
Quantity — Unit — Description — Required / optional
Inlet diameter — m — Inner diameter on the inlet side. Greater than 0. Initial 0.05 m. — Required
Outlet inner diameter — m — Inner diameter on the outlet side; different from the inlet. Greater than 0. Initial 0.04 m. — Required
K value from — (choice) — How K is found: given / Crane TP-410's formula (from the included angle). Used for: Decides the K of the reducer loss. — Optional (default K)
Reducer K (smaller-diameter velocity) — − — Reducer K (on the velocity in the smaller diameter). At least 0. Initial 0.1. — Required (when K value from = K)
Included angle (180° = sudden) — ° — Total included angle; 180° = sudden enlargement or contraction. Greater than 0 and at most 180°. Initial 30°. — Required (when K value from = Crane TP-410)
Reducer loss — (on / off) — [Advanced] Whether this loss is calculated. Used for: Off sets this loss to 0 Pa; static pressure changes (velocity change, elevation) remain. Used to compare the effect of the loss. — Optional (default on)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Inlet temperature — K — Inlet temperature.
Outlet temperature — K — Outlet temperature.
Inlet pressure — Pa — Inlet pressure.
Outlet pressure — Pa — Outlet pressure.
Reducer loss — Pa — Reducer loss.
Total pressure loss (irreversible) — Pa — Total irreversible pressure loss (static changes excluded).
Static change from velocity change — Pa — Static pressure change from the velocity change (positive = pressure rises; negative when the flow accelerates).
Inlet gas velocity (cross-section average) — m/s — Cross-section average inlet velocity u = \dot m/(\rho A).
Outlet gas velocity (cross-section average) — m/s — Cross-section average outlet velocity.
Loss coefficient K (total) — − — Total loss coefficient K used (for the valve, when given by K).
Highest Mach number — − — Highest Mach number in the flow (gas); 0.9 or more is refused as choked flow.
↑ Contents
### Valve block (gas, liquid)
- Represents: Local loss of a valve from K, Kv or Cv. With an opening, Kv or Cv follows the inherent flow characteristic (linear / equal percentage, IEC 60534). A zero-length adiabatic element.
- Ports: Inlet and outlet (required). Gas and liquid versions.
- Checks and cautions: A flow is needed. For a gas, a Kv/Cv pressure drop above 10 % of the pressure is refused (the relation without an expansion factor does not apply). Valve-type-specific behaviour is not modelled.
Inputs
Quantity — Unit — Description — Required / optional
Connection inner diameter — m — Inner diameter at the valve connections, for the velocity. Greater than 0. Initial 0.05 m. — Required
Valve given by — (choice) — How the valve is given: K / Kv / Cv. Used for: Chooses the field the valve loss is calculated from. — Optional (default K value)
Valve K — − — Valve loss coefficient (on the connection velocity): \Delta p = K \rho u^2/2. At least 0. Initial 0.2. — Required (when Valve given by = K value)
Valve Kv (m³/h at 1 bar) — − — Water flow in m³/h at a 1 bar difference: \Delta p = (\dot V/K_v)^2 (\rho/1000) bar. Greater than 0. Initial 50. — Required (when Valve given by = Kv value)
Valve Cv (US gpm at 1 psi) — − — Water flow in US gpm at a 1 psi difference, converted to K_v = 0.865\,C_v. Greater than 0. Initial 50. — Required (when Valve given by = Cv value)
Opening — (choice) — Opening: fixed / linear / equal percentage. Default use the Kv / Cv as given. — Required (when Valve given by = Kv value / Cv value)
Relative travel h (0–1) — − — Relative travel h (0–1; 1 = fully open). Greater than 0 and at most 1. Initial 1. — Required (when Opening = linear, Valve given by = Kv value or Opening = equal percentage, Valve given by = Kv value or Opening = linear, Valve given by = Cv value or Opening = equal percentage, Valve given by = Cv value)
Rangeability R — − — Rangeability R of the equal-percentage characteristic. Greater than 1. Initial 50. — Required (when Opening = equal percentage, Valve given by = Kv value or Opening = equal percentage, Valve given by = Cv value)
Valve loss — (on / off) — [Advanced] Whether this loss is calculated. Used for: Off sets this loss to 0 Pa; static pressure changes (velocity change, elevation) remain. Used to compare the effect of the loss. — Optional (default on)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Inlet temperature — K — Inlet temperature.
Outlet temperature — K — Outlet temperature.
Inlet pressure — Pa — Inlet pressure.
Outlet pressure — Pa — Outlet pressure.
Valve loss — Pa — Valve loss.
Total pressure loss (irreversible) — Pa — Total irreversible pressure loss (static changes excluded).
Static change from velocity change — Pa — Static pressure change from the velocity change (positive = pressure rises; negative when the flow accelerates).
Inlet velocity (cross-section average) — m/s — Cross-section average inlet velocity u = \dot m/(\rho A).
Outlet velocity (cross-section average) — m/s — Cross-section average outlet velocity.
Loss coefficient K (total) — − — Total loss coefficient K used (for the valve, when given by K).
Highest Mach number — − — Highest Mach number in the flow (gas); 0.9 or more is refused as choked flow.
Flow coefficient in use (Kv / Cv) — − — Flow coefficient in use (K_v or C_v after the opening).
Relative flow coefficient Kv/Kvs — − — Relative flow coefficient K_v/K_{vs}.
↑ Contents
### Custom Resistance block (gas, liquid)
- Represents: Pressure loss of any equipment, given as a fixed Δp, a K with a reference area, or a curve of pressure loss against volumetric flow; specific enthalpy unchanged.
- Ports: Inlet and outlet (required). Gas and liquid versions.
- Checks and cautions: Only flow in the drawn direction; reverse flow is not modelled. A flow outside the curve is not extrapolated but refused. A loss above the inlet pressure is an error.
Inputs
Quantity — Unit — Description — Required / optional
Model — (choice) — How the resistance is given: fixed \Delta p / K value / pressure–flow curve. Used for: The chosen field gives the pressure loss. — Optional (default fixed pressure loss)
Pressure loss — Pa — A constant pressure loss \Delta p, independent of the flow. At least 0. Initial 1000 Pa (1 kPa). — Required (when Model = fixed pressure loss)
Loss coefficient K — − — Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot V/A_{\mathrm{ref}} (inlet density). At least 0. Initial 1. — Required (when Model = K with a reference area)
Reference cross-section area — m² — Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.002 m². — Required (when Model = K with a reference area)
Pressure loss vs. inlet volumetric flow — x: m³/s, y: Pa — Pressure loss against inlet volumetric flow (2–50 points, flow increasing). Linear between points; no extrapolation outside the range. — Required (when Model = pressure–flow curve)
Loss — (on / off) — [Advanced] Whether this loss is calculated. Used for: Off sets this loss to 0 Pa; static pressure changes (velocity change, elevation) remain. Used to compare the effect of the loss. — Optional (default on)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Volumetric flow — m³/s — Inlet volumetric flow.
Total pressure loss (irreversible) — Pa — Total irreversible pressure loss (static changes excluded).
Outlet pressure — Pa — Outlet pressure.
Outlet temperature — K — Outlet temperature.
Reference velocity — m/s — Reference velocity u used in the K formula.
↑ Contents
## Pumps and fans
### Pump block
- Represents: A pump raising a liquid's pressure: \Delta p = \rho g H from a head, an outlet pressure or a head curve (scaled to the speed by the affinity laws). The shaft power \dot V \Delta p/\eta all goes into the liquid (its temperature rises slightly).
- Ports: Inlet and outlet (liquid, required).
- Checks and cautions: An operating point with no pressure rise is an error. Curves are not extrapolated. A note says NPSH (cavitation) is not evaluated.
Inputs
Quantity — Unit — Description — Required / optional
Pump given by — (choice) — How the pump is given: head / outlet pressure / head curve. Used for: The chosen field gives the pressure rise. — Optional (default head)
Head — m — Head H; pressure rise \Delta p = \rho g H (inlet density, g = 9.80665 m/s²). Initial 20 m. — Required (when Pump given by = head)
Outlet pressure — Pa — Pump outlet pressure (absolute), converted to the head H = (p_{\mathrm{out}} - p_{\mathrm{in}})/(\rho g). Greater than 0. Initial 300000 Pa (300 kPa). — Required (when Pump given by = outlet pressure)
Head vs. volumetric flow (rated speed) — x: m³/s, y: m — Head against volumetric flow at the rated speed; no extrapolation. — Required (when Pump given by = head curve)
Speed (rpm) — − — Operating speed; the curve is scaled with the affinity laws (\dot V \propto n, head or pressure rise \propto n^2). Greater than 0. Initial 1450. — Required (when Pump given by = head curve)
Rated speed of the curve (rpm) — − — Speed at which the curve was measured. Greater than 0. Initial 1450. — Required (when Pump given by = head curve)
Efficiency (0–1) — − — Efficiency \eta; shaft power W = \dot V \Delta p/\eta. All shaft power goes into the fluid: the outlet specific enthalpy rises by W/\dot m. Greater than 0 and at most 1. Initial 0.7. — Required
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Head — m — Head.
Pressure rise — Pa — Pressure rise \Delta p.
Volumetric flow — m³/s — Inlet volumetric flow.
Hydraulic power — W — Hydraulic power \dot V \Delta p.
Shaft power — W — Shaft power \dot V \Delta p/\eta.
Outlet pressure — Pa — Outlet pressure.
Outlet temperature — K — Outlet temperature.
Temperature rise — K — Temperature rise from the shaft power going into the liquid.
↑ Contents
### Fan / Blower block
- Represents: A fan or blower raising a gas's pressure slightly, treated as incompressible: a pressure rise or a pressure curve (affinity laws). The shaft power \dot V \Delta p/\eta goes into the gas.
- Ports: Inlet and outlet (gas, required).
- Checks and cautions: A pressure ratio (outlet / inlet) above 1.07 is refused because compressibility is no longer negligible (no compressor block yet). An operating point with no pressure rise is an error.
Inputs
Quantity — Unit — Description — Required / optional
Fan given by — (choice) — How the fan is given: pressure rise / pressure curve. Used for: The chosen field gives the pressure rise. — Optional (default pressure rise)
Pressure rise — Pa — Pressure rise \Delta p. Initial 2000 Pa (2 kPa). — Required (when Fan given by = pressure rise)
Pressure rise vs. inlet volumetric flow (rated speed) — x: m³/s, y: Pa — Pressure rise against inlet volumetric flow at the rated speed; no extrapolation. — Required (when Fan given by = pressure curve)
Speed (rpm) — − — Operating speed; the curve is scaled with the affinity laws (\dot V \propto n, head or pressure rise \propto n^2). Greater than 0. Initial 1450. — Required (when Fan given by = pressure curve)
Rated speed of the curve (rpm) — − — Speed at which the curve was measured. Greater than 0. Initial 1450. — Required (when Fan given by = pressure curve)
Efficiency (0–1) — − — Efficiency \eta; shaft power W = \dot V \Delta p/\eta. All shaft power goes into the fluid: the outlet specific enthalpy rises by W/\dot m. Greater than 0 and at most 1. Initial 0.7. — Required
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Pressure rise — Pa — Pressure rise \Delta p.
Pressure ratio — − — Pressure ratio p_{\mathrm{out}}/p_{\mathrm{in}} (above 1.07 it is refused).
Volumetric flow — m³/s — Inlet volumetric flow.
Air power — W — Air power \dot V \Delta p.
Shaft power — W — Shaft power \dot V \Delta p/\eta.
Outlet pressure — Pa — Outlet pressure.
Outlet temperature — K — Outlet temperature.
↑ Contents
## Heating, cooling and heat exchange
### Heater block
- Represents: Heats a gas without changing its composition (no chemical reaction). Give the outlet temperature or the heat duty; the other becomes the result.
- Ports: Inlet and outlet (gas, required), heat inlet (optional). The heat inlet may be connected only when the heat duty is given.
- Checks and cautions: A flow is needed when the heat duty is given, and for the heat duty to be reported. The pressure loss is taken at the outlet at constant specific enthalpy and composition.
Inputs
Quantity — Unit — Description — Required / optional
Specify — (choice) — How the outlet is given: outlet temperature / heat duty. Used for: The chosen field fixes the outlet; the other quantity becomes a result. — Optional (default outlet temperature)
Outlet temperature — K — Outlet temperature; the composition is unchanged (frozen). Greater than 0. Initial 500 K (226.85 °C). — Required (when Specify = outlet temperature)
Heat duty — W — Heat added to the stream; positive = heating, negative = cooling. Initial 10000 W. — Required (when Specify = heat duty)
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default fixed Δp)
Pressure drop — Pa — [Advanced] A fixed pressure drop. At least 0. Default 0 Pa. — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Heat duty — W — Heat added to the stream (positive = heating). Given by an outlet temperature, it needs a flow.
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
↑ Contents
### Cooler block
- Represents: Cools a gas without changing its composition (no chemical reaction). Same calculation as the heater, with the heat counted as removed.
- Ports: Inlet and outlet (gas, required).
- Checks and cautions: If the outlet is hotter than the inlet, the heat removed is negative and a note says it actually heats.
Inputs
Quantity — Unit — Description — Required / optional
Given — (choice) — How the outlet is given: outlet temperature / heat removed. Used for: The chosen field fixes the outlet; the other quantity becomes a result. — Optional (default outlet temperature)
Outlet temperature — K — Outlet temperature; the composition is unchanged (frozen). Greater than 0. Initial 300 K (26.85 °C). — Required (when Given = outlet temperature)
Heat removed — W — Heat removed from the stream. Initial 10000 W. — Required (when Given = heat removed)
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default fixed Δp)
Pressure drop — Pa — [Advanced] A fixed pressure drop. At least 0. Default 0 Pa. — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Heat removed — W — Heat removed from the stream; negative means it was actually heated (with a note).
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
↑ Contents
### Heat exchanger block (gas–gas / liquid–liquid / gas to liquid)
- Represents: A steady, single-phase heat exchanger without heat loss, moving heat from the hot stream to the cold one. The duty comes from one of UA (with the log-mean temperature difference, LMTD), effectiveness, a duty or an outlet temperature; both outlets follow from the heat balances.
- Ports: Hot inlet and outlet, cold inlet and outlet (all required). Three kinds: gas–gas, liquid–liquid and gas to liquid (hot side gas, cold side liquid).
- Checks and cautions: The hot inlet must be hotter than the cold inlet. Specifications that cross the temperatures (counterflow: hot outlet below cold inlet, and so on) are refused, as are conditions that would boil a liquid (phase change is not modelled). The LMTD uses the end temperature differences; the change of specific heat along the exchanger is not resolved.
Inputs
Quantity — Unit — Description — Required / optional
Exchanger given by — (choice) — How the exchanger is given: UA / effectiveness / heat duty / hot outlet temperature / cold outlet temperature. Used for: The chosen field gives the heat duty. — Optional (default UA)
UA (coefficient × area) — W/K — UA (overall coefficient × area); Q = UA \cdot \mathrm{LMTD} is solved for Q. Greater than 0. Initial 100 W/K. — Required (when Exchanger given by = UA)
Effectiveness ε (0–1) — − — Effectiveness \varepsilon; Q = \varepsilon Q_{\max}. At least 0 and at most 1. Initial 0.7. — Required (when Exchanger given by = effectiveness)
Heat duty — W — Heat passed from the hot to the cold side; at least 0. At least 0. Initial 10000 W. — Required (when Exchanger given by = heat duty)
Hot outlet temperature — K — Hot side outlet temperature. Greater than 0. Initial 400 K (126.85 °C). — Required (when Exchanger given by = hot outlet temperature)
Cold outlet temperature — K — Cold side outlet temperature. Greater than 0. Initial 350 K (76.85 °C). — Required (when Exchanger given by = cold outlet temperature)
Flow arrangement — (choice) — Flow arrangement: counter-flow / parallel flow. Used for: Used for the temperature-cross check, the LMTD and, for parallel flow, the largest duty (both outlets at the same temperature). — Optional (default counterflow)
Hot side pressure drop — Pa — [Advanced] Pressure drop on the hot side. At least 0. Used for: Used for the hot outlet state: outlet pressure = inlet pressure − pressure drop. — Optional (default 0 Pa)
Cold side pressure drop — Pa — [Advanced] Pressure drop on the cold side. At least 0. Used for: Used for the cold outlet state: outlet pressure = inlet pressure − pressure drop. — Optional (default 0 Pa)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Heat duty — W — Heat passed from the hot to the cold side.
Effectiveness ε — − — Effectiveness Q/Q_{\max}.
Hot outlet temperature — K — Hot outlet temperature.
Cold outlet temperature — K — Cold outlet temperature.
Log-mean temperature difference — K — Log-mean temperature difference (from the end differences).
Minimum approach — K — The smaller of the two end temperature differences.
Hot side pressure drop — Pa — Hot side pressure drop (as given).
Cold side pressure drop — Pa — Cold side pressure drop (as given).
UA (achieved) — W/K — UA from the resulting duty and the LMTD.
↑ Contents
## Measurement
### Sensor block (gas, liquid)
- Represents: Reads the stream at that point without changing it: temperature, pressure, flows, density, specific enthalpy; velocity with a diameter, pressure difference with a reference pressure, and composition for a gas.
- Ports: Inlet and outlet (required). Gas and liquid versions.
- Checks and cautions: The stream is passed unchanged, so it does not affect the caches downstream.
Inputs
Quantity — Unit — Description — Required / optional
Pipe inner diameter (for the velocity) — m — Pipe inner diameter for the velocity. Greater than 0. Used for: Gives the velocity u = \dot V/(\pi D^2/4) in the result; blank: no velocity. — Optional
Reference pressure (for the difference) — Pa — Reference pressure (absolute) for the difference. Greater than 0. Used for: Gives pressure − reference pressure in the result; blank: none. — Optional
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Temperature — K — Temperature of the stream.
Pressure — Pa — Pressure of the stream.
Density — kg/m³ — Density.
Specific enthalpy — J/kg — Specific enthalpy (reference state of the property model).
Mass flow — kg/s — Mass flow.
Volumetric flow — m³/s — Volumetric flow \dot V = \dot m/\rho.
Enthalpy flow (ṁh) — W — Enthalpy flow \dot m h.
Velocity (cross-section average) — m/s — Velocity, when a diameter is given.
Difference to the reference pressure — Pa — Pressure − reference pressure (when given).
Composition (mole fractions) — − — Mole fraction of each species at that point (gas; the most abundant species).
↑ Contents
## Friction of a straight pipe (Darcy–Weisbach)
\Delta p_f = f \frac{L}{D} \frac{\rho u^2}{2}, \qquad Re = \frac{\rho u D}{\mu}
The friction factor is f = 64/Re for laminar flow (Re < 2300), Colebrook's equation for turbulent flow (Re > 4000), and in between a linear interpolation from 64/2300 to the Colebrook value at Re = 4000 (transitional values cannot be predicted). It is evaluated segment by segment, with density and viscosity updated from temperature and pressure.
## Local losses (bends, reducers, valves, others)
\Delta p = n K \frac{\rho u^2}{2}
From a valve's Kv (m³/h of water at 1 bar):
\Delta p = \left(\frac{\dot V}{K_v}\right)^2 \frac{\rho}{\rho_{\mathrm{ref}}} \times 1\ \mathrm{bar}, \qquad \rho_{\mathrm{ref}} = 1000\ \mathrm{kg/m^3}
(\dot V in m³/h); Cv is converted to Kv.
## Static pressure change
Apart from the irreversible losses, the changes from elevation -\rho g \Delta z and velocity -\Delta(\rho u^2/2) enter the outlet pressure (positive = pressure rises).
## Energy balance of a pipe
\dot Q = \dot m \left[\Delta h + \Delta\frac{u^2}{2} + g \Delta z\right]
Heat exchange with the surroundings uses the exact exponential form per segment, and the balance is checked every time.
## Pump and fan
\Delta p = \rho g H, \qquad P_{\mathrm{shaft}} = \frac{\dot V \Delta p}{\eta}
With a curve, the speed is scaled by the affinity laws \dot V \propto n, H \propto n^2 (for a fan \Delta p \propto n^2). All the shaft power goes into the fluid.
## Heat exchanger
\dot Q = UA \cdot \Delta T_{\mathrm{lm}}, \qquad \Delta T_{\mathrm{lm}} = \frac{\Delta T_1 - \Delta T_2}{\ln(\Delta T_1/\Delta T_2)}, \qquad \dot Q = \varepsilon\, \dot Q_{\max}
## Pressure balance of a splitter
The fraction x to outlet 1 is varied, both branches are calculated, and the x at which the end pressures agree is found by the Illinois method (an improved regula falsi). More on the formulas in How the pipe pressure loss is calculated.
- Steady single-phase flow only: boiling, condensation, two-phase flow, choked flow (Mach 0.9 or more) and reverse flow are not covered.
- Pump NPSH (cavitation), valve-type characteristics and branch loss coefficients that depend on the flow ratio are not implemented (branch K values are entered per outlet).
- The Crane TP-410 coefficients (90° bends and reducers) are “to be confirmed” until checked against the source.
- When a calculation's definition changes, this page is updated too.