ad passive tracer!

Discussion about tangent linear and adjoint models, variational data assimilation, and other related issues.

Moderators: arango, robertson

Post Reply
Message
Author
thaitlhp
Posts: 15
Joined: Thu Apr 05, 2018 6:34 pm
Location: Ha Noi University Sience and Technology, Vietnam

ad passive tracer!

#1 Unread post by thaitlhp »

Hi everyone!I am a self-taught student of ROMS!
I tried ad passive tracer in roms_upwelling test case:
1. I run roms_upwelling.in
2. Ad double dye_west_(ocean_time, s_rho, eta_rho, xi_rho);
dye_west_:long_name = "dye concentration western boundary condition";
dye_west_:units = "kilogram meter-3";
dye_west_:time = "ocean_time" ;
dye_west_:grid = "grid" ;
dye_west_:coordinates = "x_rho y_rho s_rho ocean_time" ;
dye_west_:field = "dye_west_ , scalar , series";
in roms_rst.nc
-Set: ININAME == roms_rst.nc
NPT = 1
LBC(idTbry(iwest,inert(i))) == Per Clo Clo Clo
ad_LBC(idTbry(iwest,inert(i))) == Per Clo Clo Clo
Hout(idTbry(iwest,inert(i))) == T
in roms_upwelling.in
3.and #define ANA_PASSIVE
#define T_PASSIVE
#define ANA_PFLUX
#define ANA_BPFLUX
in roms_upwelling.h
but after run ROMS, i read roms_his.nc by ncview i didn't see dye_west_ var
where was i wrong? Thanks for your interest!
( forgive for my English skill still bad)
Attachments
roms_upwelling.in
(132.23 KiB) Downloaded 254 times

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

Re: ad passive tracer!

#2 Unread post by jcwarner »

1. you have
! Logical switches (TRUE/FALSE) to activate tracers point Sources/Sinks
! (like river runoff) and to specify which tracer variables to consider:
! [1:NAT+NPT,Ngrids]. See glossary below for details.

LtracerSrc == F F F ! temperature, salinity, inert
maybe this needs to be F F T

2. also saw that you use E-W periodic. not sure how a west boundary tracer comes into a periodic domain.

-john

Post Reply