User Tools

Site Tools


tutorial_7-creating_a_transport_model

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
tutorial_7-creating_a_transport_model [2020/02/19 17:40]
ecoloco
tutorial_7-creating_a_transport_model [2023/03/29 15:17]
dmytroh
Line 12: Line 12:
 <HTML><li></HTML><HTML><p></HTML>Save the previous project with a new name.<HTML></p></HTML><HTML></li></HTML> <HTML><li></HTML><HTML><p></HTML>Save the previous project with a new name.<HTML></p></HTML><HTML></li></HTML>
 <HTML><li></HTML><HTML><p></HTML>Create a [[Transport|Transport]] block by right-clicking in the [[Blocks_window|Blocks window]] and choosing **Create | Transport**.<HTML></p></HTML><HTML></li></HTML> <HTML><li></HTML><HTML><p></HTML>Create a [[Transport|Transport]] block by right-clicking in the [[Blocks_window|Blocks window]] and choosing **Create | Transport**.<HTML></p></HTML><HTML></li></HTML>
-<HTML><li></HTML><HTML><p></HTML>**Edit** the [[block|block]] and rename it “Transport”.<HTML></p></HTML><HTML></li></HTML>+
 <HTML><li></HTML><HTML><p></HTML>Expand the [[Transport|Transport]] block.<HTML></p></HTML><HTML></li></HTML> <HTML><li></HTML><HTML><p></HTML>Expand the [[Transport|Transport]] block.<HTML></p></HTML><HTML></li></HTML>
-<HTML><li></HTML><HTML><p></HTML>Move the [[Transfer|Transfer]] block //Input//, 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//.<HTML></p></HTML><HTML></li></HTML> +<HTML><li></HTML><HTML><p></HTML>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//.<HTML></p></HTML><HTML></li></HTML> 
-<HTML><li></HTML><HTML><p></HTML>Move the [[Transfer|Transfer]] block //Advection_1_2// so that it connects //Begin// with //End//. **Edit** the block and rename it to “Advection”.<HTML></p></HTML><HTML></li></HTML> +<HTML><li></HTML><HTML><p></HTML>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”.<HTML></p></HTML><HTML></li></HTML> 
-<HTML><li></HTML><HTML><p></HTML>Move the [[Transfer|Transfer]] block //Advection_3_Out// so that it connects //End// with //Out//. **Edit** the block and rename it to “Advection_Out”.<HTML></p></HTML><HTML></li></HTML> +<HTML><li></HTML><HTML><p></HTML>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”.<HTML></p></HTML><HTML></li></HTML> 
-<HTML><li></HTML><HTML><p></HTML>You can now delete the [[Compartment|Compartment]] blocks //Layer_1////Layer_2// and //Layer_3//.<HTML></p></HTML>+<HTML><li></HTML><HTML><p></HTML>Create one more [[Expression|Expression]], name it Flux_Out_2 and fill equation field with //End*Advection_Out//.<HTML></p></HTML>
 <HTML><p></HTML>\\ <HTML><p></HTML>\\
 <HTML></p></HTML> <HTML></p></HTML>
-<HTML><p></HTML>{{:Tutorial_7_model2.png|Screenshot}}<HTML></p></HTML>+<HTML><p></HTML>{{tutorial_7_4.png}}<HTML></p></HTML>
 <HTML><p></HTML>\\ <HTML><p></HTML>\\
 <HTML></p></HTML><HTML></li></HTML> <HTML></p></HTML><HTML></li></HTML>
-<HTML><li></HTML><HTML><p></HTML>Move the blocks //Flux_Out//, //R//, //dx//, //length// and //v// to the //Transport// sub-system.<HTML></p></HTML><HTML></li></HTML> +<HTML><li></HTML><HTML><p></HTML>The number of discretizations is now determined by the built-in block //Transport.N//.<HTML></p></HTML><HTML></li></HTML><HTML></ol></HTML>
-<HTML><li></HTML><HTML><p></HTML>The number of discretizations is now determined by the built-in block //Transport.N//. Delete the old expression //N//, but be careful so that you do not delete //Transport.N//.<HTML></p></HTML><HTML></li></HTML><HTML></ol></HTML>+
  
 \\ \\
Line 30: Line 29:
 **Assigning values** **Assigning values**
  
-  - Edit the [[Expression|Expression]] block //Flux_Out//. Change the expression to “Transport.End * Advection_Out”. 
   - Edit Transport.N. Change the value to “3”.   - Edit Transport.N. Change the value to “3”.
-  - [[Running_simulations|Run a simulation]]. Do you get the same results as with the classic [[compartment|compartment]] model?+  - [[Running_simulations|Run a simulation]]. Do you get the same results as with the classic [[compartment|compartment]] model? Compare //Flux_out// and //Flux_out_2//.
   - Try to run simulations and vary the value of //N//. What happens? Why?   - Try to run simulations and vary the value of //N//. What happens? Why?
   - Save the project.   - Save the project.
tutorial_7-creating_a_transport_model.txt · Last modified: 2023/03/29 15:18 by dmytroh