Ignore:
Timestamp:
Mar 28, 2016, 5:27:51 PM (9 years ago)
Author:
emillour
Message:

All models: More updates to make planetary codes (+Earth) setups converge.

  • in dyn3d_common:
  • convmas.F => convmas.F90
  • enercin.F => enercin.F90
  • flumass.F => flumass.F90
  • massbar.F => massbar.F90
  • tourpot.F => tourpot.F90
  • vitvert.F => vitvert.F90
  • in misc:
  • move "q_sat" from "dyn3d_common" to "misc" (in Earth model, it is also called by the physics)
  • move "write_field" from "dyn3d_common" to "misc"(may be called from physics or dynamics and depends on neither).
  • in phy_common:
  • move "write_field_phy" here since it may be called from any physics package)
  • add module "regular_lonlat_mod" to store global information on lon-lat grid
  • in dynlonlat_phylonlat/phy*:
  • turn "iniphysiq.F90" into module "iniphysiq_mod.F90" (and of course adapt gcm.F[90] and 1D models accordingly)

EM

Location:
trunk/LMDZ.VENUS/libf/phyvenus/dyn1d
Files:
1 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/dyn1d/rcm1d.F

    r1517 r1523  
    1313     .                       disvert_type,pressure_exner
    1414      use conc, only: rho
     15      USE iniphysiq_mod, ONLY: iniphysiq
    1516
    1617      IMPLICIT NONE
     
    199200
    200201      CALL init_phys_lmdz(iim,jjm,llm,1,(/1/))
    201       CALL iniphysiq(1,1,llm,daysec,day0,dtphys,
    202      .            lati,long,area,cufi,cvfi,rad,g,r,cpp,1)
    203 
    204       call ini_cpdet
    205202
    206203c   la surface de chaque maille est inutile en 1D --->
     
    209206      cufi(1)=1.E+0
    210207      cvfi(1)=1.E+0
     208
     209c Ehouarn: iniphysiq requires arrays related to (3D) dynamics grid,
     210c e.g. for cell boundaries, which are meaningless in 1D; so pad these
     211c with '0.' when necessary
     212      CALL iniphysiq(1,1,llm,daysec,day0,dtphys,
     213     &            (/lati(1),0./),(/0./),
     214     &            (/0.,0./),(/long(1),0./),
     215     &            (/ (/area,0./),(/0.,0./) /),
     216     &            (/cufi,0.,0.,0./),
     217     &            (/cvfi,0./),
     218     &            rad,g,r,cpp,1)
     219
     220      call ini_cpdet
    211221
    212222c   le geopotentiel au sol est inutile en 1D car tout est controle
Note: See TracChangeset for help on using the changeset viewer.