2 grid questions

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
qwdy
Posts: 5
Joined: Fri Dec 08, 2023 4:10 pm
Location: sun yat-sen university

2 grid questions

#1 Unread post by qwdy »

First, I wonder how to define an appropriate N (number of vertical laylers) in the roms input file.How large/small can it be?

Second, In a roms grid netcdf file, does it contain N ? If so, what's it name in it (since I don't see such a variable in it seemingly). If not, why it doesn't contain?
I apologize if I ask some siily questions and thank you for anyone who offers answers in advance.

stlaur
Posts: 32
Joined: Sun Jun 27, 2010 8:45 pm
Location: Old Dominion University

Re: 2 grid questions

#2 Unread post by stlaur »

Information about the vertical discretization is to be provided in the text file roms_*.in.
I think the idea is that if one uses an analytical initial condition, then they would be able to change `N' (number of vertical levels) or the stretching parameters inside roms_*.in, without having to modify the NetCDF grid file and without having to recompile the executable.
I think the grid input file only carries 2-D (horizontal) information that would be relevant regardless of whether ROMS is used in a barotropic case (#undef SOLVE3D) or baroclinic case (#define SOLVE3D).

qwdy
Posts: 5
Joined: Fri Dec 08, 2023 4:10 pm
Location: sun yat-sen university

Re: 2 grid questions

#3 Unread post by qwdy »

Thanks for your reply which inpsires me.

Post Reply