bulk forcing

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
shrikantmp
Posts: 27
Joined: Mon Jan 27, 2014 9:50 pm
Location: Indian Institute of Science

bulk forcing

#1 Unread post by shrikantmp »

Hi ROMS users

I am running a simulation of Bay of Bengal to study it's circulation. I need to run a case where the wind forcing is switched off. If I do not define BULK_FLUXES, it is straightforward to switch the winds off by specifying 0 values for it in the stress files. I want to know if there is way in which I define BULK_FLUXES and switch the winds off.

Thanks.

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

Re: bulk forcing

#2 Unread post by kate »

Sure, just #define ANA_WINDS and give it zero winds.

shrikantmp
Posts: 27
Joined: Mon Jan 27, 2014 9:50 pm
Location: Indian Institute of Science

Re: bulk forcing

#3 Unread post by shrikantmp »

Thanks kate. But, would it not affect the calculation of other fluxes, since many of them depend on the Monin-Obukhov similarity parameters (e.g. Wstar)? I want only stresses to be zero while retaining all other surface forcings.

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

Re: bulk forcing

#4 Unread post by kate »

The easiest way to do that is to simply hack the bulk_flux routine. Put an #ifdef NO_STRESS (or whatever you like) around some code to zero out the stresses after they've been set, before the communications section at the bottom.

shrikantmp
Posts: 27
Joined: Mon Jan 27, 2014 9:50 pm
Location: Indian Institute of Science

Re: bulk forcing

#5 Unread post by shrikantmp »

Thanks kate..!!

Post Reply