How to automatically alter the gas species and temperature at t=1s?

Dear respected seniors,

I hope to simulate the gas flow around a complex structure (stl file) using single phase model.

From t=0s to t=1s, the gas flow is air at 20 °C.
From t=1s to t=5s, I hope to change the gas flow to pure CO2 at 100 °C.

I will run hundreds of simulations.
Hope to have a method to do this kind of alteration automatically.

Is there any keyword for this?
Do I need to make some changes to the code?

Any help is greatly appreciated.

Thanks.

You can do this manually with a pause or restart of the model but if you want to run hundreds of simulations, then you probably want to write a UDF.