Need help to build my application base on riverplume test case

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
briskbamboo
Posts: 20
Joined: Thu Aug 20, 2020 1:24 pm
Location: University of Tsukuba

Need help to build my application base on riverplume test case

#1 Unread post by briskbamboo »

Need help to build my application base on river_plume test case

So far I've completed several steps

1- run river_plume1 test case;
2- added my own grid-domain to the case;
3- moved the point source position from the border to a point inside the grid. Then run successfully with both LuvSrc or LwSrc == T;

Now I try to add a passive tracer into the river flow point source. These are my configures for tracer and ana_ input in riverplume1.h:

Code: Select all

/*#define ANA_GRID*/
#define ANA_INITIAL
#define ANA_PASSIVE
#define ANA_PSOURCE
#define ANA_TOBC
#define ANA_SMFLUX
#define ANA_SRFLUX
#define ANA_SSFLUX
#define ANA_STFLUX
#define ANA_BSFLUX
#define ANA_BTFLUX
When I try to run the model it stopped with an error log file

It claimed that "INQUIRY - unable to open input NetCDF file: roms_frc.nc". It seem to be I have no frc/boundary data for the passive tracer and the ANA_TOBC does not work. I am confused it this point, any help are appreciated.

User avatar
wilkin
Posts: 875
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: Need help to build my application base on riverplume test case

#2 Unread post by wilkin »

I think you might need to define

Code: Select all

./Include/cppdefs.h:** ANA_SPFLUX              if analytical surface passive tracers fluxes      **
and though you don't mention, to turn on the tracers ...

Code: Select all

./Include/cppdefs.h:** T_PASSIVE               if inert passive tracers (dyes, etc)              **
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

briskbamboo
Posts: 20
Joined: Thu Aug 20, 2020 1:24 pm
Location: University of Tsukuba

Re: Need help to build my application base on riverplume test case

#3 Unread post by briskbamboo »

Thank you wilkin It worked like a charm.

Post Reply