Hi Erik
Are you assuming this is a quasi-equilibrium expansion or do you need to model the kinetics throughout? If the former, you can simply use the Solution object and set the entropy and another state property (T, P, rho) in a process that models the expansion. If the latter, you'll need to set up a Reactor with customized governing equations to solve the relevant set of ODEs, there's not a model built-in to Cantera which can do that.