/home/ntm/Workspace/NEMO/nemo_v3_6_STABLE/DOC/Namelists/namdia_harm
A module is available to compute the amplitude and phase of tidal waves. This on-line Harmonic analysis is actived with key_ diaharm. Some parameters are available in namelist namdia_harm :
- nit000_han is the first time step used for harmonic analysis
- nitend_han is the last time step used for harmonic analysis
- nstep_han is the time step frequency for harmonic analysis
- nb_ana is the number of harmonics to analyse
- tname is an array with names of tidal constituents to analyse
nit000_han and nitend_han must be between nit000 and nitend of the simulation. The restart capability is not implemented.
The Harmonic analysis solve the following equation:
| ![$\displaystyle h_{i} - A_{0} + \sum^{nb\_ana}_{j=1}[A_{j}cos(\nu_{j}t_{j}-\phi_{j})] = e_{i}$](img1182.png) | (11.1) | 
With  ,
, ,
, , the amplitude, frequency and phase for each wave and
, the amplitude, frequency and phase for each wave and  the error.
 the error.
 is the sea level for the time
 is the sea level for the time  and
 and  is the mean sea level.
 is the mean sea level. 
We can rewrite this equation:
| ![$\displaystyle h_{i} - A_{0} + \sum^{nb\_ana}_{j=1}[C_{j}cos(\nu_{j}t_{j})+S_{j}sin(\nu_{j}t_{j})] = e_{i}$](img1190.png) | (11.2) | 
 et
 et 
 .
.
We obtain in output  and
 and  for each tidal wave.
 for each tidal wave.
Gurvan Madec and the NEMO Team
NEMO European Consortium2017-02-17