modelAdvectionReaction
Information
The exact analytical solution of the pure advection model adv is the inlet value delayed by one time unit, u_out_th. The numerical solution approximates the sharp dealyed rise of the concentration with a smooth curve, see u_out_adv.
Adding the chemical reaction, the concentration wavefront sharpens, and it its speed towards the outlet is slightly reduced, see u_out_adv_reac
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N | 100 | Number of volumes |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Models.AdvectionReaction | adv | Pure advection model | |
| Models.AdvectionReaction | adv_reac | Advection-reaction model | |
| Real | u_out_th | if time < 1 then 0 else 1 | Theoretical outlet concentration of the pure advection model |
| Real | u_out_adv | adv.u[N] | Outlet concentration of the pure advection model |
| Real | u_out_adv_reac | adv_reac.u[N] | Outlet concentration of the advection-reaction model |