%\documentclass[lineno]{jfm}
\documentclass[lineno]{JFM-FLM_Au}
%\usepackage{showframe}
\newtheorem{lemma}{Lemma}
\newtheorem{corollary}{Corollary}
\lefttitle{Author 1 et al.}
\righttitle{Journal of Fluid Mechanics}
\title{JFM {\LaTeX} submission template}
\author{Author 1\aff{1}, Author 2\aff{1} \and Author 3\aff{2}}
\affiliation{\aff{1}Department, Institution, City, Country
\aff{2}Department, Institution, City, Country}
\corresau{Author 1, email}
\begin{document}
\maketitle
\begin{abstract}
This file contains information for authors planning to submit a paper to the {\it Journal of Fluid Mechanics}. The document was generated in {\LaTeX} using the JFM class file and supporting files provided on the JFM website \href{https://www.cambridge.org/core/journals/journal-of-fluid-mechanics/information/author-instructions/preparing-your-materials}{here}, and the source files can be used as a template for submissions (please note that this is mandatory for {\it JFM Rapids}). Full author instructions can be found on the \href{https://www.cambridge.org/core/journals/journal-of-fluid-mechanics/information/author-instructions}{JFM website}. The present paragraph appears in the \verb}abstract} environment. All papers should feature a single-paragraph abstract of no more than 250 words which must not spill onto the second page of the manuscript.
\end{abstract}
\begin{keywords}
Authors should not enter keywords on the manuscript, as these must be chosen by the author during the online submission process and will then be added during the typesetting process (see \href{https://www.cambridge.org/core/services/aop-file-manager/file/61436b61ff7f3cfab749ce3a/JFM-Keywords-Sept-2021.pdf.}{Keyword PDF} for the full list). Other classifications will be added at the same time.
\end{keywords}
%{\bf MSC Codes } {\it(Optional)} Please enter your MSC Codes here
\section{First-order heading}
\label{sec:headings}
The layout design for the {\em Journal of Fluid Mechanics} journal
has been implemented as a LaTeX\ style file.%
%\footnote{To know more information about LaTeX and its packages, try https://ctan.org/?lang=en}%
The FLM style file is based on the ARTICLE style as discussed in the LaTeX\ manual. Commands which
differ from the standard LaTeX\ interface, or which are provided in addition
to the standard interface, are explained in this guide. This guide is not a
substitute for the LaTeX\ manual itself.
\subsection{Introduction to LaTeX}
The LaTeX\ document preparation system is a special version of the
TeX\ typesetting program. LaTeX\ adds to TeX\ a collection of
commands which simplify typesetting by allowing the author to
concentrate on the logical structure of the document rather than
its visual layout.
LaTeX\ provides a consistent and comprehensive document preparation
interface. There are simple-to-use commands for generating a table of
contents, lists of figures and/or tables, and indexes. LaTeX\ can
automatically number list entries, equations, figures, tables, and
footnotes, as well as parts, chapters, sections and subsections.
Using this numbering system, bibliographic citations, page references
and cross references to any other numbered entity ({\it e.g.\ } chapter,
section, equation, figure, list entry) are quite straightforward.
\subsection{The FLM document class}
The use of document class allows a simple change of style (or style option)
to transform the appearance of your document. The CUP FLM class file preserves
the standard LaTeX\ interface such that any document which can be produced
using the standard LaTeX\ ARTICLE style can also be produced with the
FLM style. However, the fonts (sizes) and measure of text is slightly different
from that for ARTICLE, therefore line breaks will change and it is possible
that equations may need re-setting.
\section{Figures and Tables}\label{sec:Figures_Tables}
\begin{figure}
\centerline{\includegraphics{Fig1}}% Images in 100% size
\caption{This is a sample figure caption extended to multiple rows. This is a sample figure caption extended to multiple rows. This is a sample figure caption extended to multiple rows.}
\label{fig:ka}
\end{figure}
\subsection{Figures}
Each figure should be accompanied by a single caption, to appear beneath, and must be cited in the text. Figures should appear in the order in which they are first mentioned in the text. For example see figures \ref{fig:ka} and \ref{fig:kd}.
\begin{figure}
\centerline{\includegraphics{Fig2}}
%\captionsetup{singlelinecheck=off,justification=center}
\captionsetup{style=capcenter}
\caption{This is a sample figure caption with (a) and (b) designations to define parts.}
\label{fig:kd}
\end{figure}
\subsection{Tables}
Tables, however small, must be numbered sequentially in the order in which they are mentioned in the text. Words \textit {table~1, table~2} should be lower case throughout. See table~\ref{tab:kd} for an example.
\begin{table}
\begin{center}
\def~{\hphantom{0}}
\begin{tabular}{lccc}
$a/d$ & $M=4$ & $M=8$ & Callan \etal \\[3pt]
0.1 & 1.56905 & ~~1.56~ & 1.56904\\
0.3 & 1.50484 & ~~1.504 & 1.50484\\
0.55 & 1.39128 & ~~1.391 & 1.39131\\
0.7 & 1.32281 & ~10.322 & 1.32288\\
0.913 & 1.34479 & 100.351 & 1.35185\\
\end{tabular}
\caption{This is a sample table caption}
\label{tab:kd}
\end{center}
\end{table}
\section{Notation and style}\label{notstyle}
Generally any queries concerning notation and journal style can be answered by viewing recent pages in the Journal. However, the following guide provides the key points to note. It is expected that Journal style and mathematical notation will be followed, and authors should take care to define all variables or entities upon first use. Also note that footnotes are not normally accepted. Abbreviations must be defined at first use, glossaries or lists/tables of abbreviations are not permitted.
\subsection{Mathematical notation}
\subsubsection{Setting variables, functions, vectors, matrices etc}
\begin{itemize} \label{sec:MathNot}
\item {\bf Italic font} should be used for denoting variables, with multiple-letter symbols avoided except in the case of dimensionless numbers such as $\Rey$, $\Pran$ and $\Pen$ (Reynolds, Prandtl, and P\'eclet numbers respectively, which are defined as \verb}\Rey}, \verb}\Pran} and \verb}\Pen} in the template).
\item {\bf Upright Roman font} (or upright Greek where appropriate) should be used for:
\begin{enumerate}%[1.]
\item (vI) label, e.g. T. t (transpose)
\item Fixed operators: sin, log, d, $\Delta$, exp etc.
\item Constants: i ($\sqrt{-1}$), $\upi$ (defined as \verb}\upi}),e etc.
\item Special Functions: $\Ai$, $\Bi$ (Airy functions, defined as \verb}\Ai} and \verb}\Bi}), $\Real$ (real part, defined as \verb}\Real}), $\Imag$ (imaginary part, defined as \verb}\Imag}), etc.
\item Physical units: cm, s, etc.
\item Abbreviations: c.c. (complex conjugate), h.o.t. (higher-order terms), DNS, etc.
\end{enumerate}
\item {\bf Bold italic font} (or bold sloping Greek) should be used for vectors (with the centred dot for a scalar product also in bold): $\boldsymbol{i \cdot j}$
\item {\bf Bold sloping sans serif font}, defined by the \verb}\mathsfbi} macro, should be used for tensors and matrices: $\mathsfbi{D}$
\item {\bf Calligraphic font} (for example $\mathcal{G}$, $\mathcal{R}$) can be used as an alternative to italic when the same letter denotes a different quantity use \verb}\mathcal} in \LaTeX)
\end{itemize}
\subsubsection{Other symbols}
Large numbers that are not scientific powers should not include commas, but should use a non-breaking space, and use the form 1600 or 16 000 or 160 000.
Use \textit{O} to denote `of the order of', not the \LaTeX\ $\mathcal{O}$.
The product symbol ($\times$) should only be used to denote multiplication where an equation is broken over more than one line, to denote a cross product, or between numbers . The $\boldsymbol {\cdot}$ symbol should not be used, except to denote a scalar product of vectors specifically.
\subsubsection{Example Equations}
This section contains sample equations in the JFM style. Please refer to the {\LaTeX} source file for examples of how to display such equations in your manuscript.
\begin{equation}
(\nabla^2+k^2)G_s=(\nabla^2+k^2)G_a=0
\label{Helm}
\end{equation}
\begin{equation}
\bnabla\bcdot\boldsymbol{v} = 0,\quad \nabla^{2}P=
\bnabla\bcdot(\boldsymbol{v}\times \boldsymbol{w}).
\end{equation}
\begin{equation}
G_s,G_a\sim 1 / (2\upi)\ln r
\quad \mbox{as\ }\quad r\equiv|P-Q|\rightarrow 0,
\label{singular}
\end{equation}
\begin{equation}
\left. \begin{array}{ll}
\displaystyle\frac{\p G_s}{\p y}=0
\quad \mbox{on\ }\quad y=0,\\[8pt]
\displaystyle G_a=0
\quad \mbox{on\ }\quad y=0,
\end{array}\right\}
\label{symbc}
\end{equation}
\begin{equation}
-\frac{1}{2\upi} \int_0^{\infty} \gamma^{-1}[\mathrm exp(-k\gamma|y-\eta|)
+ \mathrm exp(-k\gamma(2d-y-\eta))] \cos k(x-\xi)t\:\mathrm{d} t,
\qquad 0<y,\quad \eta<d,
\end{equation}
\begin{equation}
\gamma(t) = \left\{
\begin{array}{ll}
-\mathrm{i}(1-t^2)^{1/2}, & t\le 1 \\[2pt]
(t^2-1)^{1/2}, & t>1.
\end{array} \right.
\end{equation}
\[
-\frac{1}{2\upi}
\pvi B(t)\frac{\cosh k\gamma(d-y)}{\gamma\sinh k\gamma d}
\cos k(x-\xi)t\:\mathrm{d} t
\]
\begin{equation}
G = -\frac{1}{4}\mathrm{i} (H_0(kr)+H_0(kr_1))
- \frac{1}{\upi} \pvi\frac{\mathrm{e}^{-\kgd}}%
{\gamma\sinh\kgd} \cosh k\gamma(d-y) \cosh k\gamma(d-\eta)
\end{equation}
Note that when equations are included in definitions, it may be suitable to render them~in~line, rather than in the equation environment: $\boldsymbol{n}_q=(-y^{\prime}(\theta),
x^{\prime}(\theta))/w(\theta)$.
Now $G_a=\squart Y_0(kr)+\Gat$ where
$r=\{[x(\theta)-x(\psi)]^2 + [y(\theta)-y(\psi)]^2\}^{1/2}$ and $\Gat$ is
regular as $kr\ttz$. However, any fractions displayed like this, other than $\thalf$ or $\squart$, must be written on the line, and not stacked (ie 1/3).
\begin{eqnarray}
\ndq\left(\frac{1}{4} Y_0(kr)\right) & \sim &
\frac{1}{4\upi w^3(\theta)}
[x^{\prime\prime}(\theta)y^{\prime}(\theta)-
y^{\prime\prime}(\theta)x^{\prime}(\theta)] \nonumber\\
& = & \frac{1}{4\upi w^3(\theta)}
[\rho^{\prime}(\theta)\rho^{\prime\prime}(\theta)
- \rho^2(\theta)-2\rho^{\prime 2}(\theta)]
\quad \mbox{as\ }\quad kr\ttz . \label{inteqpt}
\end{eqnarray}
\begin{equation}
\frac{1}{2}\phi_i = \frac{\upi}{M} \sumjm\phi_j K_{ij}^a w_j,
\qquad i=1,\,\ldots,\,M,
\end{equation}
where
\begin{equation}
K_{ij}^a = \left\{
\begin{array}{ll}
\p G_a(\theta_i,\theta_j)/\p n_q, & i\neq j \\[2pt]
\p\Gat(\theta_i,\theta_i)/\p n_q
+ [\rho_i^{\prime}\rho_i^{\prime\prime}-\rho_i^2-2\rho_i^{\prime 2}]
/ 4\upi w_i^3, & i=j.
\end{array} \right.
\end{equation}
\refstepcounter{equation}
$$
\rho_l = \lim_{\zeta \rightarrow Z^-_l(x)} \rho(x,\zeta), \quad
\rho_{u} = \lim_{\zeta \rightarrow Z^{+}_u(x)} \rho(x,\zeta)
\eqno{(\theequation{\mathit{a},\mathit{b}})}\label{eq35}
$$
\begin{equation}
(\rho(x,\zeta),\phi_{\zeta\zeta}(x,\zeta))=(\rho_0,N_0)
\quad \mbox{for}\quad Z_l(x) < \zeta < Z_u(x).
\end{equation}
\begin{subeqnarray}
\tau_{ij} & = &
(\overline{\overline{u}_i \overline{u}_j}
- \overline{u}_i\overline{u}_j)
+ (\overline{\overline{u}_iu^{SGS}_j
+ u^{SGS}_i\overline{u}_j})
+ \overline{u^{SGS}_iu^{SGS}_j},\\[3pt]
\tau^\theta_j & = &
(\overline{\overline{u}_j\overline{\theta}}
- \overline{u}_j \overline{\theta})
+ (\overline{\overline{u}_j\theta^{SGS}
+ u^{SGS}_j \overline{\theta}})
+ \overline{u^{SGS}_j\theta^{SGS}}.
\end{subeqnarray}
\begin{equation}
\setlength{\arraycolsep}{0pt}
\renewcommand{\arraystretch}{1.3}
\slsQ_C = \left[
\begin{array}{ccccc}
-\omega^{-2}V'_w & -(\alpha^t\omega)^{-1} & 0 & 0 & 0 \\
\displaystyle
\frac{\beta}{\alpha\omega^2}V'_w & 0 & 0 & 0 & \mathrm{i}\omega^{-1} \\
\mathrm{i}\omega^{-1} & 0 & 0 & 0 & 0 \\
\displaystyle
\mathrm{i} R^{-1}_{\delta}(\alpha^t+\omega^{-1}V''_w) & 0
& -(\mathrm{i}\alpha^tR_\delta)^{-1} & 0 & 0 \\
\displaystyle
\frac{\mathrm{i}\beta}{\alpha\omega}R^{-1}_\delta V''_w & 0 & 0
& 0 & 0 \\
(\mathrm{i}\alpha^t)^{-1}V'_w & (3R^{-1}_{\delta}+c^t(\mathrm{i}\alpha^t)^{-1})
& 0 & -(\alpha^t)^{-2}R^{-1}_{\delta} & 0 \\
\end{array} \right] .
\label{defQc}
\end{equation}
\begin{equation}
\etb^t = \skew2\hat{\etb}^t \exp [\mathrm{i} (\alpha^tx^t_1-\omega t)],
\end{equation}
where $\skew2\hat{\etb}^t=\boldsymbol{b}\exp (\mathrm{i}\gamma x^t_3)$.
\begin{equation}
\mbox{Det}[\rho\omega^2\delta_{ps}-C^t_{pqrs}k^t_qk^t_r]=0,
\end{equation}
\begin{equation}
\langle k^t_1,k^t_2,k^t_3\rangle = \langle
\alpha^t,0,\gamma\rangle
\end{equation}
\begin{equation}
\boldsymbol{f}(\theta,\psi) = (g(\psi)\cos \theta,g(\psi) \sin \theta,f(\psi)).
\label{eq41}
\end{equation}
\begin{eqnarray}
f(\psi_1) = \frac{3b}{\upi[2(a+b \cos \psi_1)]^{{3}/{2}}}
\int^{2\upi}_0 \frac{(\sin \psi_1 - \sin \psi)(a+b \cos \psi)^{1/2}}%
{[1 - \cos (\psi_1 - \psi)](2+\alpha)^{1/2}}\mathrm{d}x,
\label{eq42}
\end{eqnarray}
\begin{eqnarray}
g(\psi_1) & = & \frac{3}{\upi[2(a+b \cos \psi_1)]^{{3}/{2}}}
\int^{2\upi}_0 \left(\frac{a+b \cos \psi}{2+\alpha}\right)^{1/2}
\left\{ \astrut f(\psi)[(\cos \psi_1 - b \beta_1)S + \beta_1P]
\right. \nonumber\\
&& \mbox{}\times \frac{\sin \psi_1 - \sin \psi}{1-\cos(\psi_1 - \psi)}
+ g(\psi) \left[\left(2+\alpha - \frac{(\sin \psi_1 - \sin \psi)^2}
{1- \cos (\psi - \psi_1)} - b^2 \gamma \right) S \right.\nonumber\\
&& \left.\left.\mbox{} + \left( b^2 \cos \psi_1\gamma -
\frac{a}{b}\alpha \right) F(\frac{1}{2}\upi, \delta) - (2+\alpha)
\cos\psi_1 E(\frac{1}{2}\upi, \delta)\right] \astrut\right\} \mathrm{d} \psi,
\label{eq43}
\end{eqnarray}
\begin{equation}
\alpha = \alpha(\psi,\psi_1) = \frac{b^2[1-\cos(\psi-\psi_1)]}%
{(a+b\cos\psi) (a+b\cos\psi_1)},
\quad
\beta - \beta(\psi,\psi_1) = \frac{1-\cos(\psi-\psi_1)}{a+b\cos\psi}.
\end{equation}
\begin{equation}
\left. \begin{array}{l}
\displaystyle
H(0) = \frac{\epsilon \overline{C}_v}{\tilde{v}^{{1}/{2}}_T
(1- \beta)},\quad H'(0) = -1+\epsilon^{{2}/{3}} \overline{C}_u
+ \epsilon \skew5\hat{C}_u'; \\[16pt]
\displaystyle
H''(0) = \frac{\epsilon u^2_{\ast}}{\tilde{v}^{{1}/{2}}
_T u^2_P},\quad H' (\infty) = 0.
\end{array} \right\}
\end{equation}
\begin{lemma}
Let $f(z)$ be a trial \citet[][pp.~231--232]{Batchelor59} function defined on $[0,1]$. Let $\varLambda_1$ denote
the ground-state eigenvalue for $-\mathrm{d}^2g/\mathrm{d} z^2=\varLambda g$,
where $g$ must satisfy $\pm\mathrm{d} g/\mathrm{d} z+\alpha g=0$ at $z=0,1$
for some non-negative constant~$\alpha$. Then for any $f$ that is not
identically zero we have
\begin{equation}
\frac{\displaystyle
\alpha(f^2(0)+f^2(1)) + \int_0^1 \left(
\frac{\mathrm{d} f}{\mathrm{d} z} \right)^2 \mathrm{d} z}%
{\displaystyle \int_0^1 f^2\mathrm{d} z}
\ge \varLambda_1 \ge
\left( \frac{-\alpha+(\alpha^2+8\upi^2\alpha)^{1/2}}{4\upi} \right)^2.
\end{equation}
\end{lemma}
\begin{corollary}
Any non-zero trial function $f$ which satisfies the boundary condition
$f(0)=f(1)=0$ always satisfies
\begin{equation}
\int_0^1 \left( \frac{\mathrm{d} f}{\mathrm{d} z} \right)^2 \mathrm{d} z.
\end{equation}
\end{corollary}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Additional facilities}
In addition to all the standard LaTeX\ design elements, the FLM style
includes the following feature:
\begin{itemize}
\item Extended commands for specifying a short version
of the title and author(s) for the running
headlines.
\end{itemize}
Once you have used this additional facility in your document,
do not process it with a standard LaTeX\ style file.
\subsection{Titles authors' names and affiliation}
In the FLM style, the title of the article and the author's name (or authors'
names) are used both at the beginning of the article for the main title and
throughout the article as running headlines at the top of every page.
The Journal title is used on odd-numbered pages (rectos) and the author's name appears
on even-numbered pages (versos).
Although the main heading can run to several lines of text, the running head
line must be a single line.
Moreover, the main heading can also incorporate new line commands
({\it e.g.\ } \verb"\\") but these are not acceptable in a running headline.
To enable you to specify an alternative short title and author's name, the
standard \verb"\righttitle" and \verb"\lefttitle" commands have been used to print the running headline.
\verb"\corresau{}" command should be used to provide the corresponding author details as shown below.
%
\begin{verbatim}
\lefttitle{A.N. Jones, H.-C. Smith and J.Q. Long}
\righttitle{Journal of Fluid Mechanics}
\title{JFM {\LaTeX} submission template A framework for assessing the
Reynolds analogy}
\author{Alan N. Jones\aff{1}, H.-C. Smith\aff{1} \and J.Q. Long\aff{2}}
\affiliation{\aff{1}STM Journals, Cambridge University Press,
The Printing House, Shaftesbury Road, Cambridge CB2 8BS, UK
\aff{2}DAMTP, Centre for Mathematical Sciences,
Wilberforce Road, Cambridge CB3 0WA, UK}
\corresau{Alan N. Jones, \email{Jones@univ.edu}}
\end{verbatim}
%
\subsection{Abstract}
The FLM style provides for an abstract which is produced by the following
commands
%
\begin{verbatim}
\begin{abstract} ... \end{abstract}
\end{verbatim}
\subsection{Keywords}
The FLM style provides for an keywords which is produced by the following
commands
%
\begin{verbatim}
\begin{keywords} ... \begin{keywords}
\end{verbatim}
\subsection{Lists}
The FLM style provides the three standard list environments.
\begin{itemize}
\item Bulleted lists, created using the \verb"itemize" environment.
\item Numbered lists, created using the \verb"enumerate" environment.
\item Labelled lists, created using the \verb"description" environment.
\end{itemize}
\subsection{Footnotes}
The FLM journal style uses superior numbers for footnote
references.\footnote{This shows how a footnote is typeset.}
\section{Some guidelines for using standard facilities}
The following notes may help you achieve the best effects with the FLM style
file.
\subsection{Sections}
LaTeX\ provides five levels of section headings and they are all
defined in the FLM style file:
\begin{itemize}
\item \verb"\section".
\item \verb"\subsection".
\item \verb"\subsubsection".
\item \verb"\paragraph".
\item \verb"\subparagraph".
\end{itemize}
Section numbers are given for sections, subsection and subsubsection headings.
\subsection{Running headlines}
As described above, the title of the journal and the author's name (or authors'
names) are used as running headlines at the top of every page.
The title is used on odd-numbered pages (rectos) and the author's name appears
on even-numbered pages (versos).
The \verb"\pagestyle" and \verb"\thispagestyle" commands should {\em not\/} be
used.
Similarly, the commands \verb"\markright" and \verb"\markboth" should not be
necessary.
\subsection{Illustrations (or figures)}
The FLM style will cope with most positioning of your illustrations
and you should not normally use the optional positional qualifiers on
the \verb"figure" environment which would override these decisions.
Figure captions should be below the figure itself, therefore the \verb"\caption"
command should appear after the figure or space left for an illustration.
Figure~\ref{sample-figure} shows an example on working with LaTeX code to load art files. \verb"\includegraphics" commnad is to load art files \verb"scale" option used in \verb"\includegraphics" is to reduce the art. EPS format will be compiled using LaTeX. Also, PNG, PDF and JPG format art files are loaded in the same command but the TeX file should be compiled using PDFLaTeX:
%
\begin{verbatim}
\begin{figure}
\includegraphics[scale=.4]{sample.eps}
\caption{An example figure with space for artwork.}
\label{sample-figure}
\end{figure}
\end{verbatim}
%
\begin{figure}%[t]
\centerline{\fbox{\vbox to 8pc{\hbox to 10pc{}}}}
%\includegraphics[scale=.4]{sample.eps}
\caption{An example figure with space for artwork.}
\label{sample-figure}
\end{figure}
%
The vertical depth should correspond roughly to the artwork you will submit;
it will be adjusted to fit the final artwork exactly.
\subsection{Creating new theorem-like environments}
You can create your own environments in LaTeX, and although you may already
be familiar with \verb"\newtheorem", you will not have seen the other two
commands explained below.
\verb"\newtheorem" is a standard command used for creating new
theorem-like environments, such as theorems, corollaries, lemmas,
conjectures and propositions, with the body of the text
(automatically) in italic.
\section{List of packages used in the template}
Below are the list of packages that are already used in template, so we don't need to copy these packages again in the TeX file.
\begin{itemize}
\item \verb"\usepackage{etex}"
\item \verb"\usepackage{amsthm}"
\item \verb"\usepackage{amssymb}"
\item \verb"\usepackage{soul}"
\item \verb"\usepackage{calc}"
\item \verb"\usepackage{color}"
\item \verb"\usepackage{colortbl}"
\item \verb"\usepackage[boxed]{algorithm2e}"
\item \verb"\usepackage{epstopdf}"
\item \verb"\usepackage{booktabs}"
\item \verb"\usepackage{natbib}"
\item \verb"\usepackage{hyperref}"
\item \verb"\usepackage{breakurl}"
\item \verb"\usepackage{bookmark}"
\item \verb"\usepackage{graphicx}"
\item \verb"\usepackage{caption}"
\item \verb"\usepackage{newtxtext}"
\item \verb"\usepackage{newtxmath}"
\end{itemize}
\section{Mathematics}
The FLM class file will centre displayed mathematics, and will insert the
correct space above and below if standard LaTeX\ commands are used; for
example use \verb"\[ ... \]" and \emph{not} \verb"$$ ... $$". Do not leave
blank lines above and below displayed equations unless a new paragraph is
really intended.
\verb"amsmath.sty" is common package to handle various type math equations was used in template. The amsmath descriptions are available in the document can be find in the web link \verb"https://ctan.org/pkg/amsmath?lang=en"
\subsection{Numbering of equations}
The \verb"subequations" and \verb"subeqnarray" environments have been
incorporated into the FLM class file (see Section~\ref{sub:amstex} regarding
the \verb"subequations" environment). Using these two environments,
you can number your equations (\ref{a1}), (\ref{a2}) etc. automatically.
For example, you can typeset
\begin{subequations}
\begin{equation}
a_1 \equiv (2\Omega M^2/x)^{\textstyle\frac{1}{4}}
y^{\textstyle\frac{1}{2}}\label{a1}
\end{equation}
and
\begin{equation}
a_2 \equiv (x/2\Omega)^{TeXtstyle\frac{1}{2}}k_y/M.\label{a2}
\end{equation}
\end{subequations}
by using the \verb"subequations" environment as follows:
%
\begin{verbatim}
\begin{subequations}
\begin{equation}
a_1 \equiv (2\Omega M^2/x)^{\textstyle\frac{1}{4}}
y^{\textstyle\frac{1}{2}}\label{a1}
\end{equation}
and
\begin{equation}
a_2 \equiv (x/2\Omega)^{\textstyle\frac{1}{2}}k_y/M.\label{a2}
\end{equation}
\end{subequations}
\end{verbatim}
\subsubsection{The \texttt{subequations} environment and the
\texttt{AMSTEX} package} \label{sub:amstex}
The \verb"amstex" (and the \verb"amsmath") packages also define a
\verb"subequations" environment. The environment in \verb"JFM-FLM_Au.cls" is used
by default, as the environments in the AMS packages don't produce the correct
style of output.
Note that the \verb"subequations" environment from the \verb"amstex" package
takes an argument -- you should use an `a' to give \verb"\alph" style
subequations. e.g.
\begin{verbatim}
\begin{subequations}{a} ... \end{subequations}
\end{verbatim}
\subsection{Bibliography}
As with standard LaTeX, there are two ways of producing a bibliography; either by compiling a list of references by hand (using a \verb"thebibliography" environment), or by using BibTeX with a suitable bibliographic database with the bibliography style provided with this FLMguide.tex like \verb"\bibliographystyle{jfm}". The "jfm.bst" will produce the bibliography which is similar to FLM style but not exactly. If any modification has to be made with "jfm.bst" can be adjusted during manuscript preparation but the updated bst file should be given with source files. However, contributors are encouraged to format their list of references style outlined in section~\ref{fullref} below.
\subsubsection{References in the text}
References in the text are given by author and date.
Whichever method is used to produce the bibliography, the references in
the text are done in the same way. Each bibliographical entry has a key,
which is assigned by the author and used to refer to that entry in the
text. There is one form of citation -- \verb"\cite{key}" -- to produce the
author and date. Thus, \cite{Arntzenius2012} is produced~by
\begin{verbatim}
\cite{Arntzenius2012}.
\end{verbatim}
In FLM, for references \verb"natbib.sty" is used. \verb"natbib.sty" is common
package to handle various reference and its cross citations. There different
type of cross citation such as \verb"\citep", \verb"\citet" , \verb"\citeyear"
etc. of the natbib descriptions are available in the document can be find in the web
link \url{https://ctan.org/pkg/natbib?lang=en}
\paragraph{Examples:}
Sample of basic cross citations examples from natbib \citep{Arntzenius2012} and \citet{Arntzenius2012}. Similarly other command can be utilized from referring the description from \url{https://ctan.org/pkg/natbib?lang=en}
If citations have to sort then use the class option "citesort".
\subsubsection{List of references}\label{fullref}
The following listing shows some references prepared in the style of the
journal.
%
\begin{verbatim}
\begin{thebibliography}{}
\bibitem[Batchelor (1971)]{Batchelor59}
{\sc Batchelor, G.K.} 1971 {Small-scale variation of convected
quantities like temperature in turbulent fluid part1, general
discussion and the case of small conductivity}, {\it J. Fluid
Mech.}, {\bf 5}, pp. 3-113-133.
\bibitem [Bouguet (2008)]{Bouguet01}
{\sc Bouguet, J.-Y} 2008 Camera Calibration Toolbox for Matlab
{\url{http://www.vision.caltech.edu/bouguetj/calib_doc/}}.
\bibitem[Briukhanovetal et al (1967)] {Briukhanovetal1967}
{\sc Briukhanov, A. V., Grigorian, S. S., Miagkov, S. M.,
Plam, M. Y., I. E. Shurova, I. E., Eglit, M. E. and Yakimov,
Y. L.} 1967 {On some new approaches to the dynamics of snow
avalanches}, {\it Physics of Snow and Ice, Proceedings of the
International Conference on Low Temperature Science}
{Vol 1} pp. 1221--1241 {Institute of Low Temperature Science,
Hokkaido University, Sapporo, Hokkaido, Japan}.
\bibitem[Brownell (2004)]{Brownell04}
{\sc Brownell, C.J. and Su, L.K.} 2004 {Planar measurements
of differential diffusion in turbulent jets}, {\it AIAA Paper},
pp. 2004-2335.
\bibitem[Brownell and Su (2007)] {Brownell07}
{\sc Brownell, C.J. and Su, L.K.} 2007 {Scale relations and
spatial spectra in a differentially diffusing jet}, {\it AIAA
Paper}, pp 2007-1314.
\bibitem [Dennis (1985)] {Dennis85}
{\sc Dennis, S.C.R.} 1985 {Compact explicit finite difference
approximations to the Navier--Stokes equation}, { In \it Ninth
Intl Conf. on Numerical Methods in Fluid Dynamics}, {ed
Soubbaramayer and J.P. Boujot}, {Vol 218},
{\it Lecture Notes in Physics}, pp. 23-51. Springer.
\bibitem [Edwards et al. (2017)]{EdwardsVirouletKokelaarGray2017}
{\sc Edwards, A. N., Viroulet, S., Kokelaar, B. P. and
Gray, J. M. N. T.} 2017 Formation of levees, troughs and elevated
channels by avalanches on erodible slopes {\it J. Fluid Mech.},
{\bf 823}, pp. 278-315.
\bibitem[Hwang et al (1970)] {Hwang70}
{\sc Hwang, L.-S. and Tuck, E.O.} 1970 On the oscillations of
harbours of arbitrary shape {\it J.~Fluid Mech.}, {\bf42},
pp 447-464.
\bibitem[Josep and Saut (1990)] {JosephSaut1990}
{\sc Joseph, Daniel D. and Saut, Jean Claude} 1990 Short-wave
instabilities and ill-posed initial-value problems {\it Theoretical
and Computational Fluid Dynamics}, {\bf 1}, pp.191--227,
{\url{http://dx.doi.org/10.1007/BF00418002}}.
\bibitem[Worster (1992)] {Worster92}
{\sc Worster, M.G.} 1992 The dynamics of mushy layers {\it Interactive
dynamics of convection and solidification}, {(ed. S.H. Davis and H.E.
Huppert and W. Muller and M.G. Worster)}, pp. 113--138 {Kluwer}.
\bibitem[Koch(1983)] {Koch83}
{\sc Koch, W.} 1983 Resonant acoustic frequencies of flat plate
cascades {\it J.~Sound Vib.}, {\bf 88}, pp. 233-242.
\bibitem[Lee(1971)] {Lee71}
{\sc Lee, J.-J.} 1971 Wave-induced oscillations in harbours of
arbitrary geometry {\it J.~Fluid Mech.}, {\bf 45}, pp. 375-394.
\bibitem[Linton and Evans (1992)] {Linton92}
{\sc Linton, C.M. and Evans, D.V.} 1992 The radiation and scattering
of surface waves by a vertical circular cylinder in a channel
{\it Phil.\ Trans.\ R. Soc.\ Lond.}, {\bf 338}, pp. 325-357.
\bibitem [Martin(1980] {Martin80}
{\sc Martin, P.A.} 1980 On the null-field equations for the exterior
problems of acoustics {\it Q.~J. Mech.\ Appl.\ Maths},{\bf 33},
pp. 385--396.
\bibitem [Rogallo(1981)] {Rogallo81}
{\sc Rogallo, R.S.} 1981 Numerical experiments in homogeneous
turbulence { {\it Tech. Rep.} 81835} {NASA Tech.\ Mem}.
\bibitem[Ursell(1950)] {Ursell50}
{\sc Ursell, F.} 1950 Surface waves on deep water in the presence of a
submerged cylinder i {\it Proc.\ Camb.\ Phil.\ Soc.}, {\bf 46},
pp.141--152.
\bibitem[Wijngaarden (1968)]{Wijngaarden68}
{\sc van Wijngaarden, L.} 1968 On the oscillations Near and at resonance
in open pipes {\it J.~Engng Maths},{\bf 2}, pp. 225--240.
\bibitem[Miller (1991)]{Miller91}
{\sc Miller, P.L.} 1991 Mixing in high Schmidt number turbulent jets
{school {PhD thesis}} {California Institute of Technology}.
\end{thebibliography}
\end{verbatim}
%
This list typesets as shown at the end of this guide.
Each entry takes the form
%
\begin{verbatim}
\bibitem[\protect\citename{Author(s), }Date]{tag}
Bibliography entry
\end{verbatim}
%
where \verb"Author(s)"\ should be the author names as they are cited in
the text, \verb"Date" is the date to be cited in the text, and \verb"tag"
is the tag that is to be used as an argument for the \verb"\cite{}" command.
\verb"Bibliography entry" should be the
material that is to appear in the bibliography, suitably formatted. This
rather unwieldy scheme makes up for the lack of an author-date system in
LaTeX.
\section{Notes for Editors}
This appendix contains additional information which may be useful to
those who are involved with the final production stages of an article.
Authors, who are generally not typesetting the final pages in the
journal's typeface (Monotype Times), do not need this information.
\subsection{Editing reference citations}
There different type of cross citation such as \verb"\citep", \verb"\citet" , \verb"\citeyear"
etc. of the natbib descriptions are available in the document can be find in the web
link \url{https://ctan.org/pkg/natbib?lang=en}.
Please use the exact natbib command to display reference citations like \citep{Arntzenius2012} "(Author et al., 1990)" use \verb"\citep{key}" to get the desired output.
% \cite{mundy_metaphysics_1987,Field1980,Field1980y,Field1980z,field_can_1984,PerryForthcoming-PERPEQ,Hoelder1901,eddon_fundamental_????,Arntzenius2012}
%
% \bibliographystyle{jfm}
% \bibliography{jfm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Citations and references}
All papers included in the References section must be cited in the article, and vice versa. Citations should be included as, for example ``It has been shown \citep{Rogallo81} that...'' (using the {\verb}\citep}} command, part of the natbib package) ``recent work by \citet{Dennis85}...'' (using {\verb}\citet}}).
The natbib package can be used to generate citation variations, as shown below.\\
\verb#\citet[pp. 2-4]{Hwang70}#:\\
\citet[pp. 2-4]{Hwang70} \\
\verb#\citep[p. 6]{Worster92}#:\\
\citep[p. 6]{Worster92}\\
\verb#\citep[see][]{Koch83, Lee71, Linton92}#:\\
\citep[see][]{Koch83, Lee71, Linton92}\\
\verb#\citep[see][p. 18]{Martin80}#:\\
\citep[see][p. 18]{Martin80}\\
\verb#\citep{Brownell04,Brownell07,Ursell50,Wijngaarden68,Miller91}#:\\
\citep{Brownell04,Brownell07,Ursell50,Wijngaarden68,Miller91}\\
\citep{Briukhanovetal1967}\\
\cite{Bouguet01}\\
\citep{JosephSaut1990}\\
The References section can either be built from individual \verb#\bibitem# commands, or can be built using BibTex. The BibTex files used to generate the references in this document can be found in the JFM {\LaTeX} template files folder provided on the website \href{https://www.cambridge.org/core/journals/journal-of-fluid-mechanics/information/author-instructions/preparing-your-materials}{here}.
Where there are up to ten authors, all authors' names should be given in the reference list. Where there are more than ten authors, only the first name should appear, followed by {\it {et al.}}
\section{Miscellaneous section heads}
Philosophy of Science asks authors to include Acknowledgments, Declarations (of competing interests), and Funding Information in your typeset manuscript. Please add three sections, reflecting each of these categories, using ``bmhead'' coding as shown below.
\begin{verbatim}
\begin{bmhead}[Xxxxxxx.]
For the custom heading such as acknowledgment, funding disclosure,
conflict disclosure and any other like-wise sections must be
mentioned in the optional braces as shown in this example.
\end{bmhead}
\end{verbatim}
The output of the above coding is shown below:
\begin{bmhead}[Xxxxxxx.]
For the custom heading such as acknowledgment, funding disclosure,
conflict disclosure and any other like-wise sections must be
mentioned in the optional braces as shown in this example.
\end{bmhead}
% \backsection[Supplementary data]{\label{SupMat}Supplementary material and movies are available at \\https://doi.org/10.1017/jfm.2019...}
%
% \backsection[Acknowledgements]{Acknowledgements may be included at the end of the paper, before the References section or any appendices. Several anonymous individuals are thanked for contributions to these instructions.}
%
% \backsection[Funding]{Please provide details of the sources of financial support for all authors, including grant numbers. Where no specific funding has been provided for research, please provide the following statement: "This research received no specific grant from any funding agency, commercial or not-for-profit sectors." }
%
% \backsection[Declaration of interests]{A Competing Interests statement is now mandatory in the manuscript PDF. Please note that if there are no conflicts of interest, the declaration in your PDF should read as follows: {\bf Declaration of Interests}. The authors report no conflict of interest.}
%
% \backsection[Data availability statement]{The data that support the findings of this study are openly available in [repository name] at http://doi.org/[doi], reference number [reference number]. See JFM's \href{https://www.cambridge.org/core/journals/journal-of-fluid-mechanics/information/journal-policies/research-transparency}{research transparency policy} for more information}
%
% \backsection[Author ORCIDs]{Authors may include the ORCID identifers as follows. F. Smith, https://orcid.org/0000-0001-2345-6789; B. Jones, https://orcid.org/0000-0009-8765-4321}
%
% \backsection[Author contributions]{Authors may include details of the contributions made by each author to the manuscript'}
%\appendix
\begin{appen}
\section{}\label{appA}
In order not to disrupt the narrative flow, purely technical material may be included in the appendices. This material should corroborate or add to the main result and be essential for the understanding of the paper. It should be a small proportion of the paper and must not be longer than the paper itself.
\end{appen}\clearpage
%\bibliographystyle{jfm}
%\bibliography{jfm}
%Use of the above commands will create a bibliography using the .bib file. Shown below is a bibliography built from individual items.
\begin{thebibliography}{}
\expandafter\ifx\csname natexlab\endcsname\relax
\def\natexlab#1{#1}\fi
\expandafter\ifx\csname selectlanguage\endcsname\relax
\def\selectlanguage#1{\relax}\fi
\bibitem[Batchelor (1971)]{Batchelor59}
{\sc Batchelor, G.K.} 1971 {Small-scale variation of convected quantities like temperature in turbulent fluid part1, general discussion and the case of small conductivity}, {\it J. Fluid Mech.}, {\bf 5}, pp. 3-113-133.
\bibitem [Bouguet (2008)]{Bouguet01}
{\sc Bouguet, J.-Y} 2008 Camera Calibration Toolbox for Matlab {\url{http://www.vision.caltech.edu/bouguetj/calib_doc/}}.
\bibitem[Briukhanovetal et al (1967)] {Briukhanovetal1967}
{\sc Briukhanov, A. V., Grigorian, S. S., Miagkov, S. M., Plam, M. Y., I. E. Shurova, I. E., Eglit, M. E. and Yakimov, Y. L.} 1967
{On some new approaches to the dynamics of snow avalanches},
{\it Physics of Snow and Ice, Proceedings of the International Conference on Low Temperature Science}
{Vol 1} pp. 1221--1241 {Institute of Low Temperature Science, Hokkaido University, Sapporo, Hokkaido, Japan}.
\bibitem[Brownell (2004)]{Brownell04}
{\sc Brownell, C.J. and Su, L.K.} 2004 {Planar measurements of differential diffusion in turbulent jets}, {\it AIAA Paper}, pp. 2004-2335.
\bibitem[Brownell and Su (2007)] {Brownell07}
{\sc Brownell, C.J. and Su, L.K.} 2007 {Scale relations and spatial spectra in a differentially diffusing jet}, {\it AIAA Paper}, pp 2007-1314.
\bibitem [Dennis (1985)] {Dennis85}
{\sc Dennis, S.C.R.} 1985 {Compact explicit finite difference approximations to the Navier--Stokes equation}, { In \it Ninth Intl Conf. on Numerical Methods in Fluid Dynamics}, {ed Soubbaramayer and J.P. Boujot}, {Vol 218}, {\it Lecture Notes in Physics}, pp. 23-51. Springer.
\bibitem [Edwards et al. (2017)]{EdwardsVirouletKokelaarGray2017}
{\sc Edwards, A. N., Viroulet, S., Kokelaar, B. P. and Gray, J. M. N. T.} 2017 Formation of levees, troughs and elevated channels by avalanches on erodible slopes {\it J. Fluid Mech.}, {\bf 823}, pp. 278-315.
\bibitem[Hwang et al (1970)] {Hwang70}
{\sc Hwang, L.-S. and Tuck, E.O.} 1970 On the oscillations of harbours of arbitrary shape {\it J.~Fluid Mech.}, {\bf42}, pp 447-464.
\bibitem[Josep and Saut (1990)] {JosephSaut1990}
{\sc Joseph, Daniel D. and Saut, Jean Claude} 1990 Short-wave instabilities and ill-posed initial-value problems {\it Theoretical and Computational Fluid Dynamics}, {\bf 1}, pp.191--227, {\url{http://dx.doi.org/10.1007/BF00418002}}.
\bibitem[Worster (1992)] {Worster92}
{ \sc Worster, M.G.} 1992 The dynamics of mushy layers {\it Interactive dynamics of convection and solidification},
{(ed. S.H. Davis and H.E. Huppert and W. Muller and M.G. Worster)}, pp. 113--138 {Kluwer}.
\bibitem[Koch(1983)] {Koch83}
{\sc Koch, W.} 1983 Resonant acoustic frequencies of flat plate cascades {\it J.~Sound Vib.}, {\bf 88}, pp. 233-242.
\bibitem[Lee(1971)] {Lee71}
{\sc Lee, J.-J.} 1971 Wave-induced oscillations in harbours of arbitrary geometry {\it J.~Fluid Mech.}, {\bf 45}, pp. 375-394.
\bibitem[Linton and Evans (1992)] {Linton92}
{\sc Linton, C.M. and Evans, D.V.} 1992 The radiation and scattering of surface waves by a vertical circular cylinder in a channel {\it Phil.\ Trans.\ R. Soc.\ Lond.}, {\bf 338}, pp. 325-357.
\bibitem [Martin(1980] {Martin80}
{\sc Martin, P.A.} 1980 On the null-field equations for the exterior problems of acoustics {\it Q.~J. Mech.\ Appl.\ Maths},{\bf 33}, pp. 385--396.
\bibitem [Rogallo(1981)] {Rogallo81}
{\sc Rogallo, R.S.} 1981 Numerical experiments in homogeneous turbulence { {\it Tech. Rep.} 81835} {NASA Tech.\ Mem}.
\bibitem[Ursell(1950)] {Ursell50}
{\sc Ursell, F.} 1950 Surface waves on deep water in the presence of a submerged cylinder i {\it Proc.\ Camb.\ Phil.\ Soc.}, {\bf 46}, pp.141--152.
\bibitem[Wijngaarden (1968)]{Wijngaarden68}
{\sc van Wijngaarden, L.} 1968 On the oscillations Near and at resonance in open pipes {\it J.~Engng Maths},{\bf 2}, pp. 225--240.
\bibitem[Miller (1991)]{Miller91}
{ \sc Miller, P.L.} 1991 Mixing in high Schmidt number turbulent jets {school {PhD thesis}} {California Institute of Technology}.
\end{thebibliography}
%% End of file `jfm.bib'.
\end{document}