Turn off tracer advection

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
yz966445
Posts: 10
Joined: Fri Mar 10, 2017 11:22 pm
Location: Dalhousie University

Turn off tracer advection

#1 Unread post by yz966445 »

Hi everyone,
I want to run a experiment with the advection (horizontal and vertical) terms in the model temperature equation switched off. Does anyone know how to do that? Could I just set the temperature horizontal and vertical advection parameter to be zero? If I can, where the code I should modify. Thanks


Yi

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

Re: Turn off tracer advection

#2 Unread post by jcwarner »

how about
#define TS_FIXED

-j

yz966445
Posts: 10
Joined: Fri Mar 10, 2017 11:22 pm
Location: Dalhousie University

Re: Turn off tracer advection

#3 Unread post by yz966445 »

jcwarner wrote:how about
#define TS_FIXED

-j
Hi J,

I want to study the role of vertical mixing in the SST change.
Does the TS_FIXED just make the temperature to be constant? Thanks


Yi

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

Re: Turn off tracer advection

#4 Unread post by kate »

The code as distributed doesn't have the switch you are looking for, but that doesn't mean you can't add it.

yz966445
Posts: 10
Joined: Fri Mar 10, 2017 11:22 pm
Location: Dalhousie University

Re: Turn off tracer advection

#5 Unread post by yz966445 »

kate wrote:The code as distributed doesn't have the switch you are looking for, but that doesn't mean you can't add it.
Hi Kate,
Thanks for the reply. I am very new to Roms. I can not find the temperature tracer equation code. Do you know which code should I look at?


Yi

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

Re: Turn off tracer advection

#6 Unread post by kate »

Yes, I do. You can use "grep" to find instances of TS_FIXED in pre_step3d.F, in rhs3d.F and in step3d_t.F.

yz966445
Posts: 10
Joined: Fri Mar 10, 2017 11:22 pm
Location: Dalhousie University

Re: Turn off tracer advection

#7 Unread post by yz966445 »

kate wrote:Yes, I do. You can use "grep" to find instances of TS_FIXED in pre_step3d.F, in rhs3d.F and in step3d_t.F.
Hi Kate,
I really appreciate your helps. I think I found what I want in the step3d_t.F. Thanks again.

Yi

Post Reply