Perfumes/Incense Sticks. This value suggests the reaction might be diffusion limited. Rename the file as diffusion_reaction_1d_inverse.py; If the data is just a simple table-like data, then use csv format; otherwise, prepare the data first and then store the prepared data in a compressed npz file. NOTE: This is a theoretical example used to illustrate how an apparently "slow" reaction can be diffusion limited. As a simple example, a few crystals of sugar in a glass of water will slowly dissolve over time. Let’s check some notable examples of diffusion that occurs in our daily life. 1. Diffusion, process resulting from random motion of molecules by which there is a net flow of matter from a region of high concentration to a region of low concentration. Everything should be in a function, see example. This occurs because there is a net movement of sugar molecules into the water medium. A familiar example is the perfume of a flower that quickly permeates the still air of a room. Watch a quick example simulation on YouTube. This simple idea has been suggested as a model for a diverse set of biological phenomena. When perfume (scents, incense sticks, room sprays, fragrance sprays) are sprayed at one part of the room, it spreads throughout the whole room due to diffusion. Do not use global variables for data preprocessing. Optimising Reaction-Diffusion Simulations. RD models a set of substances that are diffusing, or spreading; these substances also react with one another to create new substances. Perfume particles travel from higher concentrated area to the entire room where the concentration is less. My reaction-diffusion simulation work has been a long journey (18 years at this writing) of progressive optimization to adapt to new hardware. In the first 15 years, its performance increased by a factor of more than 3000, effectively utilising the hardware's full potential at all stages. Optionally, the images may be saved sequentially and can output images to string together in an animation. Simulates Reaction Diffusion models This tool simulates a number of reaction-diffusion systems and produces Turing patterns. In chemical processes, diffusion is often the central principle driving many reactions. 2. Reaction-diffusion (RD) is a canonical example of complex behavior that emerges from a simple set of rules. Examples Example usage 1: A Reaction diffusion model is a mathematical model which calculates the concentration of two substances at a given time based upon the substances diffusion, feed rate, removal rate, and a reaction between the two.