RCPWAVE Versi NEMOS
RCPWAVE Versi NEMOS
1. RCPWAVE: Introduction
RCPWAVE is a solution of the steady-state Monochromatic Wave Mild-Slope equation for wave transformation.
The NEMOS version of RCPWAVE differs in orientation and options from the original version (Ebersole, Cialone,
& Prater, TR-CERC-86-4, 1986). This version has been re-oriented to be consistent with another nearshore wave
model in NEMOS (STWAVE). Within NEMOS, both models have the same orientation. Also, this version of
RCPWAVE handles 4 different Seaward BC schemes and also allows a variable water level specification (spatially
constant). Orientation, BC specification, and conventions for this version of RCPWAVE are shown in the
RCPWAVE orientation figure.
1. Build or edit (and then export the spatial domain file) a uniform rectilinear computational grid
oriented with the local model x-axis in a cross-shore direction. This can be accomplished using
the Grid Generator.
2. Decide where model output recording stations are desired and graphically indicate their
locations using the Grid Generator. Export the station file.
3. Create or edit (and save) the model seaward boundary incident wave conditions using the
WWWL Editor.
4. Optionally create and save spatially-constant, event-variable water surface elevations using the
WWWL Editor.
5. Start a new RCPWAVE configuration by choosing File->New->RCPWAVE Configuration or open
an existing RCPWAVE configuration by choosing File->Open->RCPWAVE Configuration->File
name.
6. Edit the model configuration parameters (Configuration, Solution Scheme, and Printable Output
tabs).
7. Enter the required files on the Files tab.
8. Save the RCPWAVE configuration file by choosing File->Save.
9. Run the model by pressing the running man button on the toolbar. As the simulation
proceeds, percent completion is indicated by a slider/indicator dialog. A dialog also opens with
mdessages from the model durring the simulation. You may close this window at the
completion of the simulation by pressing the x button in the top right corner.
10. Analyze/visualize the simulation results using the Wave Model Visualization Code (WMV). WMV
is easily invoked by depressing the eyeball button on the toolbar.
Because you have saved the RCPWAVE configuration file, you may later open this file by choosing
File->Open->RCPWAVE Configuration->filename. You may then edit values and re-run the model.
g. Visualizing/Analyzing Results
5. References
Lampiran
Grid Generator Overview
Introduction
Grid Generator is the NEMOS Uniform Rectilinear Grid GUI (Grid Generator). It is the primary interface
for 2-D uniform rectilinear grid models in NEMOS. This help file provides abbreviated guidance for
various using Grid Generator, as well as for the various features, capabilities and conventions for Grid
Generator and the underlying 2-D finite difference modeling technologies embodied within NEMOS.
Some features depend upon the state of the data. For example, a mesh cannot be displayed until
random (x,y,z) data has been triangulated, or a uniform grid has been built. Contour data cannot be
displayed until a mesh or grid has been created. Stations can only be displayed after a uniform grid
has been read or created, and station data has been read or edited.
Orientation Issues
Grid Generator is designed to build grids for models which may ultimately have an arbitrary
local or provincial orientation. While using random data to build a grid, the orientation of the
display is in the coordinate system of the imported data (Geographic, State Plane, local, etc).
After a uniform grid for a model has been built (or read in), the orientation of the display is then
in the local model domain; in other words, at that point, the X-axis will be along the bottom of
the display. This view was translated (and possibly rotated or converted into a projection) from
the original coordinate system. If the final orientation of the model has not changed from the
original coordinate system, the views are the same, but with a coordinate translation. When
building uniform grids, Grid Generator assigns (0,0) to the new model coordinate system origin.
As the uniform model grid is originally built, the coordinates of the uniform grid in the original
coordinate system can be exported into an (x,y,z) file [File->Export]. The origin (in the original
coordinate system) and azimuth (actually bearing) from North of the local model X-axis is always
written to the spatial domain file when initially built or edited/saved. The azimuth (bearing) of
the X-axis is also displayed in the tracking area of the display.
Contouring Features
Grid Generator can contour random (x,y,z) data after is has been triangulated, and uniform grid
data. Contour features are set in the [View->Contours Colors] dialog.
Symbol Colors
Colors may be declared for various symbols displayed in Grid Generator (RGB spec used}.
Symbol colors are specified in the [View->Symbol Colors] dialog.
Hardcopy
A hardcopy of the displayed bathymetry may be obtained by choosing File|Print.
o Creating a Uniform Rectilinear Grid
Grid Generator can create uniform grids at arbitrary orientations from random
bathymetry/topography data. The general tasks to follow within Grid Generator in creating a
uniform grid are:
1. Set desired simulation units [Edit->Units->Feet or Meters]
2. Import random (x,y,z) or (x,y,d) or sequential (x,y) data from ASCII file or database [Edit-
>Import Data]
3. Edit random data using various graphic and numeric editing features [Edit->Polygon]
4. Triangulate (Grid Generator determines convex hull and performs Delauney Triangulation of
domain space defined by random data points) [Edit->Triangulate]
5. Optionally iterate on steps(2-4) and optionally export new sets of random data points
6. Define boundaries and orientation of local model domain within triangulated domain (also
specify uniform grid point spacing) [Edit->Build Uniform Grid]
7. Save new uniform grid [Edit->Export Spatial Domain File] and/or [Edit->Export Station File]
Data sets may be interactively added to create a composite of several sources. The combination
of polygon editing features (to regionally include or exclude data) with the ability to add several
data sets can provide a mechanism for compositing data in complex fashions.
Data may be interactively added to create a composite of several sources. The combination of
polygon editing features (to regionally include or exclude data) with the ability to add several
data sets can provide a mechanism for compositing data in complex fashions.
An arbitrary number of segments and points within a segment can be specified. Interpolation
intervals and z values are specified in the dialog which appears with this option.
Once a polygon is selected, several editing features are available. Left click on the polygon,
choose Polygon, and the following options are displayed:
· Delete points within polygon
· Delete points outside of polygon
· Minimum Z (enforce Z >= Zmin) of points within polygon
· Maximum Z (enforce Z<= Zmax) of points within polygon
· Scale Z (Z multiplied by factor) of points within polygon
· Assign Z (assign a constant Z) to points within polygon
· Filter Z (assign a new Z) to points within polygon which fall within a specified range of Z
values
· Increment Z (Z datum shift by a constant) of points within polygon
· Add points on polygon boundary (Points added at delta-r interval on boundary {using
constant Z value})
· Deselect polygon
Simple dialogs are summoned to collect the relevant editing data (constant, factor, Zmin,
etc...). Closing the relevant dialog initiates the editing action. Some time may elapse if large
data sets are present, or the data has already been triangulated (data will be re-
triangulated), or contoured (data will be edited, re-triangulated and re-contoured). Display
features currently selected will impact the speed at which data will be redisplayed for all
editing operations.
Select the Polyline Tool from the top toolbar. Points are interpolated on the line segments at
a specified interval and constant Z which are indicated on the dialog which appears when
terminating the line segments. While defining the polyLine, you should click the left mouse
button for each segment. To terminate drawing of the poly line, double-click the left mouse
button. When the definition process is terminated, you should right-click on the poly line
and choose Add Polyline Points or choose Edit->Add Polyline points. A dialog appears to
collect the Z value for the points to be interpolated/added. At that point, the line marker
disappears, and is replaced with the additional interpolated points. Some time may elapse if
large data sets are present, or the data has already been triangulated (data will be re-
triangulated), or contoured (data will be edited, re-triangulated and re-contoured). Display
features currently selected will impact the speed at which data will be redisplayed for all
editing operations.
Because of the above and additional factors, robustness in convex hull and triangulation
schemes is usually an issue to monitor. It is recommended that the triangulated mesh (and
contours of Z) be visually checked before proceeding with uniform grid construction. Should
problems result, check for (1) and (2) above and edit the random points if possible.
Specifying the Uniform Grid Parameters
After triangulation of the random (x,y,z) points has completed, a uniform grid at any arbitrary
orientation may be constructed within the convex hull which surrounds the random points.
While it is possible to build the grid with portions outside the hull, in general, it's best to stay
within it because no Z values are extrapolated outside the hull (Z=0 outside hull). If necessary,
extend the hull (by adding points) to ensure adequate coverage of the area of interest. Once the
domain is triangulated, a Z value for any (x,y) location within the domain can interpolated. To
build the uniform grid [Edit->Build Uniform Grid] a dialog must be filled in to specify the data
about the orientation, spacing, # of points in (x',y') etc. Two methods are provided:
1. Specify graphical selection of the domain space and orientation (dx',dy' or nx', ny'
specified numerically)
2. Specify all data for the new grid numerically
The first method requires specification of the grid spacing, or desired number of grid points and
a graphical selection of the extent and orientation of the rectangular modeling domain. Depress
the Select Grid Region tool (rectangle) on the top tool bar. Move the mouse to the desired
origin, and depress [LeftMouseButton] and drag the mouse in the direction and length for the
desired X'-axis. Note that the azimuth(bearing)of the X'-axis is being tracked on the left side of
the display. Release the LeftMouseButton and then move the mouse to the desired Y'-axis
length. Remember that most models use a right-handed coordinate system. The domain
indicated during these graphical selection motions will be constrained to a rectangle oriented
with X' along the selected angle. Depress the [LeftMouseButton] to complete the desired
rectangular modeling domain selection. If a mistake is made, you may re-select the Select Grid
Region tool and repeat the above process until the selection is acceptable. After you have
defined the grid region, right-click and choose Build Uniform Grid. Make sure that Manually
Define Region is not checked. Press OK on the dialog. At that point, a uniform rectilinear grid
will be constructed within the selected rectangular space and orientation.
The second method requires numerical specification of the spacing (or number of points), the
origin (in the original coordinate system, the azimuth(bearing) of the new X'-axis, and the
lengths of X'max and Y'max for the new coordinate system. To accept the selection, press OK on
the dialog. At that point, a uniform rectilinear grid will be constructed within the selected
rectangular space and orientation.
After applying either method of selecting the uniform grid parameters, the display will then
change to the new model coordinate system (X' will be horizontal in the display). The
coordinates of the uniform grid points in the previous coordinate system can be exported to an
ASCII file at this point [Edit->Export Grid]. The spatial domain (ie uniform grid) file can also be
saved [Edit->Export Spatial Domain File].
These uniform grid features are useful for modifying exiting grids for a variety of scenarios. If
grids need to be extended or truncated, the easiest procedure would be to export the existing
grid to random (x,y,z) points, edit that set in a new Grid Generator session, and build the new
extended or truncated grid.
Select the Station tool (upside down triangle) from the top toolbar. Click at each point you wish to
place a station. Once all stations have been added, you may terminate the process by reselecting
the Station tool. To move or delete a group of stations, select the Selection tool (arrow). While
depressing the left mouse button, drag the rubber band box around the desired stations you wish to
move or delete. Release the left mouse button. At that point, all stations within that region will be
visually selected. You may then place your mouse cursor over any station and move it while
depressing the left mouse button. Note that all selected stations will be moved in the direction of
the mouse cursor. If you wish to delete the selected stations, right-click and choose Delete.
Stations are more useful for models such as STWAVE where the directional energy spectra are
saved. Station data can be viewed using the Wave Model Visualization application (WMV). Stations
are also used to propagate data at specific points to other models within NEMOS such as GENESIS,
SBEACH and others. Station files are read into Grid Generator [Edit->Import Data->Station File] (they
are also read when a configuration file is read). They are individually saved [Edit->Export Station
File]. Grid Generator merely creates or edits a file with station locations identified, and passes this
file to the model. Models such as RCPWAVE and STWAVE read the file, and record simulation data at
the specified locations.
The WWWL editor contains various tabs based on the type of data you are entering. The available tabs are
listed below:
Data tab
The data tab is present for all types of data being entered into the WWWL editor. The number of columns
are based upon what type of data are being entered. If the Index Type (Station->Index Type) is specified as
Integer, the first column contains the Index of each row of data. If the Index Type is Time, the first column
is used for the date while the second column is used for the time. The remaining columns are based upon
what type of data you have specified, i.e., wave data, wind data, water level data. To activate any data
type, select the appropriate data type under the Station menu and select Active.
Location tab
Waves tab
This tab allows you to enter your water level attributes. Water level data have only two attributes which
can be specified by the user: the system of units and the station name. This tab is only visible if water level
is active in your WWWL session. To activate water level, right-click in the WWWL window, choose Water
Surface Elevation, and choose active.
The only filter that can be applied to water surface elevation data is the magnitude range filter. This filter
functions identically to the wave record filters.
The Transport Range filter computes the longshore sediment transport by each wave and removes or
flags waves that have an insignificant transport rate. This filter is useful for performing GENESIS
simulations to remove waves events that will have no effect upon the result. By removing these
events, the model will not waste time performing computations that are not useful.
To bring up the filter dialogs, switch to the Data tab. Right-click in the WWWL window. Select Waves,
then select the corresponding range filter (Height, Period, Direction, or Transport).
This tab is only available when water level is active. To activate water levels, right-click in the WWWL
window, select Water Surface Elevation, and select Active.
Wind tab
This tab allows you to enter attributes for your wind data. The attributes that are configurable for wind
records are wind speed units, the direction convention, observation elevation, and duration. This tab is
only visible if wind is active in your WWWL session. To activate wind, right-click in the WWWL window,
choose Wind, and choose active.
The filters that can be applied to wind records are the magnitude range and direction range filters. These
filters function identically to the wave record filters.
Time tab
The time reference attributes tab allows you to define the time zone that the time data occupies. Time data
can be referenced to Greenwich Mean Time (GMT) or to a local standard time meridian given as degrees
longitude east or west. This tab is available only if the index type is specified as "Time." To specify the
index type as Time, right-click in the WWWL window, select Index Type, then select Time.
See Also:
Converting Time Zones
The time zone of the data can be changed by using the Time Zone procedure from the Conversions dialog.
To bring up the Conversion dialog, select the Data tab in the WWWL editor, right-click in the window, select
Convert Time Zone. Select the new time zone from the To line on the Convert between time zones dialog
and enter the new meridian if converting to a local standard time meridian.
A dialog box appears giving options to Include or Exclude data within the time range specified. Specify the
Start and End dates and times for the range to consider. The "Every" entries specify "Every m days" and
"Every n hours/minutes". A 1 in both fields means you want all of the records. For and entry of 2 under
days, menas you want every other day, and so on. The time value is entered as hours and minutes, so that
600 is 6 hours and 0 minutes.
The Time Period Interval filter allows the user to filter a time series by some interval in time. For example, a
time series with three hours between measurements could be filtered to have six hour increments by
starting at the time of the second record and using a six hour interval for the filter.
The final time filter is the Every Nth Record filter. This filter thins the time series data by removing or
keeping, depending on the filter sense, every record that is a multiple of the value entered into the Every
field of the filter.
Note that all local conventions require some azimuth (of x-axis or "local zero") for conversion purposes.
The conventions are illustrated below:
Note that all local conventions require some azimuth (of x-axis or "local zero") for conversion purposes.
The conventions are illustrated below:
Getting Data into WWWL
WWWL is a tabular editor for wind, wave and water level data. Common data sources include
databases, analyzed gage data, statistically-derived datasets, theoretical cases, and data derived from
other model simulations. Four methods are available to initially get data into WWWL:
Attributes about the data must be entered in sub-dialogs for the various data types. For example, water
level units are set by summoning the Water Surface Elevations sub-dialog [Water Surface Elev] and
then selecting [ft or m]. Wind and wave attributes (units and convention) are established in similar
fashion.
...
Most of the data following the first record is optional and the contents depend upon the value of the
flags on the first record as described here:
nrecords
Number of records to follow
itagtyp
record tag type (0=none, 1=integer index, 2=time)
iwl
water level data included (0=no, 1=yes)
iwav
wave (H,T,theta) data included (0=no, 1=yes)
iwind
wind data (Ua,Ub) included (0=no, 1=yes)
Note: at least one value of iwl, iwav, or iwind must be =1. Units and conventions for the various data
must then be set using the various dialogs within WWWL (described elsewhere in this document).
WIS databases
Prior to 2004, WIS databases were written in this format (see WIS Data and Format - pre-2004), and are
provided on a regional basis. Station files are read into the application using WWWL using the [File-
>Open->WWWL Files->Filename] menu option. A station (and possibly a wave component) must be
selected at that time. Data may be edited within WWWL. The wizard for importing pre-2004 WIS data
is:
Note: If the spectral-based significant wave height, peak period, and peak direction are to be imported,
the user must check the "As specified below" button and check / fill in the appropriate boxes.
Since the beginning of 2004, WIS data are no longer analyzed for its primary and secondary
components. That operation is left to the user. Instead only the spectral-based significant wave height,
peak period (two methods of analysis) or mean period, and peak direction (two methods of analysis)
are provided (see WIS Data and Format - Current). The wizard for importing currently-provided WIS
data is:
Here the user specifies exactly what data they want to import and use. Data may be edited within
WWWL.
Wave directions can be converted from their current convention to a new convention by selecting
[Station->Waves->Change Direction Convention] WWWL menu. The current convention will be selected
on the from line when the dialog appears. Select the convention to convert to, and enter the [Local
Azimuth of the New X Axis] then press [OK] to perform the conversion.
By selecting the appropriate choice from the Station->Waves menu, fixed values can be assigned to any
field in the wave record.
You may also filter data using several filtering methods. See Filter Wave Data for more information.
The Transport Range filter computes the longshore sediment transport by each wave and removes
or flags waves that have an insignificant transport rate. This filter is useful for performing GENESIS
simulations to remove waves events that will have no effect upon the result. By removing these
events, the model will not waste time performing computations that are not useful.
To bring up the filter dialogs, switch to the Data tab. Right-click in the WWWL window. Select
Waves, then select the corresponding range filter (Height, Period, Direction, or Transport).