User Tools

Site Tools


tutorial_7-adding_diffusion_to_the_transport_model

Tutorial 7 - Adding Diffusion to the Transport Model

5/5


Creating the model structure

  1. Open the second model again.
  2. Connect Begin and End with a Transfer block. Name the block “Diffusion_Down”.
  3. Connect End and Begin with a Transfer block. Name the block “Diffusion_Up”.
  4. Connect End and Out with a Transfer block. Name the block “Diffusion_Out”.



Assigning values

  1. Edit Diffusion_Down. Enter the same expression “D/(R * dx2)”, where D has the same properties as in the previous model:


    NameType Unit Full Name Value/Expression
    D Parameterm2 year-1Diffusion coefficient1


  2. Assign the same expression to Diffusion_Up and Diffusion_Out.

  3. Run a simulation and make a plot of Flux_Out. Do you get the same result as in the Compartment model?

  4. Run simulations with different values for N. How many discretizations are needed to make the curve converge?

  5. Change the Advection Velocity v to 10 m year-1. As the total depth of the media is 10m, the transport should now occur in a much shorter time span than before. Change the end time of the simulation to a lower value, say 3 years.

    How many discretizations are now needed to make the curve converge?



Solution to the excersise

Previous

Reference

tutorial_7-adding_diffusion_to_the_transport_model.txt · Last modified: 2020/02/19 17:43 by ecoloco