The transport block is notoriously hard to “debug”. Therefore it is advised that a classic compartment model is built prior to using the transport block so that the results from the transport block can be verified. We will start with only advection, and later add the diffusion transfers.
Creating the model structure
|v||parameter||m year-1||2||Advection velocity|
|N||parameter||-||3||Number of discretizations|
(Hint: To enter values for Value/Expression and Full Name simply right-click the parameter in the Blocks window and choose Edit.)
Enter the same equation “v/(R * dx)” for the Transfer blocks Advection_2_3 and Advection_3_Out.
Edit the Expression block Flux_Out. Enter the equation “Layer_3 * Advection_3_Out”.
Edit the simulation settings by clicking the button. Set the end time to 10 years.
Run a simulation and make a plot of the simulation output Flux_Out.
Save the project with a name that will make you happy, as it is possible you will open this project many times again.
In the next step you will try to replicate the results from this model using a transport block.
Solution to this part