Opened 16 years ago

Closed 16 years ago

#200 closed request (Done)

passive tracer boundary conditions?

Reported by: kate Owned by: arango
Priority: minor Milestone: Release ROMS/TOMS 3.2
Component: Nonlinear Version: 3.2
Keywords: Cc:

Description (last modified by arango)

I'm not understanding how the passive tracers get their boundary conditions. There's a clever way for them to be initialized differently from the active tracers with ANA_PASSIVE. There's a clever dye_ entry in varinfo.dat, but what about dye_west_ and friends?

What about analytic passive boundary conditions? I'm guessing there's something missing here.

Change History (1)

comment:1 by arango, 16 years ago

Description: modified (diff)
Resolution: Done
Status: newclosed

Yes, thank you. I added the generic logic in varinfo.dat and mod_ncparam.F to process the variables for inert tracers boundary conditions:

'dye_west_'                                        ! Input
  'dye concentration western boundary condition'
  'kilogram meter-3'                               ! [kg/m3]
  'dye_west_, scalar, series'
  'dye_time'
  'idTbry(iwest,inert(i))'
  'nulvar'
  1.0d0

'dye_east_'                                        ! Input
  'dye concentration eastern boundary condition'
  'kilogram meter-3'                               ! [kg/m3]
  'dye_east_, scalar, series'
  'dye_time'
  'idTbry(ieast,inert(i))'
  'nulvar'
  1.0d0

'dye_south_'                                       ! Input
  'dye concentration southern boundary condition'
  'kilogram meter-3'                               ! [kg/m3]
  'dye_south_, scalar, series'
  'dye_time'
  'idTbry(isouth,inert(i))'
  'nulvar'
  1.0d0

'dye_north_'                                       ! Input
  'dye concentration northern boundary condition'
  'kilogram meter-3'                               ! [kg/m3]
  'dye_north_, scalar, series'
  'dye_time'
  'idTbry(inorth,inert(i))'
  'nulvar'
  1.0d0

There is not need to add an additional option or code for analytical lateral boundary conditions since ANA_TOBC and ana_tobc.h controls all the tracer fields. I not allowing to have both tracer boundary data (NetCDF file) and analytical expressions (ana_tobs.h) at the same time. You either set all the conditions for all tracers in ana_tobc.h or read all the data from NetCDG file. The tracer logic is ROMS is complex.

Note: See TracTickets for help on using tickets.