Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Sat Jun 15, 2019 10:59 pm




Post new topic Reply to topic  [ 7 posts ] 

All times are UTC

Author Message
PostPosted: Fri Feb 01, 2019 6:08 am 
Offline

Joined: Wed Oct 01, 2014 8:57 pm
Posts: 56
Location: Tokyo Institute of Technology
Hi! Lately I have been coupling ROMS with SWAN and have selected some of the wave parameters for output and I'm confused about the units for Dwave, defined as the 'wind-induced wave direction'. It says 'degrees' (but it also has [radians] next to it, which is also confusing) in varinfo.dat, but is this with respect to North, or the positive x-axis? And does it indicate the direction to or from? I apologize for the simple nature of this question. In my SWAN setup, I have been following the Cartesian convention.

Lawrence


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 01, 2019 12:49 pm 
Offline

Joined: Wed Dec 31, 2003 6:16 pm
Posts: 782
Location: USGS, USA
Lawrence-
if you are using roms + swan, i recommend that you use COAWST instead, we have been updating swan there, adding new wave physics, etc. You can send me an email at jcwarner@usgs.gov to get that code.
In short, Dwave output is in degrees, direction that the waves are from. (because we set NAUTICAL in the swan.in)


Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 02, 2019 6:30 am 
Offline

Joined: Wed Oct 01, 2014 8:57 pm
Posts: 56
Location: Tokyo Institute of Technology
Hi John, thank you for your reply. Actually I already sent you an email before and have already been using the COAWST system. So this question actually refers to the COAWST framework, even as I continue to use Rutgers ROMS for other applications.

In my swan.in, I have been using CARTESIAN instead of NAUTICAL. So does it follow then that the DWave in my ROMS history file also follows the Cartesian convention (clockwise positive with respect to the positive x-axis, and showing where the waves are going to)?

Thanks,
Lawrence


Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 02, 2019 3:38 pm 
Offline

Joined: Wed Dec 31, 2003 6:16 pm
Posts: 782
Location: USGS, USA
Well, for some reason SWAN uses the word 'Cartesian' for 2 separate things.

SET NAUTICAL = winds/waves dir from
or
SET CARTESIAN = winds/waves dir towards

and now for something completely different

COORDINATES CARTESIAN = uses x-y in meters
or
COORDINATES SPHERICAL = uses lat + lon

more info in the swan manual.


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 04, 2019 3:49 am 
Offline

Joined: Wed Oct 01, 2014 8:57 pm
Posts: 56
Location: Tokyo Institute of Technology
The first few lines of my swan.in input file are:

MODE NONSTATIONARY TWODIMENSIONAL

SET DEPMIN 0.10 INRHOG CARTESIAN
COORDINATES SPHERICAL

Also, later in the file, I use BOUNDSPEC to define boundary segments, and use CONSTANT FILE to specify time series wave data. And in the data file, I provided the wave direction in the Cartesian convention, which I believe to be consistent with my SET statement. I guess my confusion is that from my SWAN configuration, the wave direction convention appears to be Cartesian, but when the 'Dwave' data is written by ROMS to the history file, will the convention be consistent with SWAN, or will it be converted to nautical?


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 04, 2019 4:01 pm 
Offline

Joined: Sat Jul 14, 2012 2:04 am
Posts: 4
Location: University of California at Santa Cruz
Hi Lawrence,

We don't currently have a rotation dependent on whether the user chooses Cartesian or Nautical (in SET) in the coupling scripts for ROMS and SWAN. So, the convention is consistent with your SWAN input right now. We recommend that you swap everything to Nautical though because that is what is assumed for the wave-current interaction formulations. We will work on putting a check in so there's no confusion.

Christie


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 05, 2019 5:48 am 
Offline

Joined: Wed Oct 01, 2014 8:57 pm
Posts: 56
Location: Tokyo Institute of Technology
Thank you for your reply Christie! I appreciate the short explanation. I'll also try to use the Nautical convention instead for my runs as you recommended.

Lawrence


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group