From ngalbraith@whoi.edu Fri, 13 Jul 2001 10:45:37 -0400
Date: Fri, 13 Jul 2001 10:45:37 -0400
From: NGalbraith ngalbraith@whoi.edu
Subject: [Sea-mat] FWD: static magnetic field question

Please send any replies to this query to  
  mohamadakl@hotmail.com

> I am looking for a MATLAB code that represents a numerical 
> solution for calculating static magnetic fields in 3D iteratively.  
> Is this code available by chance.  
> 
> If you don't have a clue, would you please tell me who I can ask?
> Thanks,
> Waiting for your reply.
> Mohamad Akl
>  

*********************************************************************
* Nan Galbraith                         MS 29                       *
* Woods Hole Oceanographic Institution  Woods Hole, MA 02543        *
*********************************************************************




From ngalbraith@whoi.edu Fri, 20 Jul 2001 16:03:58 -0400
Date: Fri, 20 Jul 2001 16:03:58 -0400
From: NGalbraith ngalbraith@whoi.edu
Subject: [Sea-mat] [Fwd: matlab mixed layer depth]

Please reply to vagostin@u.washington.edu

"Vera N. Agostini" wrote:
> 
> Hello,
> I am a graduate student at the University of Washington and 
> I am looking for a Matlab tool to calculate mixed layer depth. 
> I could not locate it on your web-site; do you know where I 
> could find one?

> Thank you!
> Vera Agostini
 
*********************************************************************
* Nan Galbraith                         MS 29                       *
* Woods Hole Oceanographic Institution  Woods Hole, MA 02543        *
*********************************************************************




From aperlin@OCE.ORST.EDU Fri, 20 Jul 2001 15:10:54 -0700
Date: Fri, 20 Jul 2001 15:10:54 -0700
From: Alexander Perlin aperlin@OCE.ORST.EDU
Subject: [Sea-mat] coastal-trapped waves

Hello all,

I'm looking for a Matlab version of WHOI Fortran program for computing 
properties of coastal-trapped waves over the continental shelf and slope. 
Does such a version exist? If not, is it possible to get Fortran code?

Thank you,
Alexander.



****************************************************
Alexander Perlin
College of Oceanic & Atmos. Sci.
104 Ocean Admin. Bldg.
Oregon State University
Corvallis, OR 97331-5503
ph: 541-737-2990 fx: 541-737-2064
e-mail: aperlin@oce.orst.edu
http://mixing.oce.orst.edu/people/perlin/
****************************************************





From XuZ@mar.dfo-mpo.gc.ca Mon, 23 Jul 2001 12:13:32 -0300
Date: Mon, 23 Jul 2001 12:13:32 -0300
From: Xu, Zhigang XuZ@mar.dfo-mpo.gc.ca
Subject: [Sea-mat] coastal-trapped waves

Hi, Alexander, 

    Have we met on the data assimilation workshop in 99 lecture by Professor
A. Bennett your school? I guess so. 

    I have just recently made a matlab program from scratch to calculate the
eigenvalues/egienfunctions for barotropic trapped waves on the continental
shelf/slope. It numerically solves the following eigen value problem:

           [ P(x) Y'  ]' + Q(x)Y = lambda F1(x) Y + lambda^2 F2(x) Y,   for
x=x(2:N-1)
           A(1) Y(1) + A(2) Y'(1) =lambda A(3) Y(1)
for x=x(1)
           B(1) Y(N) +B(2)Y'(N) = lambda B(3) Y(N)
for x=x(N)

where 
      x                     is the on-off shore direction co-ordinate, and
seaward positively; x(1)coast, x(N)=offshore end
 
      Y                    are the complex amplitude of the trapped waves
(to be solved as eigenfunctions)
 
     P(x)  and Q(x)  are arbitrary function of x;  for our coastal trapped
waves, they should be  water depth, say h(x),  and (sigma^2-f^2)/g
respectively (sigma is the frequency, and f and g are the Coriolis and
gravitational parameters) 

    lambda             are the eigvenvalues in interest (to be solved), it
can represent the alongshore wave numbers 

    F1(x) and F2(x)  are again two functions of x;  as far as the coastal
trapped wave concerns, 
                            they should be taken as F1(x)= f/(sigma h' ) and
F2(x)=h(x)

     A(1), A(2), A(3), B(1), B(2) and B(3)  are two groups of  arbitrary
(but should be meaningful) constants, to allow for  different types of
boundary conditions at the coast and at the deep sea end. For example,  if
you supply A(1:3) with [0 1 f/sigma] and B(1:3) with [1 0 0] then you will
have specified no-flux condition at the coast and clamp condition at the
deep sea side.  

     Upon you specify the coefficient functions and constants, the program
will give you all the possible alonshore wave numbers and amplitude
structures in the on-offshore direction per frequency. So if you run the
program for a range of frequencies, you can have dispersion curves. Possible
evanescent modes will also be among the outputs. 

     This program is not a translation of the WHOI Fortran code; it was made
from scratch, because for me it is easier to make it from scratch once you  
realise that the above ODE's can be discretized  to form  a general
eigenvalue problem things become quite easy with the matlab eigen functions.
I  have obtained interesting results with the program on double Kelvin waves
on the Newfoundland shelves.  But the program is not polished yet,
everything to me here is in a rush. I am planing  to make another program
for a baroclinic counterpart later on, and to polish them together before I
can contribute to our community. But if you are interested at this stage, I
can supply it to you first and facilitate you in using it. This way I can
also have your valuable feedback as well.

Regards!

Zhigang


Dr. Zhigang Xu
Research Scientist
Coastal Ocean Science, Ocean Sciences Division
Bedford Institute of Oceanography
P. O. Box 1006
Dartmouth, N.S. B2Y 4A2
Tel. 902-426-2307, Fax 902-426-6927
Office Email: xuz@mar.dfo-mpo.gc.ca   
 
 
 

> -----Original Message-----
> From:	Alexander Perlin [SMTP:aperlin@OCE.ORST.EDU]
> Sent:	Friday, July 20, 2001 7:11 PM
> To:	sea-mat@whoi.edu
> Subject:	[Sea-mat] coastal-trapped waves
> 
> Hello all,
> 
> I'm looking for a Matlab version of WHOI Fortran program for computing 
> properties of coastal-trapped waves over the continental shelf and slope. 
> Does such a version exist? If not, is it possible to get Fortran code?
> 
> Thank you,
> Alexander.
> 
> 
> 
> ****************************************************
> Alexander Perlin
> College of Oceanic & Atmos. Sci.
> 104 Ocean Admin. Bldg.
> Oregon State University
> Corvallis, OR 97331-5503
> ph: 541-737-2990 fx: 541-737-2064
> e-mail: aperlin@oce.orst.edu
> http://mixing.oce.orst.edu/people/perlin/
> ****************************************************
> 
> 
> 
> _______________________________________________
> Sea-mat maillist  -  Sea-mat@whoi.edu
> http://www.whoi.edu/mailman/listinfo/sea-mat




