
modelTwoPhaseFrictionMultiplier
Extends from TRANSFORM.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
| Integer | nP | 9 | |
| Integer | nX | 12 | |
| SI.Pressure[nP] | ps | {1.01, 6.89, 34.4, 68.9, 103, 138, 172, 207, 221.2}*1e5 | |
| SIadd.NonDim[nX] | x_abs | {1, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100}/100 | |
| SI.SpecificEnthalpy[nX,9] | hs | {{Medium.bubbleEnthalpy(Medium.setSat_p(ps[j])).*(1 - x_abs[i]) + Medium.dewEnthalpy(Medium.setSat_p(ps[j])).*x_abs[i] for j in 1:nP} for i in 1:nX} | |
| Medium.ThermodynamicState[nX,nP] | states | {{Medium.setState_ph(ps[j], hs[i, j]) for j in 1:nP} for i in 1:nX} | |
Contents
| Name | Description |
Medium | |