Open Access Article
Aristotelis P. Sgouros
*a,
Konstantinos S. Gkoutis
ab,
Anthony Bocahutc,
Eléonore Mathisc and
Doros N. Theodorou
de
aTheoretical and Physical Chemistry Institute, National Hellenic Research Foundation, Vass. Constantinou 48, GR-11635 Athens, Greece. E-mail: asgouros@eie.gr
bDepartment of Materials Science, University of Patras, Patras 26504, Greece
cPolymer Physics, Specialty Polymers, Syensqo SA, Saint-Fons, Auvergne-Rhône-Alpes, France
dSchool of Chemical Engineering, National Technical University of Athens, 9 Heroon Polytechniou Street, Zografou Campus, GR-15780 Athens, Greece
eAcademy of Athens, 28 Panepistimiou Street, GR-10679 Athens, Greece
First published on 18th June 2026
Reactive polymer blends often undergo phase separation while their molecular constitution is still evolving. In such systems, stability limits and coexistence boundaries are not fixed properties of the initial mixture, but change with reaction progress, temperature, conversion, or another imposed protocol variable. This makes the interpretation and prediction of reaction-induced phase separation challenging, particularly when the components are polydisperse and the coexisting phases may differ in both composition and molecular distribution. Here we present PhaseTime, a Python framework for computing time- or protocol-dependent phase diagrams of reactive polydisperse polymer blends within Flory–Huggins-type thermodynamics. The framework combines evolving molecular-distribution models with calculations of spinodal curves, critical points, binodal curves, and cloud/shadow curves. It supports temperature- and composition-dependent interaction parameters, monodisperse reaction-dependent approximations, and polydisperse Flory–Stockmayer distributions. The framework also includes parameter fitting, diagnostic, and plotting tools through both a command-line interface and a Python API. Representative calculations demonstrate idealized phase-diagram topologies, including UCST, LCST, combined UCST/LCST, hourglass, and closed-loop behavior, as well as fitting to literature data and reaction-dependent phase behavior in monodisperse and polydisperse systems. The resulting phase diagrams provide quasi-equilibrium thermodynamic references for interpreting reaction-induced phase separation and for comparison with spatially resolved models in the fast-demixing limit.
Design, System, ApplicationPhaseTime is a Python-based computational framework that supports the design and interpretation of polymer blend formulations and processing protocols in which phase separation controls final morphology and properties such as toughness, permeability, adhesion, optical/electrical response, heat transport and flow. Instead of computing a single static phase diagram, PhaseTime follows how phase behavior evolves along a prescribed coordinate, such as time, temperature, conversion, or another processing variable. This enables formulation variables, reaction pathways, interaction models, and molecular weight distributions to be examined systematically as design parameters. The current implementation considers quasibinary blends of two homopolymeric species within a Flory–Huggins-type mean-field framework. Each species may be monodisperse or represented by a conversion-dependent molecular-size distribution, including pregelation Flory–Stockmayer distributions. At each protocol state, PhaseTime updates the molecular constitution and thermodynamic parameters, then evaluates spinodal curves, critical points, binodal curves, and cloud/shadow curves. PhaseTime generates thermodynamic design maps for reaction-induced or protocol-driven phase separation. These maps identify when formulations enter metastable or unstable regions, how coexistence compositions evolve during reaction or cooling, and how polydispersity or molecular growth modifies the accessible processing window. The resulting phase diagrams are relevant to modified thermosets, toughened polymer networks, coatings, adhesives, and membranes, and provide reference data for experiments and spatially resolved simulations. |
Knowledge of stability limits is particularly important in systems undergoing reaction-induced phase separation.2–4,8,10,16 In modified thermosetting polymers, for example, an initially homogeneous mixture may become unstable because polymerization or curing changes the molecular-weight distributions and effective interaction parameters of the system.3,4 Once the reaction path crosses the coexistence boundary, phase separation competes with the continuing reaction. The resulting morphology is therefore controlled by both the evolving thermodynamic phase diagram and the rate of demixing relative to the reaction kinetics.
If demixing is fast compared with reaction, the system may remain close to the quasi-equilibrium coexistence state at each reaction state, so that the phase diagram provides the corresponding coexisting compositions.4 Slower demixing allows the system to penetrate into the metastable region before phase separation begins, favoring nucleation and growth.4,17,18 If the reaction proceeds beyond the spinodal before appreciable demixing occurs, composition fluctuations may grow spontaneously through spinodal decomposition;4,17–19 the resulting domains may subsequently coarsen through coalescence and Ostwald ripening.20,21
Near-critical mixtures are more likely to develop co-continuous structures,22 whereas off-critical mixtures more commonly form droplet–matrix morphologies in which the lower-volume phase is usually dispersed within the higher-volume phase. Phase inversion23 may occur when changes in the coexisting-phase volume fractions cause the phase associated with the initially less abundant component to become continuous. Gelation or vitrification can further arrest demixing and preserve such non-equilibrium morphologies on the processing time scale.22,24,25 For example, Li et al.22 demonstrated that vitrification of urea-rich domains preserves a co-continuous morphology in flexible polyurethane foams.
In reactive blends, these morphological outcomes are connected to the fact that the thermodynamic phase diagram itself changes during the process. As reaction proceeds, the molecular constitution, molecular-weight distribution, interaction parameters, and phase-equilibrium conditions may evolve, so that the system follows a path through a sequence of instantaneous thermodynamic states. It is therefore useful to consider phase diagrams as functions of a reaction or processing coordinate, such as conversion, temperature, time, or another imposed protocol variable.
From this perspective, reaction- or protocol-dependent phase diagrams provide a thermodynamic reference for interpreting kinetic models of morphology formation. They identify the points along a reaction or processing path where the homogeneous state becomes metastable or unstable, and they provide the corresponding equilibrium or quasi-equilibrium coexistence information. In polydisperse systems, this information may also include changes in the molecular distributions of the coexisting phases, since fractionation can affect coexistence curves and critical behavior.
Flory–Huggins-type thermodynamics26,27 provides a common theoretical basis for describing polymer-blend phase behavior. In its classical form, the model combines a combinatorial entropy of mixing with an effective interaction parameter and offers a simple mean-field route for calculating stability limits, critical points, and coexistence curves.4 These calculations are relatively direct for monodisperse binary blends, where the thermodynamic state is described by a single composition variable. Analytical solutions have been proposed in recent years for two-component28 and multicomponent systems.29 They become more complex for polydisperse systems, where each polymeric species is represented by a distribution of molecular constituents. In such systems, phase separation can involve fractionation between coexisting phases, leading to distinct cloud and shadow curves rather than a single binary binodal. Cloud- and shadow-curve calculations for polydisperse polymer systems have been developed through several classical approaches, including the method of Kamide and co-workers,30–32 Koningsveld and Staverman,33 Šolc,34 and Mumby et al.6 These methods share the same thermodynamic basis: the cloud point is the state of a prescribed parent phase at which an infinitesimal shadow phase can coexist with it.
Existing open-access computational tools cover related parts of the problem. Web-based implementations, such as the 3PDB Flory–Huggins application35 and interactive demonstrations,36 provide accessible calculations of binary Flory–Huggins free-energy curves and phase diagrams, including spinodal and binodal information. More general open-source packages have also appeared; for example, Flory37 provides numerical tools for finding coexisting phases in multicomponent mixtures with Flory–Huggins-type free energies and related generalizations. These tools are useful for standard or generalized Flory–Huggins calculations, but they are not primarily designed for reactive or protocol-dependent polydisperse blends, and they do not provide the classical cloud- and shadow-curve calculations used for quasibinary polydisperse polymer systems. In such systems, molecular distributions, interaction parameters, stability limits, and cloud/shadow curves must be updated consistently along a reaction or processing path. This creates a more specific computational workflow, in which phase-equilibrium calculations must be coupled to evolving molecular constitution and repeated over a prescribed protocol coordinate.
The present work develops PhaseTime to address this workflow. The framework combines evolving molecular-distribution models with Flory–Huggins-type phase-equilibrium calculations, within a single Python implementation, with the cloud/shadow construction following the formulation of Mumby and coworkers.5,6 The protocol coordinate may represent time, temperature, conversion, or another externally prescribed variable, allowing stability and coexistence information to be followed along a reaction or processing path. User-defined expressions may be supplied for the evolution of temperature, T(t), and for the extents of reaction of the two species, a1(t) and a2(t). At each protocol state, PhaseTime updates the molecular constitution and thermodynamic parameters, and computes spinodal, critical, binodal, cloud, and shadow curves.
The framework is modular with respect to the main model components. The interaction parameter may include separate temperature- and composition-dependent contributions, and additional functional forms can be introduced within the same structure. The implemented temperature-dependent form38 can reproduce several common phase-diagram topologies, including UCST, LCST, combined UCST/LCST behavior, closed-loop, and hourglass-type diagrams. For strongly composition-dependent interactions,38 the framework can also identify multiple critical points and hidden coexistence branches. Molecular constitution may be represented by monodisperse reaction-dependent expressions, such as a generalized Carothers-type relation,3,4,39 or by polydisperse distributions, including the general Flory–Stockmayer distribution.40,41
The computed phase diagrams represent the quasi-equilibrium limiting case in which demixing relaxes much faster than the imposed protocol. PhaseTime does not address spatial morphology evolution directly, but describes the local thermodynamic equilibrium problem underlying phase-field or Cahn–Hilliard-type models in the rapid-relaxation limit.42–44 This makes the results useful as reference phase diagrams for interpreting experiments, benchmarking thermodynamic assumptions, and comparing with spatially resolved simulations of reaction-induced phase separation.42–46
The remainder of this article is organized as follows. Section 2 presents the theoretical and numerical framework, including the quasibinary thermodynamic formulation, Flory–Huggins free energy, interaction models, molecular-distribution functions, phase-stability and coexistence conditions, numerical solution strategy, parameter-estimation workflow, and software implementation. Section 3 demonstrates the framework through representative calculations, including idealized steady-state phase-diagram topologies, benchmark fitting to literature data, and reaction-dependent phase behavior in monodisperse and polydisperse systems. Additional derivations and implementation details are provided in the SI, including the chemical potentials, cloud-point equations and the Flory–Stockmayer distribution. The numerical results and example files used in the article are made available through the accompanying GitHub repository.47 Section 4 summarizes the main conclusions, discusses the scope and limitations of the present implementation, and outlines directions for future work.
Fig. 1 illustrates the overall workflow of the PhaseTime framework. A central feature of the formulation is the representation of the thermodynamic state through a nondimensional scalar variable, denoted here as time t, which parametrizes the progression of the system along a prescribed experimental or computational protocol. If the protocol is explicitly time-dependent, t may represent physical time scaled by a reference value, t = tphys/tref, or by a characteristic kinetic rate, for example t = ktphys for a first-order process. More generally, t is used as a path variable that identifies the instantaneous state of the blend. This formulation is particularly useful for complex processing conditions, where the phase behavior is not controlled by temperature alone, but also by the evolving molecular constitution of the constituent species.
Within this framework, each state t is associated with a set of state functions. In the present implementation, these include the temperature,
| T = T(t) |
| a1 = a1(t), a2 = a2(t). |
Isobaric conditions are assumed. It is further assumed that mass transport is fast relative to the chemical reactions, so that the system composition remains homogeneous, at least prior to phase separation. Accordingly, the thermodynamic state is taken to adjust instantaneously to the composition changes induced by the reaction process. Each one of the species 1 and 2 is considered as being derived from type-1 and type-2 monomers, respectively. Each monomer type may participate in chemical reactions with itself or with other constituents, forming new molecular constituents. However, no molecular constituents are derived jointly from both monomers 1 and 2. Typically, species 1 and 2 correspond to homopolymers of arbitrary architecture, formed by either step-reaction or chain polymerization (see sections 2.3 and 2.4). For given pressure and initial mixture composition, the quantities T(t), a1(t), a2(t) define the instantaneous thermodynamic and molecular state of the system; more generally, the state vector may be written as
| s(t) = {T(t), a1(t), a2(t)} |
This protocol-based representation decouples the description of the experimental pathway from the underlying thermodynamic formalism. As a result, the same workflow can be applied to a wide range of scenarios, including isothermal reactive systems, nonreactive blends under temperature ramps, and coupled thermo-chemical protocols in which temperature and conversion evolve simultaneously. The state functions can be prescribed through arbitrary analytical expressions, thereby enabling flexible emulation of experimentally relevant schedules.
For each sampled state t, the framework evaluates the molecular distributions of products derived from the two species, the corresponding interaction parameter χ, and the thermodynamic conditions required for stability and phase equilibrium. In general, the interaction parameter may depend on temperature and/or composition through the protocol-dependent variables. Thus, the generalized parametrization by t provides a convenient means of tracing phase boundaries along arbitrary state trajectories without reformulating the thermodynamic problem for each specific protocol.
An important consequence of this formulation is that the resulting phase diagrams need not be restricted to the conventional temperature-composition representation. Since each point on a phase boundary is indexed by t, the vertical coordinate may be expressed in terms of any state-dependent quantity derived from the protocol, such as T, a1, a2, or χ. Likewise, composition may be represented using either φ1 or φ2. This flexibility allows the framework to generate phase diagrams in forms most appropriate for the system under study and the available experimental observables.
After prescribing a window of the generalized state variable t, at each point of the corresponding grid, the framework constructs the thermodynamic state of the system and evaluates the governing relations for phase stability and phase equilibrium. This enables the computation of spinodal curves, critical points, and coexistence boundaries, including the binodal in monodisperse blends and the cloud-point and shadow-point curves in polydisperse systems. The resulting sequence of states provides a unified description of phase behavior along the prescribed pathway, thereby enabling both prediction and direct comparison with experimental phase diagrams obtained under nontrivial processing conditions.
The framework supports fitting of model parameters to experimental phase-diagram data, including spinodal and coexistence curves, enabling both predictive modeling and quantitative interpretation of experimental phase behavior.
The framework is available both as a command-line workflow (CLI) and as a Python application programming interface (API). The command-line interface supports evaluation, fitting, residual diagnostics, plotting, and curve segmentation, while the Python API provides direct access to the underlying models and workflows through library imports. This dual design allows the framework to function both as an end-user tool and as a flexible library for custom scripting and method development.
![]() | (1) |
![]() | (2) |
![]() | (3) |
![]() | (4) |
![]() | (5) |
![]() | (6) |
![]() | (7) |
![]() | (8) |
| χ = g − gφφ1 | (9) |
Upon integrating eqn (9),
![]() | (10) |
![]() | (11) |
![]() | (12) |
![]() | (13) |
![]() | (14) |
![]() | (15) |
We can reexpress eqn (13) and (14) in terms of χ(T,φ2) as follows:
![]() | (16) |
![]() | (17) |
| χ(T,φ2) = D(T)B(φ2) | (18) |
| B(φ2) = b0 + b1φ2 + b2φ22 | (19) |
![]() | (20) |
which satisfies the relation in eqn (9).
![]() | (21) |
In addition, we consider the following polynomial representation:
![]() | (22) |
First, the framework implements a generalized Carothers-type expression in which the effective degree of polymerization is expressed as a function of the extent of reaction ac of species c, according to:
![]() | (23) |
This relation has been employed to represent the evolution of the number-average molar mass in the polycondensation of a stoichiometric diepoxy-diamine mixture upon setting γc = 4/3.3,4 As such, it offers a simple analytical description of molecular growth and is especially useful in reduced reactive models, wherein the evolving molecular constitution is approximated by a single effective chain.
Second, the framework includes a monodisperse approximation of the Flory–Stockmayer description, where the full distribution is replaced by a single representative chain size identified with its analytically derived weight-average degree of polymerization, Nw. This approximation retains part of the conversion dependence implied by the underlying polymerization model, while avoiding the explicit treatment of the full chain-size distribution.
These monodisperse representations offer a computationally efficient route for coupling reaction progress to phase behavior, and are especially useful when the main objective is to capture the dominant shift of the phase boundaries with conversion rather than the full effect of polydispersity.
For a given protocol state, the Flory–Stockmayer model40,41 generates a discrete set of molecular constituents with reduced chain sizes Nk and normalized volume-fraction weights wk. These quantities are then passed directly to the quasibinary Flory–Huggins formulation. Consequently, the evolving molecular distribution affects the entropy of mixing, the phase-stability conditions, and the coexistence boundaries. This representation therefore goes beyond an effective-chain approximation by retaining the explicit contribution of the molecular-size distribution at each state of the reaction protocol.
The moment evaluation follows the notation by Macosko & Miller49 and Odle et al.,50 in conjunction with the extensions proposed by Bachmann and Bendler,51 originally formulated for molecular-weight averages of cross-linked copolymers and branched polycondensates.40,41 In PhaseTime, the same algebra is used after replacing molecular weights by reduced molecular volumes in Flory–Huggins lattice units. Thus, the resulting averages are interpreted as number-, weight-, and z-average reduced chain sizes, rather than true molar-mass averages.
The moments of the volume-weighted distribution are defined as
![]() | (24) |
![]() | (25) |
The full Flory–Stockmayer distribution is infinite and must be represented numerically by a finite molecular population. The framework therefore constructs the distribution by enumerating molecular species up to prescribed precursor multiplicities and by discarding species whose relative volume fraction falls below a defined cutoff.
This finite representation is meaningful on the pre-gel side of the Flory–Stockmayer gel point. As the gel point is approached, the molecular-size distribution develops an increasingly extended long-chain tail and the analytical moments become singular; see sections S3.4 and S3.8 (SI). Consequently, increasingly large precursor multiplicities are required to represent the distribution accurately.
Since this truncation may remove a non-negligible contribution from the long-chain tail, an optional moment-correction procedure is provided. In this correction, effective tail species are introduced so that the analytical values of M−1, M0, M1, and M2 are restored. This preserves Ncn, Ncw, and Ncz of the full distribution while retaining a finite and computationally tractable representation of the molecular population.
In the illustrative protocol considered here, temperature is prescribed as a function of nondimensionalized time as
![]() | (26) |
![]() | (27) |
Fig. 2c shows the prescribed evolution of T(t) and a1(t), while Fig. 2d shows the corresponding evolution of the number-, weight-, and z-average degrees of polymerization, for species 1. The aforementioned quantities define the instantaneous state of the system at each value of t.
![]() | ||
| Fig. 2 Phase behavior under a prescribed protocol. Panels (a and b) show phase diagrams in the (φ2, t) plane for the polydisperse system and its monodisperse counterpart, respectively. In both cases, the spinodal (black line) is identical, whereas the coexistence behavior differs: in the polydisperse system, distinct cloud and shadow curves are obtained (dashed and dot-dashed lines, respectively), which intersect the spinodal at the critical point (star); in the monodisperse limit, these curves collapse into a single binodal with α and β denoting its low-φ2 and high-φ2 branches, respectively. The cloud branches in panel (a) are denoted by α′ and β′, and the corresponding shadow branches by α″ and β″, respectively. Panel (c) shows the evolution of T(t) and a1(t) and panel (d) the resulting number-, weight-, and z-average degrees of polymerization of species 1. The phase diagrams were computed and visualized using PhaseTime (based on Matplotlib). Additional curves were plotted using Veusz.52 Final figures were post-processed with Photopea.53 | ||
To isolate the effect of polydispersity on phase behavior, we compare two systems. In the first, species 1 is described by the full Flory–Stockmayer distribution. In the second, species 1 is represented by a monodisperse approximation with degree of polymerization equal to the instantaneous weight-average value, N1 = N1w, dictated by the corresponding Flory–Stockmayer distribution. This comparison is particularly useful, because the spinodal depends only on the weight-average degrees of polymerization and is therefore identical in the two cases, whereas the coexistence curves differ due to the presence/absence of polydispersity.
Fig. 2a and b present the resulting phase diagrams in the (φ2, t) plane. Although the vertical axis is expressed in terms of t, each point on the diagram corresponds to a specific thermodynamic state defined by the imposed temperature and reaction protocol. Both diagrams exhibit stable, metastable, and unstable regions, indicated by the different shades. The boundary between the unstable and metastable regions is defined by the spinodal (thick black line), while the boundary between the metastable and stable regions is determined by the coexistence conditions.
In the polydisperse system, the onset of phase separation is described by the cloud-point curve (dashed line), while the corresponding shadow-point curve (dot-dashed line) gives the composition of the infinitesimal coexisting phase that first appears at the cloud point. These curves meet the spinodal at the critical point (star). In contrast, for the monodisperse reference system, the cloud and shadow curves collapse into a single curve, the binodal. The side-by-side comparison therefore highlights directly the effect of polydispersity on phase equilibrium, while preserving the same underlying spinodal boundary.
Hereafter, coexistence quantities are grouped into an α-family and a β-family, corresponding to the low-φ2 and high-φ2 sides of the diagram, respectively. For monodisperse systems, the binodal branches are denoted simply by α and β, accordingly; quantities associated with these branches are identified by the superscripts (α) and (β), respectively. For polydisperse systems, quantities associated with the cloud phase are denoted by a prime superscript (x′), whereas those associated with the shadow phase are denoted by a double-prime superscript (x″), following the notation in ref. 7. Thus, α′ and β′ in Fig. 2a denote the cloud branches, while α″ and β″ denote the corresponding shadow branches.
![]() | (28) |
In the present comparison, the spinodal is identical for the polydisperse system and for its monodisperse N1 = N1w counterpart, since the spinodal depends only on the weight-average degrees of polymerization of the two species (cf. Fig. 2a and b).
| Y′ = 0 | (29) |
![]() | (30) |
The critical point observed in the phase diagram is therefore a particular point on this critical line, corresponding to the state at which the coexistence boundary intersects the spinodal. The full critical line, however, provides a more complete description, since it reveals how the critical composition evolves as the molecular constitution of species 1 changes during the protocol. In the present case, this evolution reflects the coupled effects of the imposed thermal pathway and the conversion-dependent changes in the Flory–Stockmayer distribution.
Comparison of the polydisperse system with its monodisperse reference counterpart further clarifies the role of polydispersity. Although the two systems share the same spinodal, because this depends on the weight-average degrees of polymerization, their critical lines do not in general coincide; cf. Fig. 2a and b. The difference arises from the coexistence conditions, which are altered by the full molecular distribution in the polydisperse case. The critical lines shown in the phase diagrams therefore provide a direct visualization of how polydispersity shifts the location of criticality, beyond its effect on the coexistence branches themselves. In the monodisperse limit, however, the critical point coincides with the extremum of the spinodal curve, reflecting the fact that the coexistence and stability boundaries become tangential at that point.
Note that, for the special case in which the interaction parameter is composition-independent, the extremum and the critical composition of a quasibinary polydisperse blend admit the following analytical expressions,
![]() | (31) |
![]() | (32) |
![]() | (33) |
![]() | (34) |
![]() | (35) |
![]() | (36) |
![]() | (37) |
![]() | (38) |
At the cloud point, one of the coexisting phases coincides with the pre-existing homogeneous parent phase, here termed the principal phase, whose molecular distribution is known. The composition of the second, infinitesimal shadow phase can then be obtained from the partitioning relations. As a result, the full many-constituent coexistence problem collapses to a reduced system involving the state variable, the total composition of the principal phase, and the separation factors. In particular, substituting eqn (37) and (38) into eqn (35) and (36) yields the following system of equations:
![]() | (39) |
![]() | (40) |
We note that the sign in eqn (39) is opposite to that reported in ref. 6 and 7; this discrepancy may arise from a difference in notation or a typographical error in the original expressions. An analytical derivation of eqn (39) and (40) is provided in section S2 (SI).
In the present protocol-dependent formulation, these coexistence conditions are evaluated at each prescribed state t, with the molecular distribution of species 1 determined by the corresponding reaction extent. The cloud and shadow branches shown in Fig. 2a therefore represent the onset of demixing and the composition of the associated incipient phase, respectively, along the imposed thermo-reactive pathway. Their intersection with the spinodal identifies the critical point, while comparison with the monodisperse reference system in Fig. 2b illustrates that, in the absence of polydispersity, the cloud and shadow curves collapse into a single binodal curve. This comparison highlights directly the role of polydispersity in broadening the coexistence description from a single binodal into distinct cloud and shadow branches.
All phase-boundary calculations are performed from these protocol-defined states. Depending on the requested outputs, PhaseTime evaluates the spinodal, critical features, binodal (monodisperse approximation), and cloud/shadow branches in a modular manner, and subsequently assembles the resulting data into phase-boundary datasets.
Thereafter follows the determination of the stationary points of this function, i.e. the compositions at which
![]() | (41) |
In case the protocol-defined interaction parameter satisfies
| χ(t) ≥ χsp,min(t), |
| χsp,min(t) − χ(t) = 0 | (42) |
| χcrit(t) − χ(t) = 0 | (43) |
| r1(φ(α)2,φ(β)2) = Δμ(α)1 − Δμ(β)1 | (44) |
| r2(φ(α)2,φ(β)2) = Δμ(α)2 − Δμ(β)2 | (45) |
Initial coexistence pairs may be generated in three ways: i) by scanning a two-dimensional composition grid, ii) by applying prescribed offsets to the local spinodal roots, or iii) by direct specification. In the scan-based approach, the search domain can be substantially reduced without loss of distinct coexistence solutions by excluding the trivial diagonal and the spinodally unstable region (see Fig. 3).
![]() | ||
| Fig. 3 Residual landscape of the binodal eqn (44) and (45), F(φ(α)2,φ(β)2) = 0.5(r12 + r22), evaluated across the (φ(α)2,φ(β)2) grid at a representative protocol state (t = 60, Fig. 2b). Thick solid lines indicate the spinodal compositions. The symmetry about the diagonal φ(α)2 = φ(β)2 reflects the trivial solutions, while the dashed green rectangle marks the reduced domain used for initialization of the binodal search, excluding both symmetric duplicates and the spinodally unstable region. The red circles mark the non-trivial zeros for (φ(α)2,φ(β)2) = {(0.13,0.32), (0.32,0.13)}. | ||
Each accepted seed is then continued forward and/or backward in t by using the previously converged coexistence pair as the initial guess at the next protocol state. If convergence fails, the continuation step is reduced adaptively until the solution is recovered or a minimum step size is reached. Starting states may also be introduced automatically from intermediate locations between special points (extrema and critical spinodal points and protocol boundaries), thereby improving branch detection over the full protocol range. The final binodal dataset is assembled from all successful continuation traces.
, and an auxiliary reweighting parameter, σ2, from which the infinitesimal shadow phase is reconstructed. Here,
and
denote the normalized chain-size fractions of species 1 and 2 in the parent phase, whereas
and
denote the corresponding fractions in the shadow phase; see eqn (4).For species 2, the shadow molecular-weight distribution is obtained by exponential reweighting of the parent distribution,
For a trial value of
, the shadow phase is reconstructed self-consistently by first evaluating
, then determining σ1 from the first cloud eqn (39), and finally obtaining the shadow distribution and composition of species 1. In detail, σ1 is eliminated from eqn (39) as follows:
![]() | (46) |
![]() | (47) |
![]() | (48) |
for which both residuals vanish. Numerically, the nonlinear system is solved by bounded least-squares optimization.55,56 Accepted solutions are required to satisfy successful evaluation of the cloud equations, numerical convergence of the optimizer, finite separation between cloud and shadow compositions in order to exclude the trivial solution, and equality of the constituent chemical potentials between parent and shadow phases within a prescribed tolerance.
As in the binodal calculation, the procedure is initialized from one or more starting points at selected protocol states. These starting points may be obtained either from a scan over
or from direct user specification. In the scan-based initialization, candidate solutions are sought separately on the low- and high-composition sides of the critical composition, and only admissible converged solutions are retained; e.g., see Fig. 4. Each accepted seed is then continued forward and/or backward along the generalized state variable t by reusing the previously converged
pair as the initial guess at the next state. If convergence fails, the continuation step is reduced adaptively until the solution is recovered or a minimum step size is reached. At each successful step, the cloud-point composition of the parent phase and the corresponding shadow-point composition of the infinitesimal phase are recorded separately, yielding paired cloud and shadow branches along the protocol.
![]() | ||
Fig. 4 Residual landscape, from eqn (47) and (48) on grid at a representative protocol state (t = 60, Fig. 2a). Thick solid lines indicate the spinodal compositions. The line σ2 = 0 corresponds to the trivial solution where , while the dashed green rectangles mark the optimal reduced domains for scan-based initializations after exclusion of the spinodally unstable region. Red circles denote the non-trivial zeros of the cloud residuals for this protocol state, . | ||
The present model does not explicitly describe polymer stiffness, chain flexibility, persistence length, orientational ordering, or conformation-dependent entropy. Stiffness-induced effects may be incorporated only phenomenologically, for example through an effective Flory–Huggins interaction parameter as proposed for stiffness-mismatched blends by Kozuch et al.57 However, the present formulation cannot predict phase separation driven directly by conformational or orientational degrees of freedom, such as the nematic unmixing of semiflexible polymers reported by Milchev et al.58 Such effects would require an extended free-energy model with explicit conformational, orientational, or architecture-dependent contributions.
The current implementation is restricted to quasibinary blends in which the two polymeric species remain distinct. Molecular growth may occur within each species, but the framework does not generate copolymer molecules containing units from both species 1 and 2. A fixed-composition copolymer could be treated phenomenologically as an effective component with fitted parameters, but this would not generally be transferable to other compositions or architectures. Explicit random, block, graft, or reactive copolymer formation would require both an extended distribution model and a corresponding free-energy description that tracks copolymer composition and architecture.59 Furthermore, the implemented distribution models do not explicitly account for intramolecular cyclization or cyclic polymer species. In particular, the Flory–Stockmayer distribution assumes tree-like branching40,41 and is appropriate only when ring formation is negligible or can be absorbed into effective distribution parameters. More refined distribution models could in principle be incorporated into the framework,60,61 but cyclization-corrected distributions are not included in the present implementation.
The use of a single reference volume is part of the coarse-grained lattice approximation. The reference volume Vref defines reduced chain sizes, Ni = Vi/Vref. Its numerical choice is not unique; changes in Vref can be absorbed by the corresponding rescaling or refitting of the interaction parameter. Thus, blends with different molecular or segment sizes can be treated phenomenologically. However, in doing so, size and packing effects are represented through reduced chain sizes and effective interaction parameters, rather than through an explicit microscopic packing description.
Finally, the present formulation is built upon the incompressibility constraint (φ1 + φ2 = 1) which is appropriate for dense polymer blends and melts where volume changes upon mixing and pressure-volume effects are small. Deviations from incompressibility, such as density changes, free-volume effects, or pressure-dependent miscibility, may be treated phenomenologically to some extent through fitted effective interaction parameters. Nevertheless, the model does not include an explicit density or free-volume degree of freedom; systems in which compressibility or volume changes are central would therefore require a compressible extension, for example through an equation-of-state description.
For representative sub-micron/micron morphologies, l = 0.1–1 μm,65 and polymeric diffusion coefficients Drel = 10−14–10−12 m2 s−1, τdemix is approximately 10−2–102 s. For slower diffusion, Drel = 10−16–10−15 m2 s−1, relaxation over the same length scales can range from seconds to hours. Thus, the quasi-equilibrium approximation is system- and protocol-dependent and may fail near vitrification, gelation, or late-stage curing. In such cases, the present calculations should be used as a thermodynamic reference for kinetic reaction–diffusion treatments and for phase-field models describing steady-state and reaction-induced phase separation (RIPS).
is preprocessed once prior to optimization and, where required, decomposed into Nexpb distinct single-valued t(φ2) segments, to enable comparison of multibranch phase boundaries. Details of the segmentation algorithm are given in section S4 (SI).For each trial parameter vector θ, the model is reconstructed and the target phase boundary is reevaluated over the prescribed grid of the generalized state variable t, augmented with the experimental t-values. The computed phase boundary is then decomposed into Nmodb single-valued branches and compared with the experimental dataset. For each matched branch pair, the comparison is restricted to their common composition interval, and both branches, represented as t(φ2), are linearly interpolated onto a shared set of φ2-evaluation points. The branchwise mismatch is then defined as the mean squared normalized residual in t, while an additional penalty is introduced when the computed branch does not cover the full experimental composition span. Solutions that yield a different number of branches than the experimental dataset, or otherwise fail during evaluation, are assigned a large penalty value Λ.
In the present implementation, we introduce a normalization factor st based on a global characteristic scale of the experimental dataset, taken as the overall span of the generalized state variable t across the full dataset:
| st = max texp − min texp |
The corresponding objective function may be written as
![]() | (49) |
The branchwise shape mismatch is defined as
expk,i and
modk,i are the experimental and computed values obtained by linear interpolation onto the common composition grid. The termThe composition- and temperature-dependent parts of the interaction parameter are implemented through separate abstract model hierarchies with registry-based construction. New model forms can therefore be introduced by defining and registering an additional subclass, without changing the higher-level evaluation workflow. Molecular distributions are handled analogously through dedicated distribution functions operating on a common polymer representation with cached molecular-weight averages.
This organization promotes extensibility, code reuse, and consistency across evaluation, fitting, and diagnostic tasks, and facilitates the incorporation of additional constitutive relations or numerical procedures as the framework evolves.
In routine use, PhaseTime is configured through an external YAML input file that specifies the thermodynamic model, molecular distributions, protocol functions, state grid, and numerical settings. This configuration-driven structure separates model specification from execution and supports reproducible calculations.
000. Units: d1/K
| Case | b1 | b2 | d0 | d1 | d2 | Type |
|---|---|---|---|---|---|---|
| a | 0 | 0 | 0.013 | −2.01 | 0 | LCST |
| b | 0.01 | 0.001 | 0.013 | −2.01 | 0 | LCST |
| c | 0.01 | 0.001 | 0 | 2.01 | 0 | UCST |
| d | 0.01 | 0.001 | −0.03487 | 2.01 | 0.006 | UCST + LCST |
| e | 0.01 | 0.001 | −0.03435 | 2.01 | 0.006 | Hourglass |
| f | 0.01 | 0.001 | 0.047 | −2.01 | −0.006 | Closed-loop |
The topology is governed mainly by the signs of d1 and d2.38 For d2 = 0, d1 > 0 gives UCST behaviour, whereas d1 < 0 gives LCST behaviour. When d2 ≠ 0, the additional temperature dependence permits nonmonotonic coexistence: d1 > 0, d2 > 0 yields combined UCST-LCST or hourglass topologies, whereas d1 < 0, d2 < 0 produces a closed loop. Thus, d1 sets the primary temperature trend of the interaction parameter, and d2 controls its curvature. The calculated phase diagrams are shown in Fig. 5 and follow these expected trends.
![]() | ||
Fig. 5 Calculated phase diagrams for monodisperse blends with N1 = 100 and N2 = 10 000. Panel labels correspond to the cases listed in Table 1. | ||
It should be noted that the coefficients controlling the strength of the composition-dependent term, b1 and b2, are small in Table 1. This is illustrated by the case in Fig. 5a with no composition dependence, which is very similar to its composition-dependent counterpart in Fig. 5b. Therefore, in the following, we will showcase an example with interaction parameters which are strongly composition-dependent, leading to exotic behavior which can be found in quasibinary systems.
Depending on the functional form of the interaction parameter, the critical-point equations may admit multiple solutions. This possibility is illustrated in Fig. 6 for a symmetric monodisperse blend with N1 = N2 = 10 and
| χ(t,φ2) = tB(φ2), B(φ2) = 1 − 3φ2 + 2.8φ22 | (50) |
![]() | ||
| Fig. 6 Phase behavior of a symmetric monodisperse blend with N1 = N2 = 10 and interaction parameter from eqn (50). The prefactor t ≡ D(T) is used as a generalized interaction-strength variable. The spinodal exhibits three critical points, corresponding to two local minima and one local maximum. Multiple common-tangent branches are obtained from the coexistence equations; the globally stable binodal is selected by the lower-convex-envelope criterion, while the additional branch corresponds to hidden/local coexistence. | ||
The coexistence equations consequently admit multiple common-tangent branches. However, these branches are not all thermodynamically equivalent. The physically stable binodal is the branch whose tie lines form supporting lines of the free-energy density, or equivalently the branch selected by the lower convex envelope of fm(φ2; t). Additional branches may satisfy the local common-tangent equations, but are preempted by the globally stable two-phase state and should therefore be interpreted as hidden or local coexistence branches rather than equilibrium binodals.
This distinction is clarified in Fig. 7, which shows the corresponding free-energy density fm(φ2; t) at selected values of t, together with the relevant tangent constructions. At the lowest critical point, t = 0.31, the globally stable tie line has collapsed to a single tangent at φ2,c = 0.82. For a nearby value inside the coexistence region, e.g. t = 0.50, a finite common tangent connects two distinct coexisting compositions and forms a supporting line of the free-energy curve. This is the usual equilibrium binodal construction.
![]() | ||
| Fig. 7 Free-energy density fm(φ2, t) from eqn (8) for the model shown in Fig. 6. Orange curves show fm(φ2, t), and blue lines show the corresponding tangent constructions. Vertical dashed/dotted lines mark the compositions of global/hidden critical or coexistence points. At t = 0.31, the stable tie line collapses to the lower critical point, while at t = 0.50 a finite supporting common tangent defines the stable binodal. At t = 0.87 and t = 2.17, the dashed blue lines show collapsed tangents associated with hidden critical points, whereas the solid blue lines indicate the globally stable supporting tangents. Only the latter form the lower convex envelope and correspond to the equilibrium binodal. | ||
At t = 0.87, the local inner branch reaches a critical point at φ2,c = 0.14, so its tie line collapses to a tangent at that composition. However, the same free-energy curve also admits a lower outer supporting tangent connecting compositions close to the composition boundaries. Therefore, the local critical point is hidden by the globally stable two-phase state. The same interpretation applies at t = 2.17, where the upper local critical point at φ2,c = 0.39 corresponds to a collapsed tangent of the hidden branch, while the globally stable coexistence is still determined by the outer supporting line.
Thus, the presence of three critical points does not imply three independent globally stable binodals. Rather, the coexistence equations define several local common-tangent branches, and the physical binodal is obtained only after applying the convex-envelope criterion. This provides a direct numerical validation that the additional branches are genuine roots of the coexistence equations, but not all of them correspond to equilibrium phase boundaries.
| Case | M1 | ρ1 | V1 | M2 | ρ2 | V2 | Description |
|---|---|---|---|---|---|---|---|
| PVME_PS62k | 75 000 |
1.000 | 75 000 |
62 000 |
1.000 | 62 000 |
LCST (bn)69 |
| PVME_PS100k | 75 000 |
1.000 | 75 000 |
100 000 |
1.000 | 100 000 |
LCST (bn)69 |
| PVME_PSD_L | 389 000 |
0.983 (ref. 38 and 73) | 395 727 |
230 000 |
1.092 (ref. 38 and 74) | 210 623 |
LCST (sp)68 |
| PVME_PSD_H | 593 000 |
0.983 (ref. 38 and 73) | 603 255 |
1 100 000 |
1.092 (ref. 38 and 74) | 1 007 326 |
LCST (sp)68 |
| PBD_DPBD | 135 000 |
0.884 (ref. 70) | 152 715 |
134 000 |
0.982 (ref. 70) | 136 456 |
UCST (sp)70 |
| acetone_PS5k | 58 | 0.7845 (ref. 75) | 74 | 4800 | 1.060 (ref. 76) | 4528 | LCST + UCST (bn)71 |
| acetone_PS20k | 58 | 0.7845 (ref. 75) | 74 | 19 800 |
1.060 (ref. 76) | 18 679 |
Hourglass (bn)71 |
| water_PVA | 18 | 1.000 | 18 | 140 000 |
1.300 (ref. 77) | 107 692 |
Loop (bn)72 |
The digitized78 phase-boundary data were refitted using an effective monodisperse description of each component. Molecular weights, mass densities, and related system properties were taken from the original articles and references therein, where available. However, the reference volume Vref used to define the Flory–Huggins segment scale was not reported in ref. 38. Therefore, the chain sizes were recalculated using the reference volumes listed in Table 2, according to
![]() | (51) |
For systems where specific density values or reference volumes could not be identified, representative density values were assigned from the literature; in the absence of more specific information, a density of 1 g cm−3 was used. The reference volume affects the numerical scale of the fitted interaction parameters but not the phase boundary itself, provided the fitted coefficients are rescaled consistently. The adopted reference volumes, resulting chain sizes, and fitted interaction-parameter coefficients are reported in Table 3.
| System | Vref | N1 | N2 | b1 | b2 | d0 | d1 | d2 |
|---|---|---|---|---|---|---|---|---|
| PVME_PS62k | 58.08 | 1291 | 1067 | −3.640 × 10−1 | 0 | 1.709 × 10−2 | −6.000 | 0 |
| PVME_PS100k | 58.08 | 1291 | 1722 | −3.640 × 10−1 | 0 | 1.709 × 10−2 | −6.000 | 0 |
| PVME_PSD_L | 59.08 | 6698 | 3565 | −1.605 | 8.444 × 10−1 | 4.098 × 10−2 | −1.673 × 10 | 0 |
| PVME_PSD_H | 59.08 | 10 210 |
17 049 |
−1.706 | 9.851 × 10−1 | 2.027 × 10−2 | −8.433 | 0 |
| PBD_DPBD | 61.10 | 2499 | 2233 | −5.284 × 10−1 | 2.114 × 10−1 | 8.988 × 10−5 | 2.480 × 10−1 | 0 |
| acetone_PS5k | 74.03 | 1 | 61 | 2.031 × 10−1 | 0 | −6.799 | 3.524 × 102 | 1.083 |
| acetone_PS20k | 74.03 | 1 | 252 | 6.962 × 10−1 | 0 | −7.009 | 3.753 × 102 | 1.103 |
| water_PVA | 18.02 | 1 | 6000 | 6.542 × 10−1 | 0 | 2.589 | −1.120 × 102 | −3.012 × 10−1 |
Fig. 8 compares the fitted monodisperse PhaseTime curves with experimental phase boundaries for PVME-based blends. Fig. 8a shows spinodal data for two poly(vinyl methyl ether)/deuterated polystyrene blends, denoted PVME_PSD_L and PVME_PSD_H, which differ in molecular weight and polydispersity;38,68 the L system is characterized by lower molecular weights and narrower molecular-weight distributions, whereas the H system involves higher molecular weights and broader distributions, particularly in PSD.38 The effective monodisperse representation captures the location and curvature of both reported spinodal boundaries. Fig. 8b shows the corresponding fits to binodal data for poly(vinyl methyl ether)/polystyrene blends with two different polystyrene molecular weights, PVME_PS62k and PVME_PS100k.69 In both cases, the fitted curves closely follow the experimental coexistence boundaries.
![]() | ||
| Fig. 8 Experimental phase boundaries and corresponding monodisperse PhaseTime fits for PVME-based blends: (a) spinodal curves of PVME_PSD_L and PVME_PSD_H; (b) binodal curves of PVME_PS62k and PVME_PS100k. Fitted model parameters are listed in Table 3. | ||
Fig. 9 shows the fitted PhaseTime spinodal curve for the deuterated polybutadiene/protonated polybutadiene blend PBD_DPBD, which exhibits UCST behaviour.70 The fitted monodisperse model captures the reported spinodal boundary for this chemically distinct blend.
![]() | ||
| Fig. 9 Experimental spinodal data and corresponding PhaseTime fit for the deuterated polybutadiene/protonated polybutadiene blend PBD_DPBD, exhibiting UCST behaviour. Fitted model parameters are listed in Table 3. | ||
Fig. 10 shows the phase diagrams of acetone/polystyrene blends with two different polystyrene molecular weights.71 This system displays more complex phase behaviour that depends strongly on the chain size of polystyrene. For the lower-molecular-weight case, acetone_PS5k, the phase diagram exhibits combined LCST–UCST behaviour; see Fig. 10a. Increasing the polystyrene molecular weight to approximately 20 kDa changes the topology to an hourglass-shaped phase diagram. The fitted PhaseTime curves reproduce both the change in topology and the main features of the experimental binodal boundaries.
![]() | ||
| Fig. 10 Experimental binodal curves and corresponding PhaseTime fits for acetone/polystyrene blends with different polystyrene molecular weights: (a) acetone_PS5k, showing combined LCST-UCST behaviour; (b) acetone_PS20k, showing hourglass behaviour. Fitted model parameters are listed in Table 3. | ||
Fig. 11 shows the fitted PhaseTime binodal curve for the water/PVA system, which exhibits closed-loop phase behaviour.72 Compared with the previous examples, this system presents a more intricate coexistence topology, with both upper and lower bounds of immiscibility. The fitted model captures the closed-loop boundary, demonstrating that the same thermodynamic and numerical framework can represent nonmonotonic phase behaviour across chemically diverse systems.
![]() | ||
| Fig. 11 Experimental binodal curve and corresponding PhaseTime fit for the water/PVA system, exhibiting closed-loop phase behaviour. Fitted model parameters are listed in Table 3. | ||
Overall, these results show that the effective monodisperse formulation can reproduce a wide range of experimental phase-boundary topologies with high accuracy after case-specific fitting. The fitted coefficients, however, should be viewed as system-dependent effective parameters rather than transferable descriptors, since the effects of molecular-weight distribution are absorbed implicitly into the fit. The monodisperse description thus provides only a reduced representation of the molecular constitution, whereas an explicit polydisperse treatment is expected to be more transferable across systems with different dispersities and is essential when fractionation, cloud-shadow asymmetry, or reaction-induced evolution of the molecular-weight distribution must be described.7
The system consists of a DGEBA-based diepoxide, a stoichiometric amount of the diamine hardener (3DCM), and a rubber phase based on a statistical copolymer of butadiene and acrylonitrile. In the present representation, the rubber is assigned a fixed chain size of N2 = 13.73, while the interaction parameter is taken as χ = 0.63 ± 0.03 at 348 K, as reported from fitting cloud-point conversion data.3 The evolution of the epoxy chain size N1(a1) is described by the Carothers-type relation in eqn (23), using γc = 4/3.
The corresponding phase diagram is shown in Fig. 12 in composition–reaction coordinates. At low extent of reaction a1, the blend remains in the single-phase region, whereas phase separation is induced as the reaction proceeds and the effective molecular weight of the epoxy increases. According to the present calculation, the critical point is located at (φ2, a1) = (0.24, 0.205), in agreement with the value reported by Williams et al.4
As a representative test case, species 2 is taken to be monodisperse with degree of polymerization N2 = 20, whereas species 1 evolves according to a Flory–Stockmayer chain-size distribution. At the initial state, a1(t = 0) = 0, species 1 consists of two monomeric precursor classes: A-type molecules with relative concentration Afi = 0.4, functionality fi = 3, and reduced molecular volume NAi = 0.5; and B-type molecules with relative concentration Bgj = 0.6, functionality gj = 2, and reduced molecular volume NBj = 0.8, whereas constituents with relative volume-fraction contributions below wmin = 10−9 were omitted; for a detailed description refer to section S3.3 (SI). Throughout the protocol, the temperature is held constant at T = 450 K, while the extent of reaction increases linearly according to a1(t) = 0.4t/100. Here, χ is composition-independent, and follows eqn (21) with d0 = 0.76, d1 = −117 K and d2 = 0 yielding LCST behavior.
As the reaction proceeds, the Flory–Stockmayer distribution broadens substantially and, at the gel point, develops an infinite tail. In practice, the discrete distribution must therefore be truncated at a finite maximum chain size. If the cutoff is too low, omission of the long-chain tail may distort the predicted phase behaviour. To reduce this error, a moment-matching correction is introduced through additional effective chain lengths, such that the moments N1n, N1w, and N1z of the truncated distribution are restored to their analytical Flory–Stockmayer values. Details of this procedure are given in sections S3.6–S3.9 (SI).
The resulting phase diagram is shown in Fig. 13 in reaction-composition coordinates. Panel (a) shows the cloud curves together with the corresponding spinodal, critical line, and critical point, while panel (b) shows the associated shadow curves. Results are presented for multiplicity values of nmax = mmax = 5, 10, 20, and 40, with moment matching applied in all cases.
As the cutoff increases, the cloud and shadow curves broaden and approach convergence, whereas smaller cutoffs lead to progressively narrower coexistence regions. The effect is most evident on the right branch of the cloud curve, while the left branch is only minimally affected. By contrast, the shadow curves change only weakly with cutoff. In particular, the left shadow branch, although expected to be more sensitive, occurs at very low volume fractions, so the corresponding differences are barely visible. For comparison, the corresponding monodisperse binodal is significantly narrower, highlighting the effect of explicit polydispersity on the predicted phase boundary.
Because the moment-matching correction restores the N1n, N1w, and N1z exactly, the spinodal and critical quantities are unchanged by the cutoff and therefore collapse onto the same curves in Fig. 13. This is consistent with the analysis of sections 2.5.1 and 2.5.2, where these quantities depend only on the corresponding distribution moments.
In contrast, the cloud and shadow curves remain sensitive to the detailed form of the truncated distribution, particularly at low cutoff values. Illustrative results without moment matching are given in section S5 (SI); in that case, the spinodal, critical point, and corresponding effective monodisperse binodal also become cutoff-dependent, and the approximation deteriorates much more strongly as the cutoff is reduced. The shadow curves are also affected appreciably as well, unlike in the moment-matched case where their cutoff dependence is weak.
The examples demonstrate that the framework can reproduce several idealized phase-diagram topologies, including UCST, LCST, combined UCST/LCST, closed-loop, and hourglass-type behavior. The benchmark fitting cases show how interaction-model parameters can be estimated from literature phase-boundary data. Under reaction conditions, the calculations illustrate how evolving chain size, molecular-weight distribution, and interaction parameters shift stability and coexistence boundaries. Comparisons between monodisperse approximations and polydisperse Flory–Stockmayer distributions further show that molecular-distribution effects can influence the predicted phase behavior, particularly in cloud/shadow calculations.
Beyond the thermodynamic formulation, PhaseTime provides a reproducible computational workflow through a common backend exposed by both a command-line interface and a Python API. The implementation includes continuation procedures, curve segmentation, diagnostic grid calculations, plotting utilities, and parameter-estimation workflows. These tools support the analysis of phase diagrams with multiple branches, disconnected segments, hidden coexistence curves, or complex critical-point structures, and make the framework useful for comparing model assumptions and inspecting numerical solutions.
The present implementation remains within a mean-field Flory–Huggins framework and therefore neglects fluctuation corrections and renormalization effects, which may become important near critical points or in strongly asymmetric disperse blends. Such effects have been treated separately using renormalized descriptions of polymer blends, but are outside the scope of the present work.79,80 Moreover, the computed phase diagrams should be interpreted as quasi-equilibrium thermodynamic references, corresponding to the limiting case in which demixing and diffusive relaxation are fast compared with the imposed protocol. They do not describe spatial morphology evolution, domain coarsening, nucleation barriers, vitrification, or gelation kinetics directly.
Future work will first focus on developing a phase-field model for quasibinary blends under steady-state conditions, using PhaseTime phase diagrams as reference solutions for the thermodynamic limit. This model will then be extended to reaction-induced phase separation by coupling the spatial evolution to reaction kinetics, evolving molecular distributions, and protocol-dependent interaction parameters. In this setting, the framework will provide the quasi-equilibrium reference for benchmarking and interpreting the spatial simulations.
The supplementary information (SI) contains a pdf file with the detailed theoretical and numerical material supporting this work. Section S1 presents the derivation of the chemical potentials for the polydisperse constituents 1i and 2j. Section S2 derives the cloud-point equations used to compute the cloud and shadow curves. Section S3 describes the Flory–Stockmayer distribution implemented in PhaseTime. Section S4 reports the curve-segmentation algorithm used for plotting and parameter fitting. Section S5 provides additional reaction–composition phase diagrams computed without moment matching. Ref. 6, 7, 33, 38, 40, 41, 49–51 and 81 are cited in the SI. In addition, the code, input files, and data required to reproduce the calculations reported in this article are provided in the SI as a zipped frozen snapshot of the PhaseTime GitHub repository;47 the snapshot corresponds to Git tag v0.2-submission-msde and commit 05899f75264715e782371cbd62f77a953a319418. Installation instructions, tests, and example workflows are provided in the repository README files.
| This journal is © The Royal Society of Chemistry 2026 |