cluster distribution parameter in floats.in

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
cuixuan
Posts: 2
Joined: Wed Jul 25, 2018 2:52 pm
Location: Institute of Oceanology,Chinese Academy of Science

cluster distribution parameter in floats.in

#1 Unread post by cuixuan »

I am trying to release some floats through floats.in. However, I do not understand what the Fdx, Fdy, Fdz mean. It is said that "The user can use any of these parameters to design any cluster distribution in routine init_floats.F". Where is init_floats.F located? Can anyone help me with that? :D

User avatar
wilkin
Posts: 922
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: cluster distribution parameter in floats.in

#2 Unread post by wilkin »

There is some additional, admittedly very succinct, documentation at https://www.myroms.org/wiki/floats.in

As an example, the code below will initialize 15 floats at i = 3 (Fx0 =3), j = 2 (Fy0 = 2) and k = 1:2:31 (Fz0 = 1, Fdz = 2):

Code: Select all

!   C      Initial horizontal coordinate type (0: grid units, 1: spherical)
!   T      Float trajectory type (1: Lagrangian, 2: isobaric, 3: Geopotential)
!   N      Number floats to be released at (Fx0,Fy0,Fz0)
!   Ft0    Float release time (days) after model initialization
!   Fx0    Initial float X-location (grid units or longitude)
!   Fy0    Initial float Y-location (grid units or latitude)
!   Fz0    Initial float Z-location (grid units or depth)
!   Fdt    Float cluster release time interval (days)
!   Fdx    Float cluster X-distribution parameter
!   Fdy    Float cluster Y-distribution parameter
!   Fdz    Float cluster Z-distribution parameter
POS = G, C, T, N,   Ft0,    Fx0,    Fy0,    Fz0,    Fdt,    Fdx,    Fdy,   Fdz
      1  0  1  15   0.00    3.00    2.00    1.0     0.00     0.00   0.00   2.00
      
The initialization is in terms of i,j,k because C = 0.

For physical x,y,z space use C = 1.

Note you can mix coordinate type because it is set for each line in floats.in.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Post Reply