NEMOS System Components & Typical Procedures: Tutorial Outline
NEMOS System Components & Typical Procedures: Tutorial Outline
Typical Procedures
NEMOS
Wave, Wind, & Water Level Editor
WIS Phase III Transformation
Wave Statistical Analysis and Visualization
Spectra Generation
Grid Generation
STWAVE / RCPWAVE
Wave Model Visualization
GENESIS
Tidal Current Editor
GENESIS_T
1
List of models in NEMOS
NEMOS file structure: NetCDF Files
Numerical models may both utilize and produce
massive amounts of data during the course of a
simulation. Data editors, models, and analysis
software require the data be efficiently organized
and accessed without unnecessary overhead. To
accomplish this in NEMOS, the Network Common
Data Form (NetCDF) interface was chosen to
meet the NEMOS data requirements.
NetCDF files are binary, direct-access, self-
descriptive, and network transparent. They are
portable on all computer systems where NetCDF
libraries have been ported. Therefore, all NEMOS
files (ASCII and NetCDF) may be utilized on UNIX
and PC Workstations as well as CRAY supercomputers. Although binary in form, NetCDF files can be
converted to an ASCII representation using the ncdump filter. Similarly, properly formatted ASCII files
can be converted to NetCDF format using the ncgen filter. The ncdump and ncgen filter codes are
installed along with CEDAS. There is also an automated ncdump code included in the NetCDF
folder on your CD ROM. See the next slide. Details on using ncdump and ncgen via a DOS command
prompt are given in the Help files.
NetCDF Software – Veri-Tech provides the NCDUMP.exe code (in the NetCDF folder on
your CD – not installed) that converts NetCDF files (*.nc files) to ASCII text.
2
GENESIS Formulation
Longshore net volume change
∆Q∆t = (∂Q/∂x).∆x∆t
Cross-shore net volume change
∆q∆t
Total volume change
∆V = ∆x∆y(DB + DC)
= (∂Q/∂x)∆x∆t + q∆x∆t
∆t -> 0
∂y ∂Q
• − q = 0
1
Reference Slide ∂t
+
(D B + D C ) ∂x
D
ψ
D = ( xs − x0 ) 2 + ( ys − y0 ) 2
Reference Slide N
3
General Information
GENESIS
Basic Data Requirements
Bathymetry
Describes nearshore bathymetric irregularities that cause
local transport gradients and produce non-uniform shoreline
planforms.
Wave Information
Characterizes the primary environmental forcing producing
longshore sediment transport and long-term shoreline
planform change.
GENESIS
File-type Concepts
Configuration
Provides basic model setup and file association information.
Spatial Domain
Defines computation domain including all relevant spatial parameters such
as structures, locations of engineering activities, etc.
Visualization/Field
Output file containing major model results over the entire computational
domain.
Station
Wave file; maybe time or integer indexed and represent offshore waves or
results from nearshore wave transformation model.
Printable output
Output file containing summary of model simulation and basic outputs.
4
Wave model / GENESIS
Grid Relationships
500
GENESIS grid
[JUCAR example]
5
Procedures for Shoreline
Change Modeling
• Develop Offshore Wave Time Series
¾ Import to NEMOS
¾ Statistically Analyse
• Develop Input for Wave Model
¾ Grid generation
¾ Input spectra
• Configure Wave Model
¾ Model Settings / File associations
¾ Simulate
• Develop Input for GENESIS
¾ Configuration / Set-up
¾ Calibrate / Verify
¾ Simulate / Forecast
6
Develop Input for
GENESIS
Configuration
• Simulation title, units, Start/End dates, time step,
animation time step.
• Offshore & nearshore wave, printable output, and
visualization file associations.
• Beach, sand, & transport specifications
• Boundary conditions
Spatial Domain
• Shoreline Position Information – import, coordinate
transformation, model reach preparation.
• Structures – position in grid, length, permeability,
transmission, etc.
• Engineering activities – beach fill, bypassing, etc.
7
Construct a STWAVE model grid and a GENESIS grid
within GRIDGEN
The example chosen is a location on the coast of Spain.
JUCAR
River
8
GRID Generation using GRIDGEN – Steps for importing data
Import JUCAR bathymetry into GRIDGEN – File JUCAR_bathyxyz.txt as
Local [first open GRIDGEN and right click on screen].
1 – Select Import Data
3 – Specify
coordinate
2 - Select file
system
and type
4 – Enter metadata
7 6
Depress the two
buttons shown
5 - Raw data appears by the arrow 7
on screen – right to remove the
click and triangulate display of points
and cells of the
background
grid triangles
9
Next, shoreline points are imported into GRIDGEN – File
JUCARshoreline19570601.XY – this is a text file
[shoreline points can be imported before or after grid construction]
GENESIS auto-grid generation requires you to design the wave model grid to extend landward far
enough to include the desired GENESIS origin. The Create GENESIS Grid button allows you to
click the mouse at the desired location of Cell Wall 1 in the GENESIS grid (red circle). The GENESIS
origin will lie ½ dx away. Cell Wall 1 is forced to coincide with the center of a wave model cell. Its
coordinates are computed and appear in a dialog box that requires the GENESIS dx, axis length,
contour depth where stations are to be placed, and the frequency of station placement.
10
Adjusting location of Station Points selected by GRIDGEN
Automated selection of
Station Points
Adjust by clicking on a
Station Point and dragging
it to the desired location
Final grid for running STWAVE showing all station points and GENESIS grid.
Zoom in on the bathymetry display to see overlay of GENESIS grid. Export the wave
model Spatial Domain file (JUCAR_spd.nc), Station file (JUCAR_sta.nc), and
the GENESIS Spatial Domain file (JUCAR_GEN_spd.nc).
11
Steps in running STWAVE
The next steps before running GENESIS are to analyze wave data
and develop appropriate spectra for running STWAVE. In the
example JUCAR case, statistical summaries for four seasons were
used to generate a representative offshore wave time series, applied
Along the entire ocean boundary, for the original project on the
Spanish coast. These data were analyzed in WSAV and a permuta-
tion file was saved and used in SPECGEN to derive spectra (saved
as file JUCAR_spec.sgn).
Title
Wind specifications
Water level
specifications
Tidal current
specifications
Configuration Tab
12
SPECGEN - Preparation for running STWAVE
For the JUCAR example problem only one year of wave data were available. These
data were analyzed using WSAV to identify 67 different wave height, period, and
direction combinations that represent wave action in the project area. WSAV produces
a permutation file of wave conditions that is used by SPECGEN to derive input spectra
for STWAVE. Sufficient bins are specified to properly represent spectral conditions.
Highest
Recommended Controls Frequency Spread energy
Event 30102
STWAVE simulation
STWAVE requires several files – the example problem
only requires spatial domain, spectrum, field, station, and
print files. In the example JUCAR problem, the files are:
Simulate
Invoke WMV to view results
after run completion First save the STWAVE
Configuration file and
JUCAR.stw
JUCAR_spd.nc initiate the simulation
JUCAR_spec.sgn by clicking
Input files
JUCAR_fld.nc
JUCAR_sta.nc
JUCAR.prt
Output files
Station file is both Input & Output
13
Wave Model Visualization - WMV
Select event
Setup Wizard
Model
Indicators
Graphical
Workspace
Grid
Orientation
14
WMV
Tools
Select to move a X-section – click and hold mouse on the target X-section
and move the X-section to visualize / animate behavior of wave height
15
WMV Station Plots
Depress Show Stations button
followed by Station Plot button
16
Steps in running GENESIS
The first step is to open a new GENESIS file and import the GENESIS Spatial
Domain file that was saved in GRIDGEN. Much of the data required by
GENESIS have already been developed in GRIDGEN. You need to complete
and save the configuration file and set conditions for Structures, Bypass, Beach
fills, Sand/Beach/Transport, and Boundary Conditions. The Coordinate System
geo-reference data have already been computed and passed to GENESIS. The
initial shoreline was imported by GRIDGEN and passed to GENESIS.
Open GENESIS, click File and open
the GENESIS Spatial Domain file:
JUCAR_GEN_spd.nc for the example
case to obtain:
Initiate GENESIS
Structures
[JUCAR example has no Bypass or Beach fill]
17
GENESIS setup - import reference or background shorelines
Select Edit/Shorelines/Initial [or Reference]
The initial GENESIS shoreline was interpolated for model application and passed
to GENESIS by GRIDGEN. For the JUCAR example, a 1965 shoreline is imported
as a reference or target for calibration results. Shoreline data are imported via
File/Import X-Y pairs; next select Edit/Coordinate transformation to convert the import-
ed data into the local GENESIS coordinate system - the proper transformation coordi-
nates are already loaded. Select Edit/Model Reach preparation to prepare the target
reference shoreline.
Initial shoreline
Reference shoreline
18
Lateral Boundary
Conditions in GENESIS
Four types of lateral boundary
conditions are permitted in GENESIS.
Depending on the selection, various
additional data are required, such as
distance to shoreline, shoreline
orientation, and shoreline
displacement.
GENESIS simulation
GENESIS visualization
• The graphical workspace can be exported
• Additional Plan View Selections
• Color / View options
• Shoreline comparison plots
• Transport rate plots
• Animation of shoreline evolution
• View printed output
19
GENESIS results at end of simulation
Last exposure
from animated
Shoreline has retreated to near the measured shoreline evolution
1965 shoreline
Shoreline comparison
Animation controls
and shoreline date
pull-down list
Start / Stop
20
Bypassing options
GENESIS
Engineering
Activities
Beach Fills
Seawalls
21
GENESIS Structure Specification
Complex structures (T-groins, L-groins, etc.) are specified via a
combination of diffracting groins and detached breakwaters.
Diffracting groins and detached breakwaters comprising complex
structures must connect at their tips. The water depth and distance
from the X-axis (model length) must be identical at the connection
of the diffracting structures.
Detached Breakwaters
Selected graphically – using variable
transmission [requires water level file]
Variable transmission
22
Groins and Jetties – Diffracting & Non-diffracting
Constructed graphically
• Groin details loaded by code
• Location
• Length
• Any entry can be edited
Magnify area of interest
and select appropriate groin
button – click top of groin
& then drag the mouse to the
landward end and click to
complete
1–2
2–3
3-4
Seawalls
• Constructed graphically in 3 sections
• Location & indices filled in by code
Magnify area of
interest – click
Seawall button,
and click mouse
at the leftmost 3
1 4
point in the seawall (1). 2
Drag mouse to the end
of the 1st section & click (2);
drag mouse to the end of
the 2nd section & click (3);
then drag mouse to the end
of the 3rd section (4) and double click to signify end of the structure.
23
GENESIS – Shoreline Editor
The initial shoreline can be entered manually, imported
via the Shoreline Editor, or passed to GENESIS in the
Spatial Domain file created in GRIDGEN. The Reference
Shoreline is automatically loaded with the same data as
the initial shoreline. New data may be imported from
a text x-y pairs file and used, for example, as a target
shoreline to match in a calibration/verification effort.
13200
Distance From Baseline (m)
Sample illustration of
12800 measured shoreline
and the associated
12400
regional trend
Measured Shoreline
Regional Trend
12000
11600
36000 40000 44000 48000
Distance Alongshore (m)
24
Example of how to input a regional contour trend
In this example we use the JUCAR case [in lieu of a separate
example - realize that in the JUCAR case a regional contour
trend is not needed]. The measured 1965 shoreline itself is
used as the regional contour.
Check button:
Regional contour trend specified
Then select button bar:
Enter regional contour trend
Then click Import x-y pairs
to import the correct regional
trend shoreline – remember to do a
coordinate transformation & model
reach preparation if necessary
25
Use of Variable Transmission Breakwater in JUCAR Example
For demonstration purposes, a detached breakwater
is constructed in the JUCAR example grid. Use of Structure location & properties
variable transmission requires input of a water level loaded by code
file created within WWWL. The file in this example
is: JUCAR_tide.nc The file contains an average daily
tidal cycle used throughout the simulation.
Normally, if tidal variation were
important, one would use more
refined representations, e.g.,
a representative 28-day tidal
cycle. Simulation time steps
should be ≤ 3 hrs.
Example files:
JUCAR_BRK.gen
JUCAR_BRK_GENspd.nc Structure created graphically
JUCAR_BRK_vis.nc
JUCAR_BRK.prt
Results at end
of simulation
26
Example use of tidal currents in JUCAR case
Again, in this example we use the JUCAR case [in lieu of a separate example – realize
that in the JUCAR case tidal currents were not available nor used]. Tidal currents may
come from measurements or from an application of a hydrodynamic model. The
currents used here are fictitious but representative of a typical variation across a project
reach. In the example case a KTIDE = 1.0 – currents are low and have little impact.
No currents Currents
Using GENESIS_T
Recall that GENESIS_T is formulated in the context of an
explicit solution scheme, and requires shorter simulation time
steps than would otherwise be required using GENESIS
(implicit solution scheme). GENESIS_T should only be
used if there is a possibility for tombolo formation. Dialog
screens for GENESIS_T are identical to those of GENESIS.
Invoke GENESIS_T by your selection on the list of models
in NEMOS.
27
Model Instability
The JUCAR example was run with a 200 m breakwater and a 6-hr time step. The
simulation requires
a time step of
approximately 1 hr
for stable
computation.
Here you see the
warning messages
and the obvious
deterioration
in the solution
of shoreline
position.
Tombolo Formation
June 1957
To illustrate how a detached breakwater will influence
the simulation, the JUCAR example was run with an
extended detached breakwater (approximately 500 m)
at a 5 m depth. The same example was run with a
200 m breakwater to get the sequence below:
June 1959
June 1957
June 1959
June 1964
May 1962
July 1965
July 1965
28
Basic Steps in using NEMOS auxiliary codes
Example key data sets are provided with NEMOS and are stored in the Example Data sub-folder
under C:\……\Coastal Engineering Design & Analysis System\NEMOS\Example Data. The
following slides describe how certain NEMOS programs are used in combination to edit, analyze,
and display these key data sets (bathymetry, wave information, and shoreline data)
and to develop additional data for carrying out a comprehensive application process.
A02_bath_xyz.txt - a bathymetry given in random x-y-z ASCII text format (meters, State
Plane 27, Florida east, and the datum is MSL)
A03_99shore.txt - an ASCII text file of x-y pairs of shoreline positions (meters, State Plane 27)
Additional example files developed from the 3 key or basic data files are stored on your CD in the
folder FloridaExample. The following describes how each file was constructed, starting with grid
development, then wave transformation, wave analysis, wave statistics, and RCPWAVE usage.
All files in the Example Data folder begin with a letter descriptor in order to list them in
Windows in the order they were constructed. See slide xx for complete file list.
29
Grid refinement and Station selection
Once the grid is built, the next step is to display the model domain and perform any necessary data
editing. In the left figure, the Polygon Tool was used to edit the offshore bathymetry and shore
topography regions not captured properly by the selection tool . The Station Selection tool was
activated to place two gage stations in the model grid. If this grid were to be used for supplying wave
information to GENESIS, a large number of such stations would be created along the offshore
GENESIS boundary. This operation can be carried out by zooming in on the project area prior to
station selection. The right figure below shows a partial zoom on the project area. The colors used
for the bathymetry contours can be changed by the user. Bathymetry visuals may be improved by
using a varied number of depth contour values and different start and ending colors for the range of
depths. The final grid has 2926 50 m grid cells (77 in the longshore and 38 in the cross-shore direction).
Files created in GRIDGEN were : B_grid.grd ; B1_grid_spd.nc ; B2_grid_sta_rcp.nc ; and
B2_grid_sta_stw.nc (grid, spatial domain, and 2 station files). Station files are I/O type files and if
you are running both wave models you will need a different station file for each.
3
Zoom Station
Grid editing
& station
selection
1 2
Note: Figure displays an older version of CEDAS – new tool
buttons have been added but older buttons are unchanged
30
Metadata for the waves and location tabs in WWWL
Location Waves
Direction Conventions
Transformation among
differing conventions is
STWAVE
computed within WWWL
RCPWAVE
GENESIS
SBEACH NMLong-CW WISPH3
Original
File: A01_1yrts_wav.xls
Modified
File: A01_1yrts_wav.xls
with Header converted to proper
WWWL format
File: A1_1yrts_wav.txt
Export data to an ASCII file for input
to WWWL and save as a NetCDF file:
A2_1yrts_wwwl.nc
31
Use of wave data in NEMOS
Generally, wave data are available from offshore measurement buoys or from
a hindcast database such as the WIS (Wave Information Study) data for all
coasts of the United States. Models in NEMOS require data nearer to shore.
For wave models, data are required at the wave model boundary. For GENESIS,
data are required close to the shore usually along a shallow depth contour.
Wave transformation – offshore to nearshore
Boundary gage
y
WISPH3 Shoreline axes
Note: The steps discussed so far are simply one approach. You may not use spreadsheets, but
build your ASCII files directly. Your bathymetry may be in a different format compatible
with GRIDGEN. It will take a learning experience to become familiar with all the options
available in NEMOS.
32
Filters in WWWL
Prior to running WSAV, it is necessary to eliminate the low-energy wave data flagged in the
previous slide. Again a filter is used in WWWL to remove the calm waves.
are removed by choosing Wave Period Range
from the menu and removing the flagged
Periods by selecting a range of periods that
encompass your data. The resulting file is
saved as :
C4_BND_wav_crit_nocalm.nc
This file contains 2601 events and will be
used in WSAV to compute a wave analysis.
A change to Local Polar is made by
opening this file in WWWL and converting.
Remember, the wave models assume the
Local Polar convention for incident waves.
A print file from WISPH3 is saved as
B3_ph3.prt
33
Wave Statistical Analysis & Visualization - WSAV
WSAV is used to analyze a set of wave conditions for usual wave statistics. In WSAV, open Wave
Component and import the “nocalm” file saved in WWWL. Use the Edit pull-down menu to first
choose Band Limits to set range bands of Height, Period, and Direction ; then Analyze to compute
the statistics.
If you have more than one wave component, they are
loaded separately. Statistics are computed for the
“total” wave.
Period Direction
Height
Block Diagram
WSAV
In the sample data the total number of occurrences add up
to 2601. Periods greater than 22 sec were filtered. There
are several ways to display statistics in WSAV, however,
this block diagram gives a good description and tells you
that the selection of bands chosen resulted in 29 cases to
run with a wave model, each case representative of the
possible periods and direction out of the 1-year population
that may cause sediment transport.
34
Output from WSAV
Histogram
RCPWAVE Simulation
Use permutation file D0_perm.nc
First supply title, specification of incident wave
Configuration Tab condition, and water level information.
Default model constants are suggested for all
simulations – check model theory if adjustment
is needed. Select information to be saved on
the Output Tab.
Solution Tab
Model Constants
Files Tab
35
RCPWAVE Messages & Results
Cross section
Ocean boundary
station example Ocean boundary
station at upper
left corner
36
Consistent Categories of Hmo, Tp, and θ Events
The original JUCAR waves file for this
example is renamed: Waves_1.txt
The angles were modified by 5% to
Analysis of create a similar wave file to illustrate
Waves_OB1.nc use of variable spectra on the ocean
boundary. Waves_2.txt is the modified
wave file. These files are brought into
WWWL to create Waves_OB1.nc &
OB2. WSAV is used to analyze these
files resulting in the categories shown.
Analysis of
Two permutation files are produced in Waves_OB2.nc
WSAV and imported into SPECGEN
where a single *.sgn file containing two
stations is produced.
Bands used:
H – 0 , 15
T – 2 , 4 , 6 , 8 , 12 , 15
θ - 90 , 60 , 20 , -20 , -60 , -90
Run SPECGEN
Import permutation files one-by-one and derive spectra. Make sure the categories
of events are consistent – proper interpolation must be made. In the example below
two stations were
created on the
JUCAR open
boundary – the
difference being
Consistent Categories for both Stations slightly different
wave angles.
37
STWAVE model setup for running variable ocean boundary conditions
SPECGEN
input file with
Multiple Stations
38
Editing the Nested Grid
Open the nested-grid spatial domain file in GRIDGEN and operate on it as you
would the parent grid. Create new stations (shown here) and / or develop a
GENESIS grid. Export the appropriate files.
Export the
appropriate
files
39
Nested Grid results
Supply the appropriate STWAVE files for
the nested grid run. Results from both
events are shown below:
In choosing the "name" for each file, pick a name that will indicate the file's content, e.g., 1yr_ts_nocalm_inwav.nc"
might be a NetCDF file containing incident wave data from a 1-year time series where calm wave conditions have
been omitted.
40
WARNING
• There are folders on your CD containing data files used or
produced by the various tutorial examples. If you copy
any of these files to your PC, you must change their
attributes before using them in NEMOS.
• First, you must copy the files you wish to use to a folder on
your PC.
• Second, use Windows Explorer to find the folder where
you stored the files; highlight (select) all of the files.
• Right click the mouse to select properties: deselect the
“read only” attribute.
• Now the files should be ready to be used by NEMOS.
FloridaExample JUCAR_CAL
JUCAR_REG
JUCAR_BRK
41
Folders / files on your CD pertaining to the NEMOS tutorial – cont’d
JUCAR_TIDE
Parent_Nest
JUCAR_OceanBndry
42