Skip to content

some bugs fixed etc #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# WRF-ARW Technical Documentation

1. forked/[synced](https://github.com/KirstieJane/STEMMRoleModels/wiki/Syncing-your-fork-to-the-original-repository-via-the-browser) from [wrf-model/TechNote](https://github.com/wrf-model/TechNote)
1. cloned into Overleaf for some [minor editing](https://github.com/jobonaf/WRF-ARW-TechNote/commits/master)
1. from Overleaf: pushed back to this repository (in Overleaf dashboard: Menu > Sync > Github)
1. from Overleaf: compiled, PDF downloaded
1. PDF [published in figshare](https://ndownloader.figshare.com/files/13627070)
8 changes: 4 additions & 4 deletions cover.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
\pagestyle{empty}
%\begin{latexonly}
\begin{center}
\section*{ }
%\section*{ }
\begin{tabular}{lr|l}
&\textsf{NCAR/TN--475+STR}&\hspace{0.5cm}{ }\\
% &\textsf{NCAR/TN--475+STR}&\hspace{0.5cm}{ }\\
&\textsf{\textbf{NCAR TECHNICAL NOTE}}&\\ \hline
&June 2008&\\[1cm]
&January 2019&\\[1cm]
\multicolumn{2}{l|}
{\LARGE \textsf{\textbf{A Description of the \hphantom{Advanced Research}}}}
&\\ [5pt]

\multicolumn{2}{l|}
{\LARGE \textsf{\textbf{Advanced Research WRF Version 3}}}
{\LARGE \textsf{\textbf{Advanced Research WRF Version 4}}}
&\\[1cm]

\normalsize
Expand Down
18 changes: 9 additions & 9 deletions description.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@
%\usepackage[square]{natbib}
%
% Use locally modified jgr bibliography style
\bibliographystyle{jgr}
%\bibliographystyle{jgr}
%
% Use changebar package for highlighting changes
\usepackage{changebar}
%
% Use fancyheadings package for headers and footers
\usepackage{fancyheadings}
\usepackage{fancyhdr}
\usepackage[headheight=15pt]{geometry}
\lhead[\wrf~Scientific Description]{\wrf~Scientific Description}
\rhead[June 27, 2005]{June 27, 2005}
\rhead[January 9, 2019]{January 9, 2019}
% Use hyperref to insert links in pdf documents
%\usepackage[colorlinks,citecolor=black,linkcolor=black,urlcolor=black]{hyperref}
\usepackage[colorlinks,citecolor=blue,linkcolor=red,urlcolor=cyan]{hyperref}
\usepackage[colorlinks,citecolor=black,linkcolor=black,urlcolor=black]{hyperref}
%\usepackage[colorlinks,citecolor=blue,linkcolor=red,urlcolor=cyan]{hyperref}
%
%\usepackage{html}
%\begin{htmlonly}
Expand Down Expand Up @@ -56,8 +57,8 @@
\newcommand{\xmathbf}{\boldsymbol}

\begin{document}
\pagestyle{plain}
%\pagestyle{fancy}
%\pagestyle{plain}
\pagestyle{fancy}

% preliminary pages
\include{cover}
Expand Down Expand Up @@ -94,6 +95,5 @@
%
% bibliography
\addcontentsline{toc}{chapter}{\numberline{}References}
\bibliography{description}

\input{description.bbl}
\end{document}
10 changes: 5 additions & 5 deletions discretization.tex
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,9 @@ \section{Spatial Discretization}
%
% Figure 3.something
%
\begin{figure}
\includegraphics *[width=6.5in,bb= 0 0 629.8 325.4]{figures/grids.pdf}
\caption{\label{figure:2}Horizontal and vertical grids of the ARW}
\begin{figure}[ht]
\fbox{\includegraphics[trim=0 1cm 0 16cm, clip=true, width=6.5in]{figures/grids.pdf}}
\caption{\label{figure:2}Horizontal (left) and vertical (right) grids of the ARW}
\end{figure}

\subsection{Acoustic Step Equations}
Expand Down Expand Up @@ -1179,7 +1179,7 @@ \subsubsection{Positive-Definite Limiter for RK3 Advection}
% figure 3.2 for polar b.c
%
\begin{figure}
\includegraphics *[width=6.5in,bb= 0 0 419 183]{figures/polar_bc.pdf}
\includegraphics *[trim=0 0.1cm 0 0.1cm, clip=true, width=6.5in]{figures/polar_bc.pdf}
\caption{\label{figure_pole} Latitude-longitude grid structure in the
pole region. In the ARW formulation, $r_e\Delta\psi = \Delta y/m_y $.}
\end{figure}
Expand Down Expand Up @@ -1498,7 +1498,7 @@ \subsection{Adaptive Time Step}
\end{equation}
\begin{equation}
\Delta t = min ( max ( \Delta t, \Delta t_{min} ) , \Delta t_{max} ),
\label{adapt_bound_min_timestep}
\label{adapt_bound_timestep}
\end{equation}
%
\noindent
Expand Down
32 changes: 16 additions & 16 deletions equation.tex
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ \section{Vertical Coordinate and Flux-Form Variables}
vertical coordinate. In previous versions of the ARW, $\eta$ was defined as
%
\begin{equation}
\eta = {p_d-p_{t}\over p_{s}-p_{t}},
\eta = {\frac{p_d-p_{t}}{p_{s}-p_{t}}},
\label{eta_def}
\end{equation}
where $p_d$ is the hydrostatic component of the pressure of dry air, and
Expand Down Expand Up @@ -74,10 +74,10 @@ \section{Vertical Coordinate and Flux-Form Variables}
such that
%
\begin{equation}
c_1={2\eta_c^2\over(1-\eta_c)^3}, \quad
c_2={-\eta_c(4+\eta_c+\eta_c^2)\over(1-\eta_c)^3}, \quad
c_3={2(1+\eta_c+\eta_c^2)\over(1-\eta_c)^3}, \quad
c_4={-(1+\eta_c)\over\ \ \ (1-\eta_c)^3},
c_1={\frac{2\eta_c^2}{(1-\eta_c)^3}}, \quad
c_2={\frac{-\eta_c(4+\eta_c+\eta_c^2)}{(1-\eta_c)^3}}, \quad
c_3={\frac{2(1+\eta_c+\eta_c^2)}{(1-\eta_c)^3}}, \quad
c_4={\frac{-(1+\eta_c)}{(1-\eta_c)^3}},
\label{B_cof}
\end{equation}
where $\eta_c$ is a specified value of $\eta$ at which it becomes a pure pressure coordinate.%
Expand All @@ -95,7 +95,7 @@ \section{Vertical Coordinate and Flux-Form Variables}
The vertical coordinate metric is defined as
%
\begin{equation}
\mu_d= {\partial p_d\over\partial\eta} = B_\eta(\eta)(p_s-p_t) +[1-B_\eta(\eta)](p_0-p_t). \label{mu_def}
\mu_d= {\frac{\partial p_d}{\partial\eta}} = B_\eta(\eta)(p_s-p_t) +[1-B_\eta(\eta)](p_0-p_t). \label{mu_def}
\end{equation}
%
Since $\mu_d \Delta\eta=\Delta p_d=-g\rho_d \Delta z$ is proportional to the mass per unit area within a
Expand Down Expand Up @@ -237,7 +237,7 @@ \section{Map Projections, Coriolis and Curvature Terms}
in computational space to the corresponding distance on the earth's surface:

\begin{equation}
(m_x,m_y) = {(\Delta x, \Delta y) \over \hbox{distance on the earth}}.
(m_x,m_y) = {\frac{(\Delta x, \Delta y)}{\hbox{distance on the earth}}}.
\label{map_scale}
\end{equation}
%
Expand Down Expand Up @@ -323,19 +323,19 @@ \section{Map Projections, Coriolis and Curvature Terms}
curvature terms are cast in the following form:

\begin{align}
F_{U_{cor}} & = + {m_x\over m_y}
\ \ \Bigl(f + u {\partial m_x \over
\partial y} - v {\partial m_y \over \partial x}\Bigr) V
- \Bigl( {u \over r_e} + e \cos \alpha_r \Bigr)W \label{u-mom-rhs}
F_{U_{cor}} & = + {\frac{m_x}{m_y}}
\ \ \Bigl(f + u {\frac{\partial m_x}{\partial y}}
- v {\frac{\partial m_y}{\partial x}}\Bigr) V
- \Bigl( {\frac{u}{r_e}} + e \cos \alpha_r \Bigr)W \label{u-mom-rhs}
\\
%
F_{V_{cor}} & = - {m_y\over m_x}\biggl[ \Bigl(f + u {\partial m_x \over
\partial y} - v {\partial m_x \over \partial x}\Bigr) U
+ \Bigl( {v \over r_e} -e \sin \alpha_r \Bigr)W \biggr] \label{v-mom-rhs}
F_{V_{cor}} & = - {\frac{m_y}{m_x}}\biggl[ \Bigl(f + u {\frac{\partial m_x}{\partial y}}
- v {\frac{\partial m_x}{\partial x}}\Bigr) U
+ \Bigl( {\frac{v}{r_e}} -e \sin \alpha_r \Bigr)W \biggr] \label{v-mom-rhs}
\\
%
F_{W_{cor}} & = + e \Bigl(U \cos \alpha_r - {m_x\over m_y}V \sin \alpha_r\Bigr)
+ {1\over r_e}\biggl(uU +{m_x\over m_y}vV \biggr), \label{w-mom-rhs}
F_{W_{cor}} & = + e \Bigl(U \cos \alpha_r - {\frac{m_x}{m_y}}V \sin \alpha_r\Bigr)
+ {\frac{1}{r_e}}\biggl(uU +{\frac{m_x}{m_y}}vV \biggr), \label{w-mom-rhs}
\end{align}
\noindent
where $\alpha_r$ is the local rotation angle between the $y$-axis and the
Expand Down
Empty file modified equation.tex.sav
100755 → 100644
Empty file.
143 changes: 0 additions & 143 deletions figures/.svn/all-wcprops

This file was deleted.

Loading