Changeset 1785 in lmdz_wrf


Ignore:
Timestamp:
Mar 1, 2018, 1:17:27 PM (7 years ago)
Author:
lfita
Message:

Adding the right equations on `windz_log'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/module_ForDiagnosticsVars.f90

    r1784 r1785  
    11141114  SUBROUTINE var_zwind_log(d1, u, v, z, u10, v10, sa, ca, newz, unewz, vnewz)
    11151115! Subroutine to extrapolate the wind at a given height following the 'logarithmic law' methodology
    1116 !    wss[newz] = wss[z1]*(newz/z1)**alpha
    1117 !    alpha = (ln(wss[z2])-ln(wss[z1]))/(ln(z2)-ln(z1))
     1116!    wsz = wss[z2]*(ln(newz)-ln(z0))(ln(z2)-ln(z0))
     1117!    ln(z0) = (ws(z2)*ln(z1)-ws(z1)*ln(z2))/(ws(z2)-ws(z1))
    11181118! AFTER: Phd Thesis:
    11191119!   Benedicte Jourdier. Ressource eolienne en France metropolitaine : methodes d’evaluation du
Note: See TracChangeset for help on using the changeset viewer.