ROMS currents to SWAN

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
jacopo
Posts: 81
Joined: Fri Nov 21, 2003 9:30 pm
Location: CNR-ISMAR

ROMS currents to SWAN

#1 Unread post by jacopo »

in mct_roms_swan.h I see:

Code: Select all

          CASE ('Ubar')                   ! 2D U-momentum

            CALL ROMS_export2d (ng, tile,                               &
     &                          id, gtype, scale, add_offset,           &
     &                          LBi, UBi, LBj, UBj,                     &
#ifdef SOLVE3D
     &                          OCEAN(ng)%u(:,:,N(ng),NOUT),            &
#else
     &                          OCEAN(ng)%ubar(:,:,KOUT),               &
#endif
     &                          Fields(id)%ExpMin, Fields(id)%ExpMax,   &
     &                          Asize, A,                               &
     &                          status)
Does this mean that ifdef SOLVE3D ROMS is passing the surface velocity, not 2D currents?

-J

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

Re: ROMS currents to SWAN

#2 Unread post by jcwarner »

yes. For 2D it sends ubar. For 3D it sends the surface currents. However, for 3D this perhaps should be some weighted average over a depth ~ Hsig, with an exponential decay.

jacopo
Posts: 81
Joined: Fri Nov 21, 2003 9:30 pm
Location: CNR-ISMAR

Re: ROMS currents to SWAN

#3 Unread post by jacopo »

good news, I was going to implement the same thing, but it's already there :D
jcwarner wrote:However, for 3D this perhaps should be some weighted average over a depth ~ Hsig, with an exponential decay.
Indeed, but including TKE from wave breaking makes this OK anyway.

wulunyu
Posts: 12
Joined: Wed Apr 01, 2009 9:36 pm
Location: UNIVERSTY OF MASSACHUSETTS DARTMOUTH

Re: ROMS currents to SWAN

#4 Unread post by wulunyu »

I used the wave related depth weighted velocity as the doppler velocity from George L. Mellor
《A Surface Wave Model for Coupling with Numerical Ocean Circulation Models》.
I can send you if you want it.
jcwarner wrote:yes. For 2D it sends ubar. For 3D it sends the surface currents. However, for 3D this perhaps should be some weighted average over a depth ~ Hsig, with an exponential decay.

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

Re: ROMS currents to SWAN

#5 Unread post by jcwarner »

hey. i happended to come across that paper for a different reason, but i have it in front of me.
Can you help me dig thru and point me to what you are referrring to?
-j

wulunyu
Posts: 12
Joined: Wed Apr 01, 2009 9:36 pm
Location: UNIVERSTY OF MASSACHUSETTS DARTMOUTH

Re: ROMS currents to SWAN

#6 Unread post by wulunyu »

I referred to equation 6 ---The Doppler (or advective) velocity.
I used this velocity to advect the action density(N)in SWAN.
I still use the same one when calculating the relative wind speed(uwind-ucurrent) for use in source term, which I think surface current velocity should be a better choice.

Allen

Post Reply