Polystyrene devolatilization (Flory-Huggins) — a FLORY-HUGGINS process flowsheet
A molten polystyrene/toluene melt is flashed above its Flory-Huggins bubble point to strip residual solvent — the polymer thermo package's headline use case: the vapor leaves essentially pure solvent while the melt concentrates toward pure polymer, exactly the physics a cubic EoS or an ordinary activity model (sized for components of comparable molecular size) can't represent.
166 views 1 forks
- Rigorous FLORY-HUGGINS thermodynamics, solved by the same engine every simulation runs on.
- 1 unit operations modeled: Devol.
- Focus areas: Polymer, Flory-Huggins, Devolatilization, Solvent stripping.
- Thermodynamics
- FLORY-HUGGINS
- Components
- polystyrene, toluene
- Unit operations
- Devol
Opens in a new tab, loaded straight into the app — no setup.
Read the step-by-step guideReproduce this exact result from Python — the real client.get_example() → run_and_wait() path, not a mockup.
from flowsim.sdk import FlowSimClient
client = FlowSimClient()
example = client.get_example("polystyrene-devolatilization")
sim = client.create_simulation(example["title"], example["flowsheet"])
result = client.run_and_wait(sim["id"])
print(result["status"]) # "converged"
streams = client.streams(sim["id"])Related models
Continuous polymerization -> inline devolatilization -> melt transfer
A continuous free-radical CSTR (Mn/Mw/PDI via method-of-moments) converts 10% of its monomer feed to polymer per pass; the effluent flashes above its real Flory-Huggins bubble point to strip most of the residual monomer for recycle (the same physics as the polystyrene-devolatilization example, chained directly onto a reactor for the first time). The still-solvent-carrying melt then transfers through a pipe whose pressure drop is driven by a real non-Newtonian melt viscosity — the 3.4-power Mw scaling law plus Carreau shear-thinning, not a flat user-guessed constant — closing the 'viscosity-driven hydraulic pressure drop' gap a competitive pitch this session flagged as unbuilt.
Polymerization reactor comparison: CSTR cascade vs. tubular (PFR)
The same monomer feed, split 50/50 into two trains at equal total reactor volume: a 3-stage CSTR cascade (each stage blending its own new polymer with the MWD already carried by the stream from the stage before it) versus a single tubular (PFR) reactor. Both converge to a real, different Mn/Mw/PDI — the PFR reaches higher conversion at the same total volume, but its cumulative polydispersity is measurably broader than the cascade's, because chain length drifts continuously with conversion along the tube while each CSTR stage makes its own local production under one fixed monomer concentration. See the 'Polymerization Reactors' docs page for the full reasoning.
Helium liquefaction (Linde-Hampson cycle)
A Joule-Thomson liquefaction loop: helium is compressed, aftercooled, precooled well below its ~40-51 K JT-inversion temperature, then throttled through a valve into a flash drum that draws off liquid helium while the cold vapor recycles back to the compressor suction — the same JT-cycle physics as the platform's LNG/refrigeration loops, run on a fluid whose inversion curve makes precooling mandatory before the throttle can cool it at all.
Cement kiln calcination + CO2 liquefaction
Preheated limestone (CaCO₃) enters an indirectly-heated rotary kiln that calcines it toward CaO, releasing a CO₂-rich off-gas; the gas passes a knockout drum, then is compressed and cooled to liquefy the CO₂ for transport/storage.
NGL fractionation: single-shell Petlyuk dividing-wall column
A natural-gas-liquids cut (ethane / propane / n-butane) split into three on-spec products by ONE thermally-coupled dividing-wall column instead of two columns in series. This uses the native Petlyuk unit op: a prefractionator whose reflux and boilup are supplied by the main column (the single condenser + single reboiler), solved by an outer Wegstein loop that converges the bidirectional vapor/liquid coupling to self-consistency — the coupling legacy sequential-modular solvers approximate with two connected columns whose recycle fails to converge.
Ethanol–water distillation
An 8-stage column concentrating ethanol overhead toward the azeotrope (the headline demo).