Small oversight in /trunk/User/Functionals/ana_passive.h

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
pmilesi
Posts: 1
Joined: Sun May 11, 2014 3:04 pm
Location: Hydratec

Small oversight in /trunk/User/Functionals/ana_passive.h

#1 Unread post by pmilesi »

Hi everyone,

There are 2 things I'ld like to adress you.

1°)First of all, there is a small oversight in one of the 2 ana_passive.h present in the trunk directory. The definition of the ip local variable as integer is missing in /User/Functionals directory even though it's fine in /ROMS/Functionals.

2°)Then I am trying in vain to set up analytical boundary conditions for one passive tracer.
To use passive tracers, I define T_PASSIVE and ANA_PASSIVE, ANA_BTFLUX and put NPT=1. I miss now boundary conditions.
Is there a way to fix analytical boundary conditions for passive tracers in the same way as active tracers ?
I try to do this in ocean.in but that's not working. I might change something somewhere else.
LBC(isTvar) == Gra Clo Gra Clo \ ! temperature
Gra Clo Gra Clo \ ! salinity
Gra Clo Gra Clo ! passive tracer 1
I got this in my log file :
-->INP_PAR - illegal lateral boundary condition keyword: Gra
Gra Clo Gra Clo ! passive tracer 1

Moreover I would like to use ana_btflux.h to create a sink term on the bottom.

I am new in the community, so don't hesitate to tell me if there is a best way of doing that. Maybe with netcdf extern file but in this case, would you have a tutorial or an example to create one with the good variables and so on :D ...

Thank you very much in advance !

Paul

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

Re: Small oversight in /trunk/User/Functionals/ana_passive.h

#2 Unread post by kate »

For your #2, I don't know why it didn't work. I would have to just watch it in the debugger. It should know to read three tracers worth of LBC and yet somehow it's not.

I have used passive tracers and don't have extra ana_passive_bc for them. I do have Gordon's ana_trc_psource to set them at given locations in the domain.

Post Reply