Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Tue Jun 18, 2019 9:03 pm




Post new topic Reply to topic  [ 6 posts ] 

All times are UTC

Author Message
PostPosted: Tue Oct 13, 2009 6:47 pm 
Offline

Joined: Wed Mar 11, 2009 4:24 pm
Posts: 34
Location: UFES
Hi people,
My question is so simple.
I run the test case Downwelling/Upwelling, but I can't find the files ocean_grd.nc and ocean_ini.nc.
Where is the input files which the ROMS uses to run this test case?
I would like find it because I want to replace with my input files.

Thanks anyone who can help me. :!:


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 13, 2009 7:23 pm 
Offline

Joined: Thu Apr 19, 2007 12:18 am
Posts: 36
Location: University of Florida
Hi, Angelolemos,

I don't know which version of ROMS you are using, however, you don't need to have ocean_grd.nc and ocean_ini.nc in the upwelling case. Because 'grid' and 'initial condition' is defined 'analytically'. Let's see the 'upwelling.h'.

#define ANA_GRID
#define ANA_INITIAL
#define ANA_SMFLUX
#define ANA_STFLUX
#define ANA_SSFLUX
#define ANA_BTFLUX
#define ANA_BSFLUX

We have these terms in the 'upwelling.h'. So you don't need to have those files which you mentioned.

Good luck.

Jungwoo Lee


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 13, 2009 8:01 pm 
Offline

Joined: Wed Mar 11, 2009 4:24 pm
Posts: 34
Location: UFES
Thanks Jungwoo Lee,

I asked this question because I want to put my own input files of grid, forcings, so on, following this test.
So, the test doesn't call any input file? Then, how the model make all the calculus? With which input data?
The first step to put my case is upload a "myfile.h", so, How can I to define my forcings and my grid in this situation?

Thanks a lot!


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 14, 2009 8:21 am 
Offline

Joined: Tue Mar 03, 2009 2:39 pm
Posts: 52
Location: C.N.R. - LaMMA
Hello Angelolemos,

model inputs (as forcing, grid, boundary conditions, initial conditions, ect) can be defined analytically or through external files (netCDF format).
I think that the easiest way is to define analytically them. To do this you have to define the appropriate CPP options in 'myfile.h' then modify the related files called 'ana_ **.h' (called as the defined 'ana'-CPP-options) with inserting analytical expressions of your case.
I suggest you look 'ana_ **.h' files defined in 'upwelling.h' sample file that are located in the 'trunk /ROMS/Functionals'directory.

The last thing: for realistic simulation I had to define some model inputs by esternal files, in particular bathymetry, grid and tidal forcing (look in WikiROMS).

Good work!


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 29, 2019 9:56 am 
Offline

Joined: Thu Nov 29, 2018 5:18 pm
Posts: 4
Location: East China Normal University
hello Mariafattorini,
after defining those files (forcing file, grid etc (netcdf files)) how do you link them to the model? do we put them to the data directory to be read by executable file?
any one can help please!!


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 29, 2019 3:52 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3601
Location: IMS/UAF, USA
If you look through the roms.in file (and any roms documentation you might find) you will see that you provide the paths to the input files.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group