separating hadv term into zeta and eta components

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
User avatar
mafeluna
Posts: 4
Joined: Tue Feb 12, 2008 4:25 pm
Location: Institude of Marine and Coastal Science, Rutgers University

separating hadv term into zeta and eta components

#1 Unread post by mafeluna »

Recently there was a post about separating the horizontal advection of momentum into the zeta and eta components. I am trying to do the same thing for the momentum equations as well as for the tracer equations. The code compiles, runs and the new variables u_xadv, u_yadv, ubar_xadv........,s_xadv, s_yadv,....
are created in the diagnostic file. It looks like the separation for tracers was done successfully since s_hadv=s_xadv+s_yadvv (same for temperature). But the eta and zeta components of momentum do not add up to the total horizontal advection. My understanding is that ROMS calculate the horizontal momentum advection in generalized curvilinear coordinates as
Untitled 2.png
Untitled 2.png (6.92 KiB) Viewed 1656 times
What I was trying to do in the code was to calculate the two components as
mometum zeta advection =
Untitled.png
Untitled.png (5.04 KiB) Viewed 1656 times
momentum eta advection =
Untitled1.png
Untitled1.png (4.83 KiB) Viewed 1656 times
Is this correct?

if someone has any thoughts about this I will appreciate it.

User avatar
arango
Site Admin
Posts: 1367
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: separating hadv term into zeta and eta components

#2 Unread post by arango »

Yes, this is correct. This term is derived from alternative version of the nonlinear equations that includes absolute vorticity (planetary plus relative) in the advection term. I updated the code to include the ξ- and η-components of horizontal advection, viscosity and diffusion. See following :arrow: ticket for details.

Post Reply