Curvilinear SWAN coupling

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
marcelcure
Posts: 9
Joined: Fri Oct 22, 2004 8:32 pm
Location: Numerics Warehouse Ltd.

Curvilinear SWAN coupling

#1 Unread post by marcelcure »

Hi,

We would like to define a SWAN grid exactly the same as our ROMS grid so that we can couple the two. Our ROMS grid is curvilinear. On reading the SWAN manual, I think I have to set COORDINATES CARTESIAN and CGRID CURVILINEAR followed by READGRID from a file generated from the lat-lon ROMS rho-grid converted to distances in m (using ArcGIS). When I run SWAN I get error messages like grid angles not between 0 and 180 degrees.

I was wondering if anyone has some tips on how to setup the SWAN input file to couple to curvilinear ROMS applications. Is the answer to use SCRIP to interpolate between a NAUTICAL SWAN grid and ROMS? This is not an easy option I think!

Thanks,

Marcel

jcwarner
Posts: 1188
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: Curvilinear SWAN coupling

#2 Unread post by jcwarner »

i suggest you use:
MODE NONSTATIONARY TWODIMENSIONAL
SET DEPMIN 0.10 INRHOG 1 NAUTICAL
COORDINATES SPHERICAL

CGRID CURVILINEAR ....
REDGRID COORDINATES ...

IF you sue coords spherical, then you can make your swan gridcocord file from the roms lon_rho and lat_rho values.
Here is an mfile that you can try to make the grid and bathy swan files from a roms netcdf grid file.
also see:
https://www.myroms.org/wiki/index.php/swan.in
about specific commands that you need to have in INPUT for the coupling to work correctly.





also see
Attachments
roms2swan.txt
(1.84 KiB) Downloaded 414 times

Post Reply