next up previous
Next: scoordset.F Up: The Proudman Oceanographic Laboratory Previous: pgrad.F

Subsections


saltflux.F


saltflux

Description

Determines change in sea surface salt flux based on difference between evaporation and precipitation. Precipitation provided via an input data file, evaporation calculated by the model from bulk formulae. Two routines included in this file, evap_prep which reads in precipitation and calculates the evaporation - precipitation rate (in m/s), and saltflux which introduces the flux rate at the sea surface and changes the surface salinity accordingly.

Subroutine Arguments

None

Local variables

In routine saltflux
i,j,k array counters
SFL surface salt flux
In routine evap_prep
evap,prec evaporation and precipitation rates
CE,RHO,WSP,QW,QA,EW,EA constants in the bulk formula for evaporation
iday,itimt,i,j,k,ntimt,ndays time counters

Global variables changed

In routine saltflux
sal(n-1,... surface salinity
In routine evap_prep
ep net evaporation rate

Logical units

In routine evap_prep
89 Input data time and precipitation rate

Order of Things

  1. evap_prep called by main programme ??
  2. input data time and precipitation rate
  3. calculate the evaporation rate
  4. calculate the net evaporation rate ep (= evaporation - precipitation) In routine saltflux
  5. calculate salt flux SFL
  6. modify surface salinity sal(n-1, ... for salt flux

Calls

In routine evap_prep
copy1d to spread prec across processors

Called By

evap_prep called by saltflux
saltflux called by ??

Options - Logical

first true if first call to subroutine

Options - Compiler

None

Known Issues

None, although salt flux can be specified in different ways, i.e. by inputting both evaporation and precipitation (if known) or by inputting the net flux.


next up previous
Next: scoordset.F Up: The Proudman Oceanographic Laboratory Previous: pgrad.F
The AMMP Project 2005-04-20