This model extends `Flow1D2ph` by computing the
distribution of the heat transfer coefficient `gamma` and
making it available through an extended version of the
`wall` connector.

The model can be used for one-phase or two-phase water/steam flow. The heat transfer coefficient is computed according to the following hypotheses:

- If the fluid is subcooled liquid or superheated steam, Dittus-Boelter's correlation [1] is used.
- If the fluid is a two-phase mixture with a steam fraction less
than the (constant) critical value
`xCHF`, the heat transfer coefficient is computed according to Chen's correlation [2]. - If the fluid is wet steam with a steam fraction greater than
the (constant) critical value
`xCHF`, the heat transfer coefficient is computed according to Dittus-Boelter's correlation [1], by considering only the steam fraction of the mixture.

A smoothing algorithm is applied to the nodes which are in the neighbourhood of a transition boundary between non-boiling and boiling conditions, to avoid non-physical sudden changes of the nodal values of the heat transfer coefficient when the transition boundary passes through a node. The computed values of the heat transfer coefficient are thus a continuous function of the nodal enthalpies and pressures, so that it is not necessary to generate events in order to handle discontinuities

**References**

- J. C. Collier:
*Convective Boiling and Condensation*, 2nd ed.,McGraw Hill, 1981, pp. 146.

- J. C. Collier:
*Convective Boiling and Condensation*, 2nd ed.,McGraw Hill, 1981, pp. 215-220.

**Revision history:**

*24 Mar 2005*by Francesco Casella:

`FFtypes`package and`NoFriction`option added.*16 Dec 2004*by Francesco Casella:

Standard medium definition added.*1 Nov 2004*by Francesco Casella:

Equations revisited.*24 Sep 2004*by Francesco Casella:

Adapted to Modelica.Media.*11 Feb 2004*First release.

Generated at 2020-06-05T01:40:05Z by OpenModelicaOpenModelica 1.16.0~dev-442-g2e5bc9f using GenerateDoc.mos