Ignore:
Timestamp:
May 26, 2011, 5:17:33 PM (13 years ago)
Author:
Laurent Fairhead
Message:

Necessary modifications to use the model in an aquaplanet or terraplanet configuration


Modifications nécessaires pour l'utilisation du moèle en configuration aquaplanète
ou terraplanète

Dans la dynamique:
Changement pour le paramètre iflag_phys:

auparavant : 0 pas de physique, 1 phyique, 2 rappel
ici on ajoute iflag_phys>=100 pour les aqua et terra

Du coup, dans leapfrog.F et gcm.F on appelle la physique si
iflag_phys=1.or.iflag_phys>=100
Dans iniacademic, on initialise si iflag_phys>=2 au lieu de =2
Dans gcm.F, on appelle en plus iniaqua (sous une clef CPP_EARTH)
Dans iniacademic, on met ps=108080 pour les aqua et terra pour répondre
à une specification CFMIP.

Dans la physique:
On ajoute phyaqua.F qui contient :
iniaqua : initialise les startphy.nc et limit.nc pour la phyique
zenang_an : calcule un ensolleillement moyen sur l'année en fonction de

la latiude (A. Campoy).

profil_sst : qui calcule différents profils latitudinaux de SSTs.
writelim : écrit le fichier limit.nc

Dans physiq.F
On ajoute la possibilité d'appeller un calcul d'ensoleillement moyen
sur l'année quand solarlong0=1000.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3d/gcm.F

    r1454 r1529  
    408408c   -------------------------------
    409409
    410       IF (call_iniphys.and.(iflag_phys.eq.1)) THEN
     410      IF (call_iniphys.and.(iflag_phys==1.or.iflag_phys>=100)) THEN
    411411         latfi(1)=rlatu(1)
    412412         lonfi(1)=0.
     
    459459#endif
    460460
     461#ifdef CPP_EARTH
     462! Create start file (startphy.nc) and boundary conditions (limit.nc)
     463! for the Earth verstion
     464       if (iflag_phys>=100) then
     465          call iniaqua(ngridmx,latfi,lonfi,iflag_phys)
     466       endif
     467#endif
     468
    461469!      if (planet_type.eq."earth") then
    462470! Write an Earth-format restart file
     471
    463472        CALL dynredem0("restart.nc", day_end, phis)
    464473!      endif
Note: See TracChangeset for help on using the changeset viewer.