Advection code for calculating fraction of dendrite-bearing region of chemosensory hair array during flicking Lindsay Waldrop Agnes Kim Miranda Hann Amy Henry Ayesha Punjabi M.A.R. Koehl 10.6084/m9.figshare.935514.v1 https://figshare.com/articles/dataset/Advection_code_for_calculating_fraction_of_dendrite_bearing_region_of_chemosensory_hair_array_during_flicking_/935514 <p>Code to accompany an upcoming publication: "Ontogenetic changes in the olfactory antennules of the shore crab, Hemigrapsus oregonensis, maintain sniffing function during growth" by Lindsay D. Waldrop, Miranda Hann, Amy Henry, Agnes Kim, Ayesha Punjabi, and M. A. R. Koehl.</p> <p>This code models fluid movement via a forward-Euler method with lagragian fluid parcel-tracking. All files (including the associate data files, found at <br>http://dx.doi.org/10.6084/m9.figshare.928567 ) should be in the same directory.</p> <p>The file makenewdataCh3.m transforms data files Event###_flickdata.mat into the code-useable form Event###_newdata.mat by reinterpolating velocities onto a 1000 by 1000 grid and streamlining the information in flickdata structured to only what is needed to run the advection code. </p> <p>The file ch3sniff.m starts the simulation and calls in_ch3sniff.m to initialize parameters, creates the lagrangian array, and loads required data. It calls the file sniffadonly.m to advance the forward-Euler by one time step. It tests the final array of fluid parcels for inclusion within the array and returns a total fraction that represents the fluid parcels remaining in the array after a full stroke.</p> <p> </p> 2014-02-14 17:35:51 Hemigrapsus decapod sniffing antennule antenna aesthetasc advection lagrangian Physiology Structural Biology Marine Biology Zoology Biophysics