NetLogo Models Library:
## WHAT IS IT?
This model demonstrates the transition from order, or "laminarity", to disorder, or "turbulence" in fluids. Using a one-dimensional continuous cellular automaton, this model allows you to explore the relationship between turbulence, laminarity, and the viscosity of a fluid flowing through a "pipe." It also shows you how the roughness of pipes in which the fluid travels through affects the fluid's behavior.
## HOW IT WORKS
This model is based on a "coupled map lattice," otherwise known as a continuous cellular automaton. See CA 1D Elementary for an introduction to one-dimension cellular automata, and see CA 1D Continuous for an introduction to continuous CA's.
Each cell has a value ranging continuously from 0 to 1.5, where 0 is the greatest degree of turbulence, and 1.5 is the greatest degree of laminarity. Cells are considered laminar when their value is greater than 1, and turbulent when their value is less than or equal to 1.
To draw each subsequent row, each cell in the previous row is updated in three steps:
1) The first step is coupling, where the cell's value "diffuses," or is averaged with its nearest neighbors on each side. The degree of influence that the cells have on one another is determined by the COUPLING-STRENGTH slider. The higher the value of the coupling strength, the more the cells will influence one another. COUPLING-STRENGTH is a rough analog of viscosity.
2) In the second step, another function is applied in order to properly scale the result of the coupling function.
3) The third and last step is the application of friction, which is the analog of roughness (on, for instance, the inside of a pipe or the surface of a sheet of glass). The ROUGHNESS parameter controls the amount of friction imposed upon the fluid, increasing the cell's turbulence. This may seem a bit strange, but it is important to remember turbulence is measured in terms of disorder; when the fluid's velocity is changed, these fluctuations cause more disorder.
These steps are then repeated for the next row, and so on.
## HOW TO USE IT
* SETUP initializes the model with a mix of turbulent and non-turbulent initial conditions.
* INITIAL-TURBULENCE controls the degree of initial turbulence.
* COUPLING-STRENGTH is the amount of "diffusion," or the influence that cells have on one another.
* ROUGHNESS is the amount of turbulence that is added to each cell at every time step.
Running the model:
* If AUTO-CONTINUE? is off, GO runs the model until it reaches the bottom (`min-pycor`). If pressed again, GO will continue the same run at the top row of patches. If AUTO-CONTINUE? is on, upon reaching the bottom row of patches, GO will immediately continue the run from the top.
* AUTO-CONTINUE? will cause GO to automatically wrap back to the top and continue when switched on. If the model has reached a completely laminar state, and cannot produce any more turbulence, it will not run again.
## THINGS TO NOTICE
Under what circumstances do darker, more "laminar" patches occur? How is this dependent on the turbulence?
Why do straight, non-budding turbulent streams eventually die out when ROUGHNESS is set to 0? How come this doesn't occur so much when ROUGHNESS is greater than 0?
## THINGS TO TRY
Set ROUGHNESS to 0:
Change the COUPLING STRENGTH until you find the "critical value" that the COUPLING-STRENGTH must be above in order to produce long-lived turbulence. This transition is very fast, and occurs within a very small range of the COUPLING-STRENGTH parameter.
When the COUPLING-STRENGTH is above the critical value, what change do you see that might explain why the turbulence is able to perpetuate itself so well?
With a COUPLING-STRENGTH above the critical value, about how much INITIAL-TURBULENCE is required for the turbulence to continue indefinitely?
What happens when the COUPLING-STRENGTH is too high? Can you give a physical interpretation of this?
Think about these questions while experimenting with ROUGHNESS values above 0:
How does ROUGHNESS affect turbulence in the fluid?
How does ROUGHNESS affect the critical value required for long-lived turbulence?
With higher ROUGHNESS values, is it necessary for there to be a certain amount of INITIAL-TURBULENCE in order to produce long-lived turbulence? Why or why not?
Is there a difference between turbulence caused by large COUPLING-STRENGTHs and the turbulence caused by friction? If so, how do they differ?
Can you give a physical interpretation of a ROUGHNESS of 0?
## EXTENDING THE MODEL
Although this is a continuous-valued CA, in a sense the system is discrete in that there is a sharp distinction between "turbulent" and "laminar" cells. If you modify the COLOR-PATCH procedure to color the cells only as black or white depending on which of these two discrete states they are in, you will see a discrete "view" of this continuous model.
In physical systems, "coupling strength" is a product of various factors, such as temperature, pressure, and viscosity. Can you come up with a way to take these factors into account in this model?
Surface tension is a subject common to fluid dynamics and turbulence. Can you figure out a way to integrate it into the model?
There are many ways to quantitatively analyze turbulence. Try coming up with a plot of the entropy (see 'CA Stochastic' for an example), or the average size of the laminar regions.
Can you create a turbulence model in two dimensions?
## RELATED MODELS
* CA 1D Elementary - the elementary two-state 1D cellular automata
* CA Continuous - an elementary continuous 1D cellular automaton
* CA Stochastic - a probabilistic cellular automaton that exhibits critical phase transitions similar to this model
* Lattice Gas Automaton - two-dimensional wave propagation through a lattice gas
* Wave Machine - wave motion in a two-dimensional membrane
* Percolation - the percolation of oil through soil
## CREDITS AND REFERENCES
Criticality in cellular automata: H. Chate and P. Manneville. 1990 Physica D 45 122-135
Pattern Dynamics in Spatiotemporal Chaos: Kunihiko Kaneko. 1989 Physica D 34 1-41
Supertransients, spatiotemporal intermittency and stability of fully developed spatiotemporal chaos: Kunihiko Kaneko. 1990 Physics Letters A Vol 149, Number 2,3
Shepherd, Dennis G. 1965. Elements of Fluid Mechanics. Harcourt, Brace, & World, Inc., New York, NY.
Thanks to Eytan Bakshy for his work on this model.
## HOW TO CITE
If you mention this model or the NetLogo software in a publication, we ask that you include the citations below.
For the model itself:
* Wilensky, U. (2003). NetLogo Turbulence model. http://ccl.northwestern.edu/netlogo/models/Turbulence. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.
Please cite the NetLogo software as:
* Wilensky, U. (1999). NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.
## COPYRIGHT AND LICENSE
Copyright 2003 Uri Wilensky.
![CC BY-NC-SA 3.0](http://ccl.northwestern.edu/images/creativecommons/byncsa.png)
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
Commercial licenses are also available. To inquire about commercial licenses, please contact Uri Wilensky at email@example.com.
This model was created as part of the projects: PARTICIPATORY SIMULATIONS: NETWORK-BASED DESIGN FOR SYSTEMS LEARNING IN CLASSROOMS and/or INTEGRATED SIMULATION AND MODELING ENVIRONMENT. The project gratefully acknowledges the support of the National Science Foundation (REPP & ROLE programs) -- grant numbers REC #9814682 and REC-0126227.