How to set residence time in PSR

161 views
Skip to first unread message

Wubo Dai

unread,
Nov 28, 2023, 10:00:05 AM11/28/23
to Cantera Users' Group
Hi all,

I recently ran into a problem while trying to simulate a PSR (jet stirred reactor,specifically) in python: I couldn't find where to set the residence time (like on the input interface of chemkinpro). Or is it that the residence time can only be achieved by setting the mass flow rate? In this case, can a fixed residence time be obtained (in my understanding, the mass flow rate in a constant pressure reactor should change with the reaction process)?

Thanks
Wubo

Naikless

unread,
Dec 13, 2023, 10:42:45 AM12/13/23
to Cantera Users' Group
As far as I am aware, the residence time for a reactor with defined inlets and outlets is simply determined by the mass flow rates and the mass inside of the reactor volume.

If you require your mass flow rates to change, you could do so by providing time-dependent inlet and/or outlet conditions.

Niclas

Turhan Eker

unread,
Dec 14, 2023, 10:48:24 AM12/14/23
to Cantera Users' Group
Dear Wubo,

In case you are using Cantera with Python, there is an example in the official website (https://cantera.org/examples/python/reactors/combustor.py.html) that can help you. In this example, the mass flow rate is defined as a function(named mdot), such that is adjusts the inlet mass flow rate in order to keep the residence time in the reactor as the prescribed values. With this approach, you should be able to define a residence time for your PSR calculations. I hope this helps.

Kind regards,
Turhan

28 Kasım 2023 Salı tarihinde saat 16:00:05 UTC+1 itibarıyla ric...@gmail.com şunları yazdı:

Dudley Moore

unread,
Mar 13, 2025, 7:26:38 PM3/13/25
to Cantera Users' Group
Did you ever get any help with this question? I have a mass flow and residence time myself, but I'd like to have confidence the volume or residence time have been set correctly. Too bad I can't just set the mass of the reactor.
Reply all
Reply to author
Forward
0 new messages