Changeset 2683 for trunk/LMDZ.VENUS
- Timestamp:
- May 23, 2022, 6:25:07 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.VENUS/libf/phyvenus/physiq_mod.F
r2622 r2683 700 700 ENDDO 701 701 702 c--------- 703 c Ecriture fichier initialisation 704 c PRINT*,'Ecriture Initial_State.csv' 705 c OPEN(88,file='Trac_Point.csv', 706 c & form='formatted') 707 c--------- 708 709 c--------- 710 c Initialisation des parametres des nuages 711 c=============================================== 712 713 c MICROPHY SANS CHIMIE: seulement si full microphy (cl_scheme=2) 714 715 if (ok_chem.and..not.ok_cloud) then 716 print*,"LA CHIMIE A BESOIN DE LA MICROPHYSIQUE" 717 print*,"ok_cloud doit etre = a ok_chem" 718 stop 719 endif 720 if (.not.ok_chem.and.ok_cloud.and.(cl_scheme.eq.1)) then 721 print*,"cl_scheme=1 doesnot work without chemistry" 722 stop 723 endif 724 if (.not.ok_chem.and.ok_cloud.and.(cl_scheme.eq.2)) then 725 print*,"Full microphysics without chemistry" 726 c indexation of microphys tracers 727 CALL chemparam_ini() 728 endif 702 ! initialisation of microphysical and chemical parameters 703 704 if (ok_chem .and. .not. ok_cloud) then 705 print*,"chemistry requires clouds" 706 print*,"ok_cloud must be .true." 707 stop 708 end if 709 710 if (.not. ok_chem .and. ok_cloud .and. (cl_scheme == 1)) then 711 print*,"cl_scheme = 1 requires chemistry" 712 print*,"ok_chem must be .true." 713 stop 714 end if 729 715 730 ! number of microphysical tracers716 ! number of microphysical tracers 731 717 732 718 nmicro = 0 … … 734 720 if (ok_cloud .and. (cl_scheme == 2)) nmicro = 12 735 721 736 c CAS 1D POUR MICROPHYS Aurelien 737 if ((nlon .EQ. 1) .AND. ok_cloud .AND. (cl_scheme.eq.1)) then 738 PRINT*,'Open profile_cloud_parameters.csv' 739 OPEN(66,file='profile_cloud_parameters.csv', 740 & form='formatted') 741 endif 742 743 if ((nlon .EQ. 1) .AND. ok_sedim .AND. (cl_scheme.eq.1)) then 744 PRINT*,'Open profile_cloud_sedim.csv' 745 OPEN(77,file='profile_cloud_sedim.csv', 746 & form='formatted') 747 endif 748 749 c INIT PHOTOCHEMISTRY ! includes the indexation of microphys tracers 750 c if ((nlon .GT. 1) .AND. ok_chem) then 751 c !!! DONC 3D !!! POURQUOI ??? 752 if (ok_chem) then 753 CALL chemparam_ini() 754 endif 722 ! initialise chemical parameters. includes the indexation of microphys tracers 723 724 if (ok_chem .or. cl_scheme == 2) then 725 call chemparam_ini() 726 end if 755 727 756 c INIT MICROPHYS SCHEME 1 (AURELIEN) 757 if ((nlon .GT. 1) .AND. ok_cloud .AND. (cl_scheme.eq.1)) then 758 c !!! DONC 3D !!! 759 CALLcloud_ini(nlon,nlev)760 end if728 ! initialise cloud parameters (for cl_scheme = 1) 729 730 if (ok_cloud .and. (cl_scheme == 1)) then 731 call cloud_ini(nlon,nlev) 732 end if 761 733 762 734 ! initialise mmean 763 735 764 if (callthermos) then736 if (callthermos) then 765 737 call concentrations2(pplay,t,qx,nqmax) 766 end if738 end if 767 739 768 740 c========================
Note: See TracChangeset
for help on using the changeset viewer.