Ignore:
Timestamp:
Feb 18, 2013, 2:46:14 PM (12 years ago)
Author:
slebonnois
Message:

SL: add rcm1d tool in Venus and Titan physics to run the code in 1D, and associated small modifications

Location:
trunk/LMDZ.TITAN/libf/phytitan
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/effg.F

    r808 r887  
    66!    (et dans physique, attention a clmain et autres...)
    77
    8 !      EFFG = RG * (RA/(RA + Z ) )**2
     8      EFFG = RG * (RA/(RA + Z ) )**2
    99
    1010! Pour l'instant:
    11       EFFG = RG
     11!     EFFG = RG
    1212      RETURN
    1313      END
  • trunk/LMDZ.TITAN/libf/phytitan/physiq.F

    r855 r887  
    780780      DO l=1,klev
    781781         DO i=1,klon
    782             zzlay(i,l)=zphi(i,l)/RG
     782c           zzlay(i,l)=zphi(i,l)/RG
    783783c SI ON TIENT COMPTE DE LA VARIATION DE G AVEC L'ALTITUDE:
    784 c           zzlay(i,l)=RG*RA*RA/(RG*RA-zphi(i,l))-RA
     784            zzlay(i,l)=RG*RA*RA/(RG*RA-zphi(i,l))-RA
    785785         ENDDO
    786786      ENDDO
     
    15481548#endif
    15491549
    1550 c ---------- Sorties testphys1d -------------
    1551      
    1552       if (klon.eq.1) then
    1553         call writeg1d(klon,klev,t_seri,"Temp","Temperature")
    1554         call writeg1d(klon,1,ftsol,"tsurf","Surface Temp")
    1555       DO k = 1, klev
    1556       DO i = 1, klon
    1557 c        tmpout(i,k) = real(heat(i,k))
    1558          tmpout(i,k) = heat(i,k)
    1559       ENDDO
    1560       ENDDO
    1561         call writeg1d(klon,klev,tmpout,
    1562      .                 "heat","Solar heating")
    1563       DO k = 1, klev
    1564       DO i = 1, klon
    1565 c        tmpout(i,k) = real(dtrad(i,k))
    1566          tmpout(i,k) = dtrad(i,k)
    1567       ENDDO
    1568       ENDDO
    1569         call writeg1d(klon,klev,tmpout,
    1570      .                 "dtrad","IR cooling")
    1571         call writeg1d(klon,klev,lwnet,"lwnet","Net LW flux")
    1572         call writeg1d(klon,klev,swnet,"swnet","Net SW flux")
    1573         call writeg1d(klon,klev,fluxt,"flux_vdf","Turbulent flux")
    1574         call writeg1d(klon,klev,flux_ajs,"flux_ajs","Dry adjust. flux")
    1575         call writeg1d(klon,klev,flux_ec,"flux_ec","Ec flux")
    1576 c       call writeg1d(klon,1,solsw,"surfsw","Net SW flux at surface")
    1577 c       call writeg1d(klon,1,sollw,"surflw","Net LW flux at surface")
    1578         call writeg1d(klon,1,radsol,"surfnet","Net flux at surface")
    1579         call writeg1d(klon,klev,d_t_vdf,"dt_vdf","DT from clmain")
    1580         call writeg1d(klon,klev,d_t_ajs,"dt_ajs","DT from ajsec")
    1581         call writeg1d(klon,klev,d_t_ec,"dt_ec","DT from Ec")
    1582       endif
    1583      
    15841550c====================================================================
    15851551c Si c'est la fin, il faut conserver l'etat de redemarrage
Note: See TracChangeset for help on using the changeset viewer.