-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
59 additions
and
72 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
.. role:: cpp(code) | ||
:language: c++ | ||
|
||
.. _sec:Meshing: | ||
|
||
Meshing | ||
============== | ||
|
||
The spatial discretization in ERF uses the classic Arakawa C-grid with | ||
scalar quantities at cell centers and normal velocities at cell faces. | ||
Simulations over complex topography use a terrain-following, height-based vertical coordinate. | ||
When terrain-following coordinates are used, the surface topography at nodes (cell corners) | ||
is specified either analytically or through parsing a text file; all metric terms derive from this quantity. | ||
|
||
As in many atmospheric modeling codes, variable mesh spacing in the vertical direction is allowed with or without terrain. | ||
The heights of each level can be parsed from a text file as ``z levels'' (as in WRF), or calculated at run-time given an | ||
initial mesh spacing at the bottom surface and a specified growth rate. In the presence of non-flat terrain, the mesh is | ||
modified so that it fits the specified terrain at the bottom of the computational domain, and relaxes to flat at the top of the domain. | ||
Three approaches to this are offered in ERF: Basic Terrain Following (BTF), in which the influence of the terrain decreases | ||
linearly with height; Smoothed Terrain Following (STF), in which small-scale terrain structures are progressively smoothed out | ||
of the coordinate system as height increases; or Sullivan Terrain Following (Sullivan), in which the influence of the terrain | ||
decreases with the cube of height. Additionally, ERF includes the capability to apply several common | ||
isotropic map projections (e.g., Lambert Conformal, Mercator); see :ref:`sec:MapFactors` for more details. | ||
Arakawa C-Grid | ||
============== | ||
Variables are located on Arakawa C-grid as pictured in the images below. | ||
.. image:: figures/grid_discretization/Arakawa_1.png | ||
:width: 400 | ||
.. image:: figures/grid_discretization/Arakawa_2.png | ||
:width: 400 | ||
.. image:: figures/grid_discretization/Arakawa_3.png | ||
:width: 400 | ||
.. image:: figures/grid_discretization/Arakawa_4.png | ||
:width: 400 | ||
.. image:: figures/grid_discretization/Arakawa_5.png | ||
:width: 400 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters