Changeset 2831 for trunk/LMDZ.GENERIC/libf/phystd/calc_cpp_mugaz.F90
- Timestamp:
- Nov 23, 2022, 4:41:34 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/calc_cpp_mugaz.F90
r2635 r2831 24 24 implicit none 25 25 26 character(len=20),parameter :: myname="calc_cpp_mugaz" 26 27 real cpp_c 27 28 real mugaz_c … … 64 65 ! C2H2 http://encyclopedia.airliquide.com/Encyclopedia.asp?GasID=1 65 66 mugaz_c = mugaz_c + 26.04*gfrac(igas) 67 ! GG MODIF JAN2019 68 elseif(igas.eq.igas_CO)then 69 mugaz_c = mugaz_c + 28.01*gfrac(igas) 70 elseif(igas.eq.igas_OCS)then 71 ! https://pubchem.ncbi.nlm.nih.gov/compound/carbonyl_sulfide 72 mugaz_c = mugaz_c + 60.0751*gfrac(igas) 73 elseif(igas.eq.igas_HCl)then 74 mugaz_c = mugaz_c + 36.46*gfrac(igas) 75 elseif(igas.eq.igas_HF)then 76 mugaz_c = mugaz_c + 20.01*gfrac(igas) 66 77 else 78 if (is_master) then 67 79 print*,'Error in calc_cpp_mugaz: Gas species not recognised!' 68 call abort 80 endif 81 call abort_physic(myname,'Gas species not recognised!',1) 69 82 endif 70 83 endif … … 108 121 ! http://encyclopedia.airliquide.com/Encyclopedia.asp?GasID=1 109 122 cpp_c = cpp_c + 1.575*gfrac(igas)*26.04/mugaz_c 123 !!!!! MODIF GG JAN 2019 (check source values !!) 124 elseif(igas.eq.igas_CO)then 125 cpp_c = cpp_c + 1.0425*gfrac(igas)*28.01/mugaz_c 126 elseif(igas.eq.igas_OCS)then 127 cpp_c = cpp_c + 0.6909*gfrac(igas)*60.07/mugaz_c 128 elseif(igas.eq.igas_HCl)then 129 cpp_c = cpp_c + 1.7087*gfrac(igas)*36.46/mugaz_c 130 elseif(igas.eq.igas_HF)then 131 cpp_c = cpp_c + 1.4553*gfrac(igas)*20.01/mugaz_c 110 132 else 133 if (is_master) then 111 134 print*,'Error in calc_cpp_mugaz: Gas species not recognised!' 112 call abort 135 endif 136 call abort_physic(myname,'Gas species not recognised!',1) 113 137 endif 114 138 endif … … 122 146 cpp_c = 1000.0*cpp_c 123 147 124 print*,'Cp in calc_cpp_mugaz is ',cpp_c,'J kg^-1 K^-1' 125 print*,'Mg in calc_cpp_mugaz is ',mugaz_c,'amu' 148 if (is_master) then 149 print*,'Cp in calc_cpp_mugaz is ',cpp_c,'J kg^-1 K^-1' 150 print*,'Mg in calc_cpp_mugaz is ',mugaz_c,'amu' 151 endif 126 152 127 153 if(((abs(1.-cpp/cpp_c).gt.1.e-6) .or. & … … 146 172 147 173 148 return149 174 end subroutine calc_cpp_mugaz
Note: See TracChangeset
for help on using the changeset viewer.