nonuniform horizontal grid- BL_TEST

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
jabent
Posts: 17
Joined: Tue Jan 22, 2008 11:31 pm
Location: Australian Institute of Marine Science

nonuniform horizontal grid- BL_TEST

#1 Unread post by jabent »

Hi, I had a question about the horizontal grid set-up in ana_grid.h for BL_TEST, in which 'dx' is a function of the x-coordinate. I am interested in using nonuniform horizontal grid resolution and in specifying my grid following this form. When running BL_TEST, I noticed that the locations of the x_rho gridpoints aren't exactly halfway between the x_u gridpoints. From the horizontal discretization, I thought that the x_rho gridpoints should be located within the center of the cell. Will I run into problems if I set-up a grid in this way following BL_TEST?

Instead, should I set it up so that I make sure that the x_rho gridpoints are located at the center of the cell, halfway in between the x_u gridpoints?

Thank you,
Jessica

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: nonuniform horizontal grid- BL_TEST

#2 Unread post by kate »

ROMS does not use the x_rho for the numerics at all. It only needs pm and pn, 1 over the grid box extents.

Post Reply