Hostname: page-component-77f85d65b8-5ngxj Total loading time: 0 Render date: 2026-03-27T11:55:36.642Z Has data issue: false hasContentIssue false

Introducing JFM Notebooks

Published online by Cambridge University Press:  17 November 2022

Charles Meneveau*
Affiliation:
Deputy Editor, Journal of Fluid Mechanics, Department of Mechanical Engineering & IDIES, Johns Hopkins University, Baltimore, MD 21218, USA
Colm-cille P. Caulfield
Affiliation:
Editor, Journal of Fluid Mechanics, DAMTP, Centre for Mathematical Sciences, University of Cambridge, Cambridge CB3 0WA, UK
*
Email address for correspondence: meneveau@jhu.edu

Abstract

Information

Type
Editorial
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Mean velocity profiles in turbulent channel flow from direct numerical simulation (DNS) in wall inner units, where $u_\tau$ is the friction velocity, $y$ the distance from the wall and $\nu$ is kinematic viscosity. The red line shows DNS data for friction-velocity based Reynolds number $Re_\tau \equiv u_\tau h/\nu = 1000$ (Graham et al.2016) and the green line for $Re_\tau =5200$ (Lee & Moser 2015). The blue line is the composite model shown in (0.1), smoothly merging the linear near wall region (dotted black line) and standard logarithmic law (dashed black line), using $\kappa =0.4$, $B=5$ and $c_1=10$. The directory including the data and the Jupyter notebook that generated this figure can be accessed at https://www.cambridge.org/S002211202200903X/figure-1. In order to edit the notebook (e.g. to change model parameters), the reader must ‘Edit…’ the directory and ‘Create New Project’ within Cocalc.

Figure 1

Figure 2. Screenshot of JFM Notebook (in Python, Jupyter) associated with figure 1 that can be accessed by pressing on the link provided as part of that figure. In the notebook, users can change model parameters. In the screenshot, the parameters have been changed to $\kappa =0.38$, $B=4.2$, and $c_1=12$. The original directory containing the notebook and data (used to generate figure 1) can be accessed at https://www.cambridge.org/S002211202200903X/figure-1.

Figure 2

Figure 3. Spanwise slices at various indicated times during stratified shear flows showing contours of density for three different simulations as described in more detail in Lewin & Caulfield (2022): (ad) an oscillating shear flow initially perturbed with white noise; (eh) an oscillating shear flow initially perturbed with the most unstable normal mode; (il) a shear flow which initially accelerates and then does not decelerate, initially perturbed with white noise. Only the central region (40 % of the total vertical extent) is shown. The directory containing the notebook and data can be accessed at https://www.cambridge.org/S002211202200903X/figure-3. To edit the notebook (e.g. to change the colour map), the reader will ‘Edit…’ the directory and ‘Create New Project’ within Cocalc before editing the notebook itself.

Figure 3

Figure 4. Iso-surface of $Q=500$ (yellow) and volume rendering of local kinetic energy in a small $128^3$ grid point subset of isotropic turbulence at $Re_\lambda = 430$. The overall domain of DNS is $[0,2\pi ]^3$. To view the interactive figure, go to https://www.cambridge.org/S002211202200903X/figure-4/files/Figure4.html. The directory including the data and the Jupyter notebook can be accessed at https://www.cambridge.org/S002211202200903X/figure-4.

Supplementary material: File

Meneveau and Caulfield supplementary material

Meneveau and Caulfield supplementary material

Download Meneveau and Caulfield supplementary material(File)
File 116.4 MB