Skip to content

Commit

Permalink
Merge pull request #77 from xylar/update-ocean-users-guide
Browse files Browse the repository at this point in the history
Update Auto-generated Ocean User's Guide
  • Loading branch information
mark-petersen authored May 28, 2024
2 parents 34e3c21 + 4c11459 commit b25fce3
Show file tree
Hide file tree
Showing 10 changed files with 34,177 additions and 20,111 deletions.
4 changes: 2 additions & 2 deletions users_guide/mpas_ocean_users_guide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@

\title{
\Huge MPAS-Ocean User's Guide \\
\LARGE Version: \version}
\LARGE E3SM Version \version}

\author{
\LARGE Climate, Ocean, Sea-Ice Modeling Team\\ \\
\LARGE Los Alamos National Laboratory
}

\date{April 18, 2018}
\date{March 4, 2024}

\maketitle

Expand Down
2 changes: 1 addition & 1 deletion users_guide/ocean/define_version.tex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
\newcommand{\version}{6.0}
\newcommand{\version}{3.0.0}
108 changes: 58 additions & 50 deletions users_guide/ocean/dimension_table_documentation.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9,105 +9,113 @@ \chapter{Dimensions}
{\bf Name} & {\bf Units} & {\bf Description} (Continued) \endhead
\hline
\hline
nCells & \si{unitless} & The number of polygons in the primary grid. \\
nCells & -- & The number of polygons in the primary grid. \\
\hline
nCellsP1 & \si{unitless} & The number of polygons in the primary grid. \\
nCellsP1 & -- & The number of polygons in the primary grid. \\
\hline
nEdges & \si{unitless} & The number of edge midpoints in either the primary or dual grid. \\
nEdges & -- & The number of edge midpoints in either the primary or dual grid. \\
\hline
nEdgesP1 & \si{unitless} & The number of edge midpoints in either the primary or dual grid. \\
nEdgesP1 & -- & The number of edge midpoints in either the primary or dual grid. \\
\hline
maxEdges & \si{unitless} & The largest number of edges any polygon within the grid has. \\
maxEdges & -- & The largest number of edges any polygon within the grid has. \\
\hline
maxEdges2 & \si{unitless} & Two times the largest number of edges any polygon within the grid has. \\
maxEdges2 & -- & Two times the largest number of edges any polygon within the grid has. \\
\hline
nAdvectionCells & \si{unitless} & The largest number of advection cells for any edge. \\
nVertices & -- & The total number of cells in the dual grid. Also the number of corners in the primary grid. \\
\hline
nVertices & \si{unitless} & The total number of cells in the dual grid. Also the number of corners in the primary grid. \\
nVerticesP1 & -- & The total number of cells in the dual grid. Also the number of corners in the primary grid. \\
\hline
nVerticesP1 & \si{unitless} & The total number of cells in the dual grid. Also the number of corners in the primary grid. \\
bnds & -- & The number of coordinate bound \\
\hline
TWO & \si{unitless} & The number two as a dimension. \\
TWO & -- & The number two as a dimension. \\
\hline
R3 & \si{unitless} & The number three as a dimension. \\
R3 & -- & The number three as a dimension. \\
\hline
FOUR & \si{unitless} & The number four as a dimension. \\
FOUR & -- & The number four as a dimension. \\
\hline
SIX & \si{unitless} & The number six as a dimension. \\
FIVE & -- & The number five as a dimension. \\
\hline
FIFTEEN & \si{unitless} & The number 15 as a dimension. \\
SIX & -- & The number six as a dimension. \\
\hline
TWENTYONE & \si{unitless} & The number 21 as a dimension. \\
FIFTEEN & -- & The number 15 as a dimension. \\
\hline
vertexDegree & \si{unitless} & The number of cells or edges touching each vertex. \\
TWENTYONE & -- & The number 21 as a dimension. \\
\hline
nVertLevels & \si{unitless} & The number of levels in the vertical direction. All vertical levels share the same horizontal locations. \\
vertexDegree & -- & The number of cells or edges touching each vertex. \\
\hline
nVertLevelsP1 & \si{unitless} & The number of interfaces in the vertical direction. \\
nVertLevels & -- & The number of levels in the vertical direction. All vertical levels share the same horizontal locations. \\
\hline
nPoints & \si{unitless} & The number of points for AM\_pointwiseStats \\
nVertLevelsP1 & -- & The number of interfaces in the vertical direction. \\
\hline
nPointGroups & \si{unitless} & The number of points groups \\
nPoints & -- & The number of points for AM\_pointwiseStats \\
\hline
maxPointsInGroup & \si{unitless} & The maximum number of points in any group. \\
nPointGroups & -- & The number of points groups \\
\hline
nRegions & \si{unitless} & Number of regions. \\
maxPointsInGroup & -- & The maximum number of points in any group. \\
\hline
nRegionGroups & \si{unitless} & Number of groups of regions. \\
nRegions & -- & Number of regions. \\
\hline
maxRegionsInGroup & \si{unitless} & Maximum number of regions in a group. \\
nRegionGroups & -- & Number of groups of regions. \\
\hline
nTransects & \si{unitless} & The number of transects for AM transectTransport \\
maxRegionsInGroup & -- & Maximum number of regions in a group. \\
\hline
nTransectGroups & \si{unitless} & Number of groups of regions. \\
nTransects & -- & The number of transects for AM transectTransport \\
\hline
maxTransectsInGroup & \si{unitless} & Maximum number of regions in a group. \\
nTransectGroups & -- & Number of groups of regions. \\
\hline
maxEdgesInTransect & \si{unitless} & Max number of edges in a transect for AM transectTransport \\
maxTransectsInGroup & -- & Maximum number of regions in a group. \\
\hline
nForcingGroupsMax & {\bf \color{red} MISSING} & Number of forcing groups \\
maxEdgesInTransect & -- & Max number of edges in a transect for AM transectTransport \\
\hline
nDepthTracerIC & \si{unitless} & The number of levels in the vertical direction for tracer initial conditions \\
nForcingGroupsMax & -- & Number of forcing groups \\
\hline
nDepthEcosysIC & \si{unitless} & The number of levels in the vertical direction for ecosystem tracer initial conditions \\
maxTidalConstituents & -- & Max number of tidal potential constituents \\
\hline
nSfcAreaWeightedAvgFields & \si{unitless} & A number equal to or greater than the number of var arrays in the surfaceAreaWeightedAveragesAM var structure below. \\
maxTidalConstituentsX2 & -- & Max number of tidal potential constituents \\
\hline
nOceanRegions & \si{unitless} & The number of regions defined within the global ocean (will eventually be moved up and used uniformly across MPAS-O. \\
nStokesDriftWavenumbers & -- & Number of wavenumbers used to reconstruct Stokes drift depth profile \\
\hline
nTemperatureBins & \si{unitless} & The number of temperature bins to be used to span from minTemperature to maxTemperature \\
nSfcAreaWeightedAvgFields & -- & A number equal to or greater than the number of var arrays in the surfaceAreaWeightedAveragesAM var structure below. \\
\hline
nSalinityBins & \si{unitless} & The number of salinity bins to be used to span from minSalinity to maxSalinity \\
nOceanRegions & -- & The number of regions defined within the global ocean (will eventually be moved up and used uniformly across MPAS-O. \\
\hline
nTemperatureBinsP1 & \si{unitless} & The number of temperature bin edge values to be used to span from minTemperature to maxTemperature \\
nTemperatureBins & -- & The number of temperature bins to be used to span from minTemperature to maxTemperature \\
\hline
nSalinityBinsP1 & \si{unitless} & The number of salinity bins edge values to be used to span from minSalinity to maxSalinity \\
nSalinityBins & -- & The number of salinity bins to be used to span from minSalinity to maxSalinity \\
\hline
nOceanRegionsTmpCensus & \si{unitless} & The number of regions defined within the global ocean (will eventually be moved up and used uniformly across MPAS-O. \\
nTemperatureBinsP1 & -- & The number of temperature bin edge values to be used to span from minTemperature to maxTemperature \\
\hline
nLayerVolWeightedAvgFields & \si{unitless} & A number equal to or greater than the number of var arrays in the layerVolumeWeightedAverageAM var structure below. \\
nSalinityBinsP1 & -- & The number of salinity bins edge values to be used to span from minSalinity to maxSalinity \\
\hline
nOceanRegionsTmp & \si{unitless} & The number of regions defined within the global ocean (will eventually be moved up and used uniformly across MPAS-O. \\
nOceanRegionsTmpCensus & -- & The number of regions defined within the global ocean (will eventually be moved up and used uniformly across MPAS-O. \\
\hline
nZonalMeanBins & \si{unitless} & Number of bins for zonal mean. \\
nLayerVolWeightedAvgFields & -- & A number equal to or greater than the number of var arrays in the layerVolumeWeightedAverageAM var structure below. \\
\hline
nZonalMeanBinsP1 & \si{unitless} & Number of bins for zonal mean, plus one. \\
nOceanRegionsTmp & -- & The number of regions defined within the global ocean (will eventually be moved up and used uniformly across MPAS-O. \\
\hline
nMerHeatTransBins & \si{unitless} & Maximum number of bins for meridional heat transport. \\
nZonalMeanBins & -- & Number of bins for zonal mean. \\
\hline
nMerHeatTransBinsP1 & \si{unitless} & Maximum number of bins for meridional heat transport, plus one. \\
nZonalMeanBinsP1 & -- & Number of bins for zonal mean, plus one. \\
\hline
nParticles & \si{unitless} & The total number of particles in the simlulation. \\
nMerHeatTransBins & -- & Maximum number of bins for meridional heat transport. \\
\hline
nBuoyancySurfaces & \si{unitless} & The total number of buoyancy surfaces on which to interpolate velocity. \\
nMerHeatTransBinsP1 & -- & Maximum number of bins for meridional heat transport, plus one. \\
\hline
nBuoyancyLayers & {\bf \color{red} MISSING} & The number of buoyancy layers used for buoyancy coordinates. \\
nParticles & -- & The total number of particles in the simlulation. \\
\hline
nBuoyancyLayersP1 & {\bf \color{red} MISSING} & The number of interfaces between buoyancy layers used for buoyancy coordinates. \\
nBuoyancySurfaces & -- & The total number of buoyancy surfaces on which to interpolate velocity. \\
\hline
nMocStreamfunctionBins & \si{unitless} & Maximum number of bins in South-to-North direction for moc streamfunction. \\
nBuoyancyLayers & -- & The number of buoyancy layers used for buoyancy coordinates. \\
\hline
nMocStreamfunctionBinsP1 & \si{unitless} & Maximum number of Lat bins for moc streamfunction, plus one. \\
nBuoyancyLayersP1 & -- & The number of interfaces between buoyancy layers used for buoyancy coordinates. \\
\hline
nMocStreamfunctionBins & -- & Maximum number of bins in South-to-North direction for moc streamfunction. \\
\hline
nMocStreamfunctionBinsP1 & -- & Maximum number of Lat bins for moc streamfunction, plus one. \\
\hline
nDepthTracerIC & \si{unitless} & The number of levels in the vertical direction for tracer initial conditions \\
\hline
nDepthEcosysIC & \si{unitless} & The number of levels in the vertical direction for ecosystem tracer initial conditions \\
\hline
\end{longtable}
\end{center}
Expand Down
48 changes: 17 additions & 31 deletions users_guide/ocean/foreword.tex
Original file line number Diff line number Diff line change
@@ -1,34 +1,20 @@
\chapter*{Foreword}
\label{chap:foreword}
The Model for Prediction Across Scales-Ocean (MPAS-Ocean) is an unstructured-mesh ocean model capable of using enhanced horizontal resolution in selected regions of the ocean domain. Model domains may be spherical with bottom topography to simulate the earth's oceans, or on Cartesian domains for idealized experiments. The global meshes, created using Spherical Centroidal Voronoi Tesselations \citep{Ringler_ea08od,Ringler_ea11mwr} consist of gridcells that vary smoothly from low to high resolution regions. Numerical algorithms specifically designed for these grids guarantee that mass, tracers, potential vorticity (in isopycnal mode) and energy are conserved \citep{Thurburn_ea09jcp,Ringler_ea10jcp}. MPAS-Ocean high-resolution and variable-resolution global simulations, as well as descriptions of mesh generation, model capabilities, and algorithms, are presented in \citet{Ringler_ea13om}. The vertical grid is detailed in \citet{Petersen_ea14om}, including the Arbitrary Lagrangian Eulerian method, a variety of vertical coordinates, and results from five test cases.

MPAS-Ocean is one component within the MPAS framework of climate models that is developed in cooperation between Los Alamos National Laboratory (LANL) and the National Center for Atmospheric Research (NCAR). Functionality that is required by all cores, such as i/o, time management, block decomposition, etc, is developed collaboratively, and this code is shared across cores within the same repository. Each core then solves its own differential equations and physical parameterizations within this framework. This user's guide reflects the spirit of this collaborative process, where Part I, ``The MPAS Framework'', applies to all cores, and the remaining parts apply to MPAS-Ocean.

This release of the ocean model corresponds with the initial release of the Energy Exascale Earth System Model (E3SM) by the U.S. Department of Energy (see \href{https://e3sm.org}{https://e3sm.org/}). E3SM includes MPAS components for ocean, sea ice, and land ice. Each component may be run as a stand-alone model, or coupled within E3SM. MPAS-Ocean now includes biogeochemistry modules, and the ability to control groups of tracers.

Information about MPAS-Ocean, including the most recent code, user's guide, and test cases, may be found at \url{http://mpas-dev.github.com}. This user's guide refers to version \version.


\vspace{8pt}
\noindent
{\bf Contributors to this guide:}\\
Mark R. Petersen, Xylar S. Asay-Davis,
Douglas W. Jacobsen, Mathew E. Maltrud, Todd D. Ringler,
Luke P. Van Roekel,
Phillip J. Wolfram
\\
{\bf Additional contributors to MPAS Framework sections:}\\
Michael Duda, Matthew Hoffman

\vspace{8pt}
\noindent
{\scriptsize
{\it This research was supported as part of the Energy Exascale Earth System Model
(E3SM) project, funded by the U.S. Department of Energy, Office of Science,
Office of Biological and Environmental Research.
} \\
LA-UR-13-24348. Cover image created by M. Petersen and P. Wolfram.}




This User's Guide is for the Model for Prediction Across Scales-Ocean
(MPAS-Ocean), the ocean component of the Energy Exascale Earth System Model
(E3SM), developed by the U.S. Department of Energy. Herein we describe the
equations, namelist options, and variables for MPAS-Ocean. These settings apply
to both the standalone ocean-only version of MPAS-Ocean, and E3SM version that
is coupled to the atmosphere, sea ice, land ice, land and river components.

The MPAS-Ocean code for both standalone and coupled is housed in the repository
\url{https://github.com/E3SM-Project/E3SM}, within the directory
\texttt{components/mpas-ocean}. The standalone executable may be built within
that directory using the make command with the required libraries, as described
in Chapter 1 of this guide.

Documentation for the E3SM coupled climate model may be found on the
\href{https://docs.e3sm.org/E3SM/}{E3SM docs pages}, the
\href{https://acme-climate.atlassian.net/wiki/spaces/DOC/overview?homepageId=1931641291}{E3SM Documentation webpage},
or the \href{https://github.com/E3SM-Project/E3SM}{E3SM repository homepage}.
28 changes: 17 additions & 11 deletions users_guide/ocean/history.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,33 @@ \chapter*{History}
A history of MPAS-Ocean releases follows. Each MPAS core does not participate in all releases, which is why some numbers are missing.


\begin{tabular}{ll p{4in}}
\begin{tabular}{ll p{4in}}
\hline\hline version & date & description of new additions \\
\hline
6.0 & April 18, 2018 &
\hline
E3SM 3.0.0 & March 4, 2024 &
MPAS-Ocean was moved from the MPAS-Dev repository via an E3SM submodule to code
directly within the E3SM repository. Many new features and improvements have
been added.
\\
\hline
6.0 & April 18, 2018 &
Ability to couple with E3SM.
New in-situ analysis computations.
Division of tracers into groups to control output, algorithms, and forcing.
Addition of biogeochemistry tracers and column computations.
\\
\hline
3.0 & November 18th, 2014 &
\hline
3.0 & November 18th, 2014 &
GM mesoscale eddy parameterization, CVMix vertical mixing module (includes KPP), forward/analysis modes, variable pools data structures, and run-time configurable i/o streams \\
\hline
2.0 & November 15th, 2013 &
\hline
2.0 & November 15th, 2013 &
Surface forcing capabilities, Arbitrary Lagrangian-Eulerian vertical grid for z-level, z-star, z-tilde, sigma, idealized isopycnal \\
\hline
\hline
1.0 & June 14th, 2013 & Primitive equation (hydrostatic) ocean model for idealized and realistic global domains using split-explicit time-stepping, flux-corrected transport advection, Jackett-McDougall EOS, harmonic/biharmonic horizontal mixing, and implicit Richardson number-based vertical mixing. Vertical coordinate may be z-level or z-star with partial bottom cells, or idealized isopycnal. \\
\hline
\hline
0.0 & June 14th, 2013 & Initial pre-release of MPAS \\
\hline
\end{tabular}
\hline
\end{tabular}



Expand Down
Loading

0 comments on commit b25fce3

Please sign in to comment.