====== Tutorial 7 - Creating a Transport model ====== ===== 3/5 ===== You will now try to replicate the results from the [[Compartment|Compartment]] model with a [[Transport|Transport]] block. As the equations and parameters are the same, you can re-use the previous model. \\ **Creating the model structure**
Save the previous project with a new name.
Create a [[Transport|Transport]] block by right-clicking in the [[Blocks_window|Blocks window]] and choosing **Create | Transport**.
Expand the [[Transport|Transport]] block.
Copy [[Transfer|Transfer]] block with name Input and past so that it connects //Source// with //Begin//. You can do this either by dragging the block directly in the matrix to its new position, or by editing the block and changing the target property from //Layer_1// to //Begin//.
Copy the [[Transfer|Transfer]] block //Advection_1_2// and past so that it connects //Begin// with //End//. **Edit** the block and rename it to “Advection”.
Copy the [[Transfer|Transfer]] block //Advection_3_Out// and past so that it connects //End// with //Out//. **Edit** the block and rename it to “Advection_Out”.
Create one more [[Expression|Expression]], name it Flux_Out_2 and fill equation field with //End*Advection_Out//.
\\
{{tutorial_7_4.png}}
\\
The number of discretizations is now determined by the built-in block //Transport.N//.