Two-phase isopleth. Phase boundary line of a fluid at constant composition.
points stores converged saturation states in continuation order;
cps stores critical points detected along the branch.
envelope = pt_envelope_2ph(model, z, first_point)
write(*,*) envelope
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(CriticalPoint), | public, | allocatable | :: | cps(:) |
Critical points found along the line. |
||
| type(EquilibriumState), | public, | allocatable | :: | points(:) |
Each point through the line. |
Write a two-phase PT envelope using sectioned, plotting-friendly output.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PTEnvel2), | intent(in) | :: | pt2 |
Envelope result to serialize. |
||
| integer, | intent(in) | :: | unit |
Output unit number. |
||
| character(len=*), | intent(in) | :: | iotype |
Fortran formatted-I/O mode. |
||
| integer, | intent(in) | :: | v_list(:) |
Format control list supplied by the runtime. |
||
| integer, | intent(out) | :: | iostat |
I/O status returned to the runtime. |
||
| character(len=*), | intent(inout) | :: | iomsg |
I/O error message buffer. |
Write a two-phase PT envelope using sectioned, plotting-friendly output.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PTEnvel2), | intent(in) | :: | pt2 |
Envelope result to serialize. |
||
| integer, | intent(in) | :: | unit |
Output unit number. |
||
| character(len=*), | intent(in) | :: | iotype |
Fortran formatted-I/O mode. |
||
| integer, | intent(in) | :: | v_list(:) |
Format control list supplied by the runtime. |
||
| integer, | intent(out) | :: | iostat |
I/O status returned to the runtime. |
||
| character(len=*), | intent(inout) | :: | iomsg |
I/O error message buffer. |