River inflow direction

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
APJ
Posts: 3
Joined: Thu Feb 08, 2024 5:47 pm
Location: INCOIS

River inflow direction

#1 Unread post by APJ »

Can anyone please help me with the river inflow directions? If the river flows from east to west, what should its direction be? Or if the river is flowing from North to South, what directions should I prescribe? I went through the wikiroms (https://www.myroms.org/wiki/River_Runof ... _direction) but did not get much clarity. I hope someone can simplify the river direction explanation.

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

Re: River inflow direction

#2 Unread post by wilkin »

The river_direction variable specifies whether flow is crossing a u-face (river_direction = 0), a v-face (river_direction = 1) or enters as a flux divergence in the center of the cell at a rho-point (river_direction = 2). That is spelled out here: https://www.myroms.org/wiki/River_Runof ... _direction.

While river_direction flag equal to 0 or 1 specifies the cell velocity face the flow crosses, the actual direction of the flow depends on the sign of the river_transport, which is explained here: https://www.myroms.org/wiki/River_Runof ... _transport.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

APJ
Posts: 3
Joined: Thu Feb 08, 2024 5:47 pm
Location: INCOIS

Re: River inflow direction

#3 Unread post by APJ »

Thanks wikin. So if I specify river direction as 1 then the flow is from south to north, and if I provide -1 it indicates the river flow from north to south. Is my understanding correct?

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

Re: River inflow direction

#4 Unread post by wilkin »

No, that is incorrect. For flow through the v face river_direction = 1 but if flow is in the negative y direction then river_transport is negative.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Post Reply