Boundary input stop working when BC is changed to Red

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
zhangtianyi
Posts: 2
Joined: Tue Sep 09, 2014 6:49 pm
Location: University of South Carolina

Boundary input stop working when BC is changed to Red

#1 Unread post by zhangtianyi »

Hi,
I am introducing a tide signal from the western boundary for my model. I uses zeta_west variable in a boundary input file to specify the signal. When I tried to change the boundary condition of 2D V-momentum from Fla to Red at the West boundary the model stop taking my boundary input file.
Anyone have an idea why this happens?

Appreciate for the help.

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

Re: Boundary input stop working when BC is changed to Red

#2 Unread post by kate »

What is your western ubar boundary condition? The logic in question is in inp_par.F:

Code: Select all

            CASE ('FLA')
              S(ibry,ifield,igrid)%Flather = .TRUE.
              S(ibry,ifield,igrid)%acquire = .TRUE.
              S(ibry,isFsur,igrid)%acquire = .TRUE.
Setting either ubar or vbar to Fla will tell ROMS to read the free surface. There's also this:

Code: Select all

            CASE ('RED')
              S(ibry,ifield,igrid)%reduced = .TRUE.
#if defined FSOBC_REDUCED
              S(ibry,isFsur,igrid)%acquire = .TRUE.
#endif

zhangtianyi
Posts: 2
Joined: Tue Sep 09, 2014 6:49 pm
Location: University of South Carolina

Re: Boundary input stop working when BC is changed to Red

#3 Unread post by zhangtianyi »

kate wrote:What is your western ubar boundary condition? The logic in question is in inp_par.F:

Code: Select all

            CASE ('FLA')
              S(ibry,ifield,igrid)%Flather = .TRUE.
              S(ibry,ifield,igrid)%acquire = .TRUE.
              S(ibry,isFsur,igrid)%acquire = .TRUE.
Setting either ubar or vbar to Fla will tell ROMS to read the free surface. There's also this:

Code: Select all

            CASE ('RED')
              S(ibry,ifield,igrid)%reduced = .TRUE.
#if defined FSOBC_REDUCED
              S(ibry,isFsur,igrid)%acquire = .TRUE.
#endif
Thanks for your reply!
I used Red for ubar and Fla for vbar, and now I wanted to use Red for both. That's when it stop to read the free surface.

Post Reply