FJORD TIDAL CASE: Difference between revisions
No edit summary (change visibility) |
No edit summary (change visibility) |
||
Line 23: | Line 23: | ||
The first step to set up a realistic application is to set up a realistic grid. There are several [[Grid_Generation|software packages]] to generate ROMS grids. Here I will use EASYGRID. | The first step to set up a realistic application is to set up a realistic grid. There are several [[Grid_Generation|software packages]] to generate ROMS grids. Here I will use EASYGRID. | ||
=== | ===Get bathymetry and coastline=== | ||
Dummy text... No real information here yet | Dummy text... No real information here yet | ||
=== | ===Download EASYGRID=== | ||
Dummy text... No real information here yet | Dummy text... No real information here yet | ||
==Initialization== | ==Initialization== | ||
Dummy text... No real information here yet | Dummy text... No real information here yet | ||
==Create header (.h) file== | |||
Create a copy of the basin.h test-case header file, and rename the copy fjord.h | |||
{| style="width:100%; background:white; margin:20px; padding:10px; border:2px dashed blue;" cellpadding="0" cellspacing="0" | |||
|- | |||
|<nowiki>/*</nowiki> | |||
|- | |||
|<nowiki>** svn $Id: basin.h 139 2008-01-10 00:17:29Z arango $</nowiki> | |||
|- | |||
|<nowiki>*******************************************************************************</nowiki> | |||
|- | |||
|<nowiki>** Copyright (c) 2002-2008 The ROMS/TOMS Group **</nowiki> | |||
|- | |||
|<nowiki>** Licensed under a MIT/X style license **</nowiki> | |||
|- | |||
|<nowiki>** See License_ROMS.txt **</nowiki> | |||
|- | |||
|<nowiki>*******************************************************************************</nowiki> | |||
|- | |||
|<nowiki>**</nowiki> | |||
|- | |||
|<nowiki>** Options for Big Bad Basin.</nowiki> | |||
|- | |||
|<nowiki>**</nowiki> | |||
|- | |||
|<nowiki>** Application flag: BASIN</nowiki> | |||
|- | |||
|<nowiki>** Input script: ocean_basin.in</nowiki> | |||
|- | |||
|<nowiki>*/</nowiki> | |||
|- | |||
|<br> | |||
|- | |||
|<nowiki>#define UV_ADV</nowiki> | |||
|- | |||
|<nowiki>#define UV_COR</nowiki> | |||
|- | |||
|<nowiki>#define UV_QDRAG</nowiki> | |||
|- | |||
|<nowiki>#define UV_VIS4</nowiki> | |||
|- | |||
|<nowiki>#define MIX_S_UV</nowiki> | |||
|- | |||
|<nowiki>#define DJ_GRADPS</nowiki> | |||
|- | |||
|<nowiki>#define TS_U3HADVECTION</nowiki> | |||
|- | |||
|<nowiki>#define TS_C4VADVECTION</nowiki> | |||
|- | |||
|<nowiki>#define SOLVE3D</nowiki> | |||
|- | |||
|<nowiki>#define SPLINES</nowiki> | |||
|- | |||
|<nowiki>#define EASTERN_WALL</nowiki> | |||
|- | |||
|<nowiki>#define WESTERN_WALL</nowiki> | |||
|- | |||
|<nowiki>#define SOUTHERN_WALL</nowiki> | |||
|- | |||
|<nowiki>#define NORTHERN_WALL</nowiki> | |||
|- | |||
|<nowiki>#define BODYFORCE</nowiki> | |||
|- | |||
|<nowiki>#define ANA_GRID</nowiki> | |||
|- | |||
|<nowiki>#define ANA_INITIAL</nowiki> | |||
|- | |||
|<nowiki>#define ANA_SMFLUX</nowiki> | |||
|- | |||
|<nowiki>#define ANA_STFLUX</nowiki> | |||
|- | |||
|<nowiki>#define ANA_BTFLUX</nowiki> | |||
|} | |||
==Tidal Forcing== | ==Tidal Forcing== | ||
Dummy text... No real information here yet | Dummy text... No real information here yet |
Revision as of 14:25, 15 April 2008
![]() April 14, 2008 |
This tutorial will go over some of the basic steps to set up a ROMS realistic application (yet, this is a very simple one). This tutorial is also a demonstration of how to use EASYGRID, a "quick-and-dirty" matlab script to make ROMS grids and initialization files.
PREREQUISITES: This tutorial assumes that you have (1) downloaded ROMS, (2) installed it in your computer (or cluster), (3) tested it by compiling and running one of the included test cases, and (4) installed MEXNC, SNCTOOLS and the ROMS Matlab tool-kit. If you haven't done all the above, check the "Getting Started" and "Tutorials" WikiROMS sections.
Geographical Setting: This application is for Ship Harbour, an estuarine fjord in Nova Scotia, Canada. Click here to see the location in Google. Tides are semidiurnal and tidal range is 1.4 m on average and 2 m on spring tides. For now I will only include tidal forcing, however, there is a river at the uppermost end of the estuary, which discharges freshwater at an annual average rate of 18 m3 s-1. I plan to write another tutorial on how to add a river, but for now is only tides.
Ship Harbour has a shallow sill of approximately 7 m depth. Average depth of the inner basin is 15 m with a maximum of 25 m.
Grid Generation
The first step to set up a realistic application is to set up a realistic grid. There are several software packages to generate ROMS grids. Here I will use EASYGRID.
Get bathymetry and coastline
Dummy text... No real information here yet
Download EASYGRID
Dummy text... No real information here yet
Initialization
Dummy text... No real information here yet
Create header (.h) file
Create a copy of the basin.h test-case header file, and rename the copy fjord.h
/* |
** svn $Id: basin.h 139 2008-01-10 00:17:29Z arango $ |
******************************************************************************* |
** Copyright (c) 2002-2008 The ROMS/TOMS Group ** |
** Licensed under a MIT/X style license ** |
** See License_ROMS.txt ** |
******************************************************************************* |
** |
** Options for Big Bad Basin. |
** |
** Application flag: BASIN |
** Input script: ocean_basin.in |
*/ |
#define UV_ADV |
#define UV_COR |
#define UV_QDRAG |
#define UV_VIS4 |
#define MIX_S_UV |
#define DJ_GRADPS |
#define TS_U3HADVECTION |
#define TS_C4VADVECTION |
#define SOLVE3D |
#define SPLINES |
#define EASTERN_WALL |
#define WESTERN_WALL |
#define SOUTHERN_WALL |
#define NORTHERN_WALL |
#define BODYFORCE |
#define ANA_GRID |
#define ANA_INITIAL |
#define ANA_SMFLUX |
#define ANA_STFLUX |
#define ANA_BTFLUX |
Tidal Forcing
Dummy text... No real information here yet