Changeset 3904
- Timestamp:
- Aug 26, 2025, 2:17:21 PM (5 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 4 edited
-
changelog.txt (modified) (1 diff)
-
libf/phymars/conf_phys.F (modified) (1 diff)
-
libf/phymars/initracer.F90 (modified) (2 diffs)
-
libf/phymars/physiq_mod.F (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3903 r3904 4958 4958 == 22/08/2025 == JBC 4959 4959 Case 'icelocationmode = 5' (default) is corrected compared to r2884. Now it reads 'watercaptag' from "startfi.nc" in any circumstances, unless it is missing, in which case 'icelocationmode' is set to 4. 4960 4961 == 26/08/2025 == JBC 4962 Some adjustments of sanity checks for the compatibility of options 'doubleq' and 'active'. -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r3847 r3904 452 452 print*,'if active is used, then dustbin should > 0' 453 453 call abort_physic(modname, 454 & "active option requires dustbin <0",1)454 & "active option requires dustbin > 0",1) 455 455 endif 456 456 ! doubleq -
trunk/LMDZ.MARS/libf/phymars/initracer.F90
r3855 r3904 593 593 594 594 if (doubleq) then 595 ! verify that we indeed have dust_mass and dust_number tracers 596 if (igcm_dust_mass == 0) then 597 write(*,*) "initracer: error!" 598 write(*,*) " Cannot use doubleq option without a dust_mass tracer!" 599 call abort_physic("initracer","doubleq issue",1) 600 endif 601 if (igcm_dust_number == 0) then 602 write(*,*) "initracer: error!" 603 write(*,*) " Cannot use doubleq option without a dust_number tracer!" 604 call abort_physic("initracer","doubleq issue",1) 605 endif 606 595 607 ! "doubleq" technique 596 608 ! ------------------- … … 785 797 ! some extra (possibly redundant) sanity checks for tracers: 786 798 ! --------------------------------------------------------- 787 if (doubleq) then788 ! verify that we indeed have dust_mass and dust_number tracers789 if (igcm_dust_mass == 0) then790 write(*,*) "initracer: error!"791 write(*,*) " Cannot use doubleq option without a dust_mass tracer!"792 call abort_physic("initracer","doubleq issue",1)793 endif794 if (igcm_dust_number == 0) then795 write(*,*) "initracer: error!"796 write(*,*) " Cannot use doubleq option without a dust_number tracer!"797 call abort_physic("initracer","doubleq issue",1)798 endif799 endif800 801 799 if ((.not.doubleq).and.(dustbin>0)) then 802 800 ! verify that we indeed have 'dustbin' dust tracers -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r3902 r3904 78 78 & iaer_stormdust_doubleq, iaer_h2o_ice, 79 79 & flux_1AU 80 use dust_param_mod, only: doubleq, lifting, callddevil, 80 use dust_param_mod, only: doubleq, lifting, callddevil, active, 81 81 & tauscaling, odpref, dustbin, 82 82 & dustscaling_mode, dust_rad_adjust, … … 2705 2705 fluxsurf_dir_dn_sw(ig) = 0. 2706 2706 else 2707 if (doubleq) then 2707 2708 if (activice) then 2708 2709 ! both water and dust contribute … … 2710 2711 & exp(-(tau(ig,iaer_dust_doubleq)+ 2711 2712 & tau(ig,iaer_h2o_ice))/mu0(ig)) 2712 else 2713 else if (active) then 2713 2714 ! only dust contributes 2714 2715 fluxsurf_dir_dn_sw(ig) = flux_1AU/dist_sol/dist_sol*mu0(ig)* 2715 2716 & exp(-(tau(ig,iaer_dust_doubleq))/mu0(ig)) 2716 2717 endif ! of if (water) 2717 endif ! of if(mu0(ig).le.0.01) 2718 endif ! of if (doubleq) 2719 endif ! of if(mu0(ig).le.0.01) 2718 2720 enddo 2719 2721
Note: See TracChangeset
for help on using the changeset viewer.
