Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with a MATLAB code about ACM (atmospheric circulation models)

Status
Not open for further replies.

Frobenius25

Aerospace
Joined
Oct 2, 2006
Messages
1
Location
IT
Hello to everybody, this is my first post here and I write since I'm having some problems in realizing a MATLAB code regarding a model for atmospheric circulation.
I have to consider the following set of two coupled diffusion equations:
du/dt=d/dz(K*du/dz)
dv/dt=d/dz(K*dv/dz)
where "u,v" are the variables we are studying (representing the wind speed and the potential temperature) and the diffusion coefficient is K=(l^2)*|du/dz|(1+b|Ri|)^n (with du/dz nonzero). In the previous definition "l"and "b" are constants and Ri is the Richardson number, given by
Ri=(g/a)*[(dv/dz)/(du/dz)^2] where "g" is the constant acceleration of gravity and "a" is a constant.
I am trying to realize a numerical discretization of this problem using second differences for what concern the spatial variable "z" and time-advancing schemes like esplicit or implicit Euler methods or Crank-Nicolson method. Can someone please help me realizing this MATLAB program?
Thank you very much!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top