pressure gradient in the diagnostic output

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
winterbellgirl
Posts: 14
Joined: Wed Jun 30, 2010 2:58 pm
Location: Texas A&M University

pressure gradient in the diagnostic output

#1 Unread post by winterbellgirl »

Hi,

Is there any way to separate the barotropic and baroclinic pressure gradient in the 2D diagnostic output? There is only one term (ubar_prsgrd/vbar_prsgrd) in the diagnostic output. I learned that this term contains both the barotropic and baroclinic parts.

I found where the baroclinic pressure gradient is computed in the model. In my case I defined 'DJ_GRADPS', so the baroclinic pressure gradient is computed in prsgrd32.h, but I didn't find out where the barotropic pressure gradient is computed. I think it should be computed from the sea level gradient, but still I want to know its computation location. Could anybody give me some instructions? Thanks!

crowley
Posts: 12
Joined: Wed Mar 26, 2003 4:14 pm
Location: DOI/MMS

Re: pressure gradient in the diagnostic output

#2 Unread post by crowley »

Most of the work calculating the 2D diagnostics happens in step2d_LF_AM3.h. I believe the forcing terms for the coupling are computed (at least in part) in rhs3d.F.

LiuZHQ
Posts: 46
Joined: Mon Apr 06, 2009 5:12 pm
Location: The Hong Kong University of Sci&Tech

Re: pressure gradient in the diagnostic output

#3 Unread post by LiuZHQ »

How about just calculate the barotropic PGF from the standard zeta output? I think it is better than changing the ROMS codes.
you can get baroclinic PGF by subtracting barotropic PGF from total PGF.

rduran
Posts: 152
Joined: Fri Jan 08, 2010 7:22 pm
Location: Theiss Research

Re: pressure gradient in the diagnostic output

#4 Unread post by rduran »

I dont think THE baroclinic pressure gradient(bpg) is included in a vertically averaged pressure gradient. It would need to have vertical dependence to be THE bpg. Rather there is a term of baroclinic nature included in the uv_bar_prsgrd terms to make the barotropic-baroclinic coupling work.

winterbellgirl
Posts: 14
Joined: Wed Jun 30, 2010 2:58 pm
Location: Texas A&M University

Re: pressure gradient in the diagnostic output

#5 Unread post by winterbellgirl »

LiuZHQ wrote:How about just calculate the barotropic PGF from the standard zeta output? I think it is better than changing the ROMS codes.
you can get baroclinic PGF by subtracting barotropic PGF from total PGF.
Thank you for your reply. Actually I did the opposite recently. I computed the baroclinic pressure gradient, and subtracted it from the total pressure gradient (3D). The resulting pattern is a barotropic one, but it is not the one I computed from the surface elevation gradient. Rather it resembles the pattern of the total pressure gradient at the bottom, while the one computed from zeta gradient resembles the pattern at the surface. Still, I did not really find where the barotropic pressure gradient is computed in ROMS.

Post Reply