hight temp values of my river input

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
Entrapmen
Posts: 14
Joined: Thu Jul 17, 2008 3:28 pm
Location: IMS/METU and AWI

hight temp values of my river input

#1 Unread post by Entrapmen »

My domain is a rectangular channel and I want to add a river into my domain from one side.
I set the river discharge not as a single source but a series of adjacent sources (31 points - Q=1000 m^3/s for each).
domain.PNG
domain.PNG (3.81 KiB) Viewed 3985 times
The run blows up immediately within 15 time steps. I get crazy temperature values on the boundary. Here is a vertical section taken along the mid-channel.
snapshot1.png
snapshot1.png (6.68 KiB) Viewed 3985 times
What might be the reason for this strange shape and values?

Ozgur

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: hight temp values of my river input

#2 Unread post by kate »

You have to specify that you are going to provide the temperature values for the river water - and you have to provide those values. Saying you won't provide values causes the model to use an unconditionally unstable downwind advection right at the river entrance.

Entrapmen
Posts: 14
Joined: Thu Jul 17, 2008 3:28 pm
Location: IMS/METU and AWI

Re: hight temp values of my river input

#3 Unread post by Entrapmen »

I have already specified in my netcdf file river_temp, river_salt and river_flag and checked their array consistencies. They look fine.

austinctodd

Re: hight temp values of my river input

#4 Unread post by austinctodd »

I believe Kate is referring to whether or not you have "define TS_PSOURCE" in addition to "UV_PSOURCE" in your include file.

Entrapmen
Posts: 14
Joined: Thu Jul 17, 2008 3:28 pm
Location: IMS/METU and AWI

Re: hight temp values of my river input

#5 Unread post by Entrapmen »

austinctodd wrote:I believe Kate is referring to whether or not you have "define TS_PSOURCE" in addition to "UV_PSOURCE" in your include file.
I activate both cpp options. I also add Q_PSOURCE.

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: hight temp values of my river input

#6 Unread post by jcwarner »

sed_test1 was set up in a similar manner, but flow E-W. I have not tried that case is in a while, but it could provide guidance for you application.

austinctodd

Re: hight temp values of my river input

#7 Unread post by austinctodd »

So, do you want to be prescribing a vertical source and a horizontal source? It was my understanding that you should use either

#define UV_PSOURCE
#define TS_PSOURCE

or

#define Q_PSOURCE
#define TS_PSOURCE

This was addressed in earlier posts:
viewtopic.php?f=14&t=1663&p=5984&hilit=uv_psource#p5984

viewtopic.php?f=14&t=1663&p=5984&hilit=uv_psource#p5984

It appears that Q_PSOURCE is meant for a vertical point source, and UV_PSOURCE is meant for horizontal point sources. I would think that, for just a river through one wall, you would only want to use UV_PSOURCE.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: hight temp values of my river input

#8 Unread post by kate »

Also, what do you have for Lsrc and Tsrc?

Post Reply