add passive tracer
add passive tracer
Hi,
I want to add passive tracer in ROMS.
Anyone can tell me how to do it ?
Especially, how to make the initial file of passive tracer.
Many thanks.
I want to add passive tracer in ROMS.
Anyone can tell me how to do it ?
Especially, how to make the initial file of passive tracer.
Many thanks.
Re: add passive tracer
First, you turn on T_PASSIVE and set NPT in roms.in. For the initial conditions, ANA_PASSIVE can be used, otherwise you'll have to put the initial conditions into a netcdf file. I've usually initialized with zero via ANA_PASSIVE, then used sources to introduce the passive dye locally. What is your strategy going to be?
Re: add passive tracer
Thank you Kate.
I have turned on T_PASSIVE and set NPT =1. And I add dye_01 into the initial file.
Then, I run the model, but get the error message:
unable to find requested variable: dye_01_sflux
How can I figure it out?
I have turned on T_PASSIVE and set NPT =1. And I add dye_01 into the initial file.
Then, I run the model, but get the error message:
unable to find requested variable: dye_01_sflux
How can I figure it out?
Re: add passive tracer
You need these as well:
unless you want the top and bottom tracer fluxes to be non-zero.
Code: Select all
# define ANA_BPFLUX /* analytical bottom passive tracers fluxes */
# define ANA_SPFLUX
Re: add passive tracer
There is an FAQ
https://www.myroms.org/wiki/Frequently_ ... tracers.3F
and also guidance on what to do if you want passive tracers in your rivers
https://www.myroms.org/wiki/River_Runoff
https://www.myroms.org/wiki/Frequently_ ... tracers.3F
and also guidance on what to do if you want passive tracers in your rivers
https://www.myroms.org/wiki/River_Runoff
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
Re: add passive tracer
Thank you, Kate and Wilkin. It works.
I am not sure whether this result present the concentration of dye or not?
How can I do if I want to simulate only the Lagrange motion of particles, rather than the diffusion of the dye concentration?
I am not sure whether this result present the concentration of dye or not?
How can I do if I want to simulate only the Lagrange motion of particles, rather than the diffusion of the dye concentration?
Re: add passive tracer
The FLOATS option is a whole different can of worms. Is that what you want? Online or offline?
Re: add passive tracer
Online
How to use FLOATS option?
How to use FLOATS option?
Re: add passive tracer
I see the wiki page on FLOATS is still empty. There is probably something about floats in the manual, though.
Re: add passive tracer
Read the GLOSSARY at the end of one of the floats files, e.g. floats_upwelling.in, in the External directory. It is quite comprehensive.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu