Changeset 3669
- Timestamp:
- Mar 5, 2025, 2:13:17 PM (4 months ago)
- Location:
- trunk/LMDZ.PLUTO/libf/phypluto
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/LMDZ.PLUTO/libf/phypluto/calc_cpp_mugaz.F90 ¶
r3353 r3669 63 63 mugaz_c = mugaz_c + 30.07*gfrac(igas) 64 64 elseif(igas.eq.igas_C2H2)then 65 ! C2H2 http ://encyclopedia.airliquide.com/Encyclopedia.asp?GasID=165 ! C2H2 https://encyclopedia.airliquide.com/fr/acetylene 66 66 mugaz_c = mugaz_c + 26.04*gfrac(igas) 67 67 ! GG MODIF JAN2019 68 elseif(igas.eq.igas_C2H4)then 69 mugaz_c = mugaz_c + 28.054*gfrac(igas) 68 70 elseif(igas.eq.igas_CO)then 69 71 mugaz_c = mugaz_c + 28.01*gfrac(igas) … … 91 93 ! ignore variable gas in cpp calculation 92 94 else 93 ! all values at 300 K from Engineering Toolbox 95 ! values at minimum temperature from Engineering Toolbox 96 ! (better for Pluto) 94 97 if(igas.eq.igas_CO2)then 95 !cpp_c = cpp_c + 0.744*gfrac(igas) ! @ ~210 K (better for 96 !Mars conditions) 97 cpp_c = cpp_c + 0.846*gfrac(igas)*44.01/mugaz_c 98 ! https://www.engineeringtoolbox.com/carbon-dioxide-d_974.html 99 cpp_c = cpp_c + 0.709*gfrac(igas)*44.01/mugaz_c 98 100 elseif(igas.eq.igas_N2)then 99 cpp_c = cpp_c + 1.0 40*gfrac(igas)*28.01/mugaz_c101 cpp_c = cpp_c + 1.039*gfrac(igas)*28.01/mugaz_c 100 102 elseif(igas.eq.igas_H2)then 101 103 cpp_c = cpp_c + 14.31*gfrac(igas)*2.01/mugaz_c … … 109 111 cpp_c = cpp_c + 1.003*gfrac(igas)*34.08/mugaz_c ! from wikipedia... 110 112 elseif(igas.eq.igas_CH4)then 111 cpp_c = cpp_c + 2. 226*gfrac(igas)*16.04/mugaz_c113 cpp_c = cpp_c + 2.087*gfrac(igas)*16.04/mugaz_c 112 114 elseif(igas.eq.igas_NH3)then 113 115 cpp_c = cpp_c + 2.175*gfrac(igas)*17.03/mugaz_c 114 116 print*,'WARNING, cpp for NH3 may be for liquid' 115 117 elseif(igas.eq.igas_C2H6)then 116 ! C2H6117 118 ! http://encyclopedia.airliquide.com/Encyclopedia.asp?GasID=28 118 cpp_c = cpp_c + 1. 763*gfrac(igas)*30.07/mugaz_c119 cpp_c = cpp_c + 1.535*gfrac(igas)*30.07/mugaz_c 119 120 elseif(igas.eq.igas_C2H2)then 120 ! C2H2 121 ! http://encyclopedia.airliquide.com/Encyclopedia.asp?GasID=1 121 ! https://encyclopedia.airliquide.com/fr/acetylene 122 122 cpp_c = cpp_c + 1.575*gfrac(igas)*26.04/mugaz_c 123 123 !!!!! MODIF GG JAN 2019 (check source values !!) 124 elseif(igas.eq.igas_C2H4)then 125 ! https://www.engineeringtoolbox.com/ethylene-ethene-C2H4-properties-d_2104.html 126 cpp_c = cpp_c + 1.53*gfrac(igas)*28.054/mugaz_c 127 !!!!! MODIF GG JAN 2019 (check source values !!) 124 128 elseif(igas.eq.igas_CO)then 125 cpp_c = cpp_c + 1.0 425*gfrac(igas)*28.01/mugaz_c129 cpp_c = cpp_c + 1.039*gfrac(igas)*28.01/mugaz_c 126 130 elseif(igas.eq.igas_OCS)then 127 131 cpp_c = cpp_c + 0.6909*gfrac(igas)*60.07/mugaz_c -
TabularUnified trunk/LMDZ.PLUTO/libf/phypluto/gases_h.F90 ¶
r3184 r3669 5 5 !======================================================================C 6 6 ! 7 ! gases_h 7 ! gases_h 8 8 ! 9 9 ! A F90-allocatable version for gases.h -- AS 12/2011 … … 30 30 integer :: igas_NH3 31 31 integer :: igas_C2H2 32 integer :: igas_C2H4 32 33 integer :: igas_C2H6 33 34 !! GG MODIF Jan 2019 34 35 integer :: igas_OCS 35 36 integer :: igas_HCl 36 integer :: igas_HF 37 integer :: igas_HF 37 38 !!$OMP THREADPRIVATE(ngasmx,vgas,gnom,gfrac,& 38 39 ! !$OMP igas_H2,igas_He,igas_H2O,igas_N2,igas_CO,igas_N2,& 39 ! !$OMP igas_O2,igas_SO2,igas_H2S,igas_CH4,igas_NH3,igas_C2H2,igas_C2H 6)40 ! !$OMP igas_O2,igas_SO2,igas_H2S,igas_CH4,igas_NH3,igas_C2H2,igas_C2H4,igas_C2H6) 40 41 ! The saved variables here are not OMP THREADPRIVATE because loaded by 41 42 ! the OMP master only (see su_gases.F90) and thus shared by all threads -
TabularUnified trunk/LMDZ.PLUTO/libf/phypluto/su_gases.F90 ¶
r3184 r3669 8 8 9 9 !================================================================== 10 ! 10 ! 11 11 ! Purpose 12 12 ! ------- 13 13 ! Load atmospheric composition info 14 ! 14 ! 15 15 ! Authors 16 16 ! ------- 17 17 ! R. Wordsworth (2011) 18 18 ! Allocatable arrays by A. Spiga (2011) 19 ! 19 ! 20 20 !================================================================== 21 21 … … 54 54 55 55 ! find variable gas (if any) 56 if(gfrac(igas).eq.-1.0)then 56 if(gfrac(igas).eq.-1.0)then 57 57 if(vgas.eq.0)then 58 58 vgas=igas … … 109 109 igas_C2H2=igas 110 110 count=count+1 111 !! GG MODIF 11 Jan 2019 112 elseif (trim(gnom(igas)).eq."OCS") then 111 elseif (trim(gnom(igas)).eq."C2H4") then 112 igas_C2H4=igas 113 count=count+1 114 elseif (trim(gnom(igas)).eq."OCS") then 113 115 igas_OCS=igas 114 116 count=count+1 115 elseif (trim(gnom(igas)).eq."HCl") then117 elseif (trim(gnom(igas)).eq."HCl") then 116 118 igas_HCl=igas 117 119 count=count+1 118 elseif (trim(gnom(igas)).eq."HF") then120 elseif (trim(gnom(igas)).eq."HF") then 119 121 igas_HF=igas 120 122 count=count+1
Note: See TracChangeset
for help on using the changeset viewer.