CSTMS UNSW2008: Difference between revisions

From WikiROMS
Jump to navigationJump to search
No edit summary   (change visibility)
Line 31: Line 31:
''However'', when COORDINATES SPHERICAL is specified and winds are supplied in files using commands like
''However'', when COORDINATES SPHERICAL is specified and winds are supplied in files using commands like
<div class="box">INPGRID WIND CURVILINEAR 0 0 145 81 EXC 9.999000e+003<br>READINP WIND 1 SERIES './lattec_swan_wind_fnames.txt' 4 0 FREE</div>
<div class="box">INPGRID WIND CURVILINEAR 0 0 145 81 EXC 9.999000e+003<br>READINP WIND 1 SERIES './lattec_swan_wind_fnames.txt' 4 0 FREE</div>
the ''u-'' and ''v-'' components are aligned with the ''x-'' and ''y-''axes of the SWAN grid.
the ''u-'' and ''v-'' components are aligned with the ''x-'' and ''y-''axes of the SWAN grid. ''But the angles are in math convention, CCW from the  SWAN x-direction.''


==Wave-current coupling==
==Wave-current coupling==

Revision as of 11:04, 24 March 2009

Adding Sediment to the Latte Example

On Friday, 3 April, there will be a tutorial for new ROMS users interested in sediments. This tutorial continues using the LATTE example presented during the Monday tutorial.

Test the LATTE case

Change the advection scheme

Turn on sediment

Changes to the .h file

Additions to the init file

A case study in troubleshooting

Why so boring?

Sediment 101: Its the waves!

Analytical waves

SWAN - A Digression

Getting SWAN set up correctly is easier if you do it separately. The coupling to ROMS is not seamless...you still have to specify the SWAN INPUT file, bathymetry, and some of the forcing for SWAN as separate files.

Directions in SWAN can be tricky. For our purposes, we will use these commands in the INPUT file:

SET NAUTICAL
COORDINATES SPHERICAL
CGRID CURVILINEAR 145 81 EXC 9.999000e+003 &
CIRCLE 36 0.0418 1.0 24
READGRID COORDINATES 1 './lattec_swan.grd' 4 0 0 FREE

NAUTICAL implies that directions are specified in degrees and (for wind and waves) indicate the direction from which the wind/waves are approaching, For example, a uniform southwesterly wind (blowing toward the northeast) at 5 m/s for a stationary run would be specified as

WIND 5 225

SWAN output in .mat files should be interpreted this way as well.

However, when COORDINATES SPHERICAL is specified and winds are supplied in files using commands like

INPGRID WIND CURVILINEAR 0 0 145 81 EXC 9.999000e+003
READINP WIND 1 SERIES './lattec_swan_wind_fnames.txt' 4 0 FREE

the u- and v- components are aligned with the x- and y-axes of the SWAN grid. But the angles are in math convention, CCW from the SWAN x-direction.

Wave-current coupling

Realistic sediment

Stuff not covered in the LATTE example

Bedload

Morphodynamics

Wetting and drying

Cohesive and Mixed Sediment