Changeset 3975
- Timestamp:
- Nov 21, 2025, 7:20:50 PM (3 weeks ago)
- Location:
- trunk/LMDZ.TITAN
- Files:
-
- 9 added
- 4 edited
-
DOC/rcm1d.pdf (added)
-
DOC/rcm1d.tex (added)
-
DOC/rcm1d_old.tex (added)
-
deftank/callphys.def (added)
-
deftank/rcm1d.def (added)
-
deftank/run.def.1d (added)
-
libf/chimtitan/titan.h (modified) (1 diff)
-
libf/dynphy_lonlat/phytitan/gr_kim_vervack.F90 (modified) (1 diff)
-
libf/phytitan/dyn1d/mod_const_mpi.F90 (added)
-
libf/phytitan/dyn1d/mod_interface_dyn_phys.F90 (added)
-
libf/phytitan/dyn1d/parallel_lmdz.F90 (added)
-
libf/phytitan/dyn1d/rcm1d.F (modified) (8 diffs)
-
libf/phytitan/profile.F (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/chimtitan/titan.h
r2326 r3975 8 8 #define R0 (double)(2575.0) /* Titan's radius */ 9 9 #define NLEV (int)(133) /* Nbre de niv verticaux -> Need to be coherent with the vertical grid used !! */ 10 #define NLD (int)(40) /* Nbre de niv verticaux faits sans diff -> Need to be coherent with the vertical grid used !! */ 11 //#define NLD (int)(0) /* -> This is for 1D, diffusion on all column */ 10 #ifdef CPP_1D 11 #define NLD (int)(0) /* -> This is for 1D, diffusion on all column */ 12 #else 13 #define NLD (int)(40) /* Nbre de niv verticaux faits sans diff -> Need to be coherent with the vertical grid used !! */ 14 #endif 12 15 #define NLRT (int)(650) /* Nbre de niv verticaux dans table fmoy - aussi dans common_mod */ 13 16 -
trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan/gr_kim_vervack.F90
r2365 r3975 63 63 64 64 ! NB : At the top of the model we are in pure pressure coord. -> ap 65 ! ( except for 1D where we have only bp )66 65 67 IF (jjm.GT.1) THEN 68 ptop = 2.0*aps(llm) - ap(llm) 69 ELSE 70 ptop = preff*(2.0*bps(llm) - bp(llm)) 71 ENDIF 66 ptop = 2.0*aps(llm) - ap(llm) 72 67 73 68 ! -------------------------------------------- -
trunk/LMDZ.TITAN/libf/phytitan/dyn1d/rcm1d.F
r3318 r3975 37 37 use phys_state_var_mod, only: phys_state_var_init 38 38 use physiq_mod, only: physiq 39 ! For XIOS outputs: 40 use mod_const_mpi, only: init_const_mpi 41 use parallel_lmdz, only: init_parallel 39 42 implicit none 40 43 … … 135 138 c======================================================================= 136 139 140 ! For XIOS outputs 141 #ifdef CPP_XIOS 142 call init_const_mpi 143 call init_parallel 144 #endif 145 137 146 ! read nq from traceur.def 138 147 open(90,file='traceur.def',status='old',form='formatted', … … 204 213 write(*,*) 'Please remove the file and restart the run.' 205 214 write(*,*) 'Runtime parameters are supposed to be in rcm1d.def' 206 stop215 !stop 207 216 else 208 call system('touch run.def')209 call system("echo 'INCLUDEDEF=callphys.def' >> run.def")210 call system("echo 'INCLUDEDEF=rcm1d.def' >> run.def")217 ! call system('touch run.def') 218 ! call system("echo 'INCLUDEDEF=callphys.def' >> run.def") 219 ! call system("echo 'INCLUDEDEF=rcm1d.def' >> run.def") 211 220 endif 212 221 … … 217 226 write(*,*) " tracer = ",tracer 218 227 219 ! OK. now that run.def has been read once -- any variable is in memory.220 ! so we can dump the dummy run.def221 ! call system("rm -rf run.def") ! Ehouarn: delay this to after inifis222 223 228 ! while we're at it, check if there is a 'traceur.def' file 224 ! and pr eocess it, if necessary. Otherwise initialize tracer names229 ! and process it, if necessary. Otherwise initialize tracer names 225 230 if (tracer) then 226 231 ! load tracer names from file 'traceur.def' … … 449 454 iphysiq=1 ! in 1D model physics are called evry time step 450 455 ecritphy=day_step ! default value for ecritphy 451 PRINT *,'Nu nber of steps between writediagfi ?'456 PRINT *,'Number of steps between writediagfi ?' 452 457 call getin("ecritphy",ecritphy) 453 458 write(*,*) " ecritphy = ",ecritphy … … 503 508 ! At this point, both getin() and getin_p() functions have been used, 504 509 ! and the run.def file can be removed. 505 call system("rm -rf run.def")510 ! call system("rm -rf run.def") 506 511 507 512 !!! We check everything is OK. … … 941 946 c ======================================================== 942 947 if(saveprofile)then 943 OPEN(12,file='profile .out',form='formatted')948 OPEN(12,file='profile_T.out',form='formatted') 944 949 write(12,*) tsurf 945 950 DO ilayer=1,llm … … 956 961 c ======================================================== 957 962 end !rcm1d 958 959 -
trunk/LMDZ.TITAN/libf/phytitan/profile.F
r1150 r3975 178 178 ! then profile of atmospheric temperature 179 179 ELSE IF(ichoice.GE.8) THEN 180 OPEN(11,file='profile ',status='old',form='formatted',err=101)180 OPEN(11,file='profile_T',status='old',form='formatted',err=101) 181 181 DO il=1,nlev 182 182 READ (11,*) temp(il) … … 184 184 185 185 GOTO 201 186 101 STOP'fichier profile inexistant'186 101 STOP'fichier profile_T inexistant' 187 187 201 CONTINUE 188 188 CLOSE(10)
Note: See TracChangeset
for help on using the changeset viewer.
