River Runoff: Difference between revisions
No edit summary (change visibility) |
|||
Line 6: | Line 6: | ||
First you need to set the appropriate [[Options|CPP options]]. | First you need to set the appropriate [[Options|CPP options]]. | ||
Typically, this would be: | Typically, this would be: | ||
TS_PSOURCE for salinity and/or temperature sources/sinks | TS_PSOURCE for salinity and/or temperature sources/sinks | ||
and/or | and/or |
Revision as of 02:16, 9 April 2008
River Input
First you need to set the appropriate CPP options. Typically, this would be:
TS_PSOURCE for salinity and/or temperature sources/sinks and/or UV_PSOURCE for mass sources/sinks due to river runoff.
Then you need to decide how to provide the information of river flow, vertical distribution of flow, direction, location, and tracer (temp, salt, sed, etc) values. You can provide the data analytically or by providing the data in a NetCDF forcing file.
To provide this information analytically, you need to activate ANA_PSOURCE. In ana_psource.h, set the values for
You can find examples on how to write such a river forcing file in the "matlab" package at
https://www.myroms.org/index.php?page=Processing you may also be interested in this https://www.myroms.org/forum/viewtopic.php?t=63
You will be asked to define the vertical profile of the flushing. There is not yet a clear rule about this. You can refere to the topic https://www.myroms.org/forum/viewtopic.php?t=60 and https://www.myroms.org/forum/viewtopic.php?t=79