Changeset 5113 for LMDZ6/branches/Amaury_dev/libf/dyn3dmem/caldyn_loc.f90
- Timestamp:
- Jul 24, 2024, 1:17:08 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3dmem/caldyn_loc.f90
r5105 r5113 66 66 !-------------------------------- 67 67 68 ! !compute contravariant winds ucont() and vcont68 ! compute contravariant winds ucont() and vcont 69 69 CALL covcont_loc (llm, ucov, vcov, ucont, vcont) 70 ! !compute pressure p()70 ! compute pressure p() 71 71 CALL pression_loc (ip1jmp1, ap, bp, ps, p) 72 72 !ym CALL psextbar ( ps , psexbarxy ) 73 73 !$OMP BARRIER 74 ! !compute mass in each atmospheric mesh: masse()74 ! compute mass in each atmospheric mesh: masse() 75 75 CALL massdair_loc (p, masse) 76 ! !compute X and Y-averages of mass, massebx() and masseby()76 ! compute X and Y-averages of mass, massebx() and masseby() 77 77 CALL massbar_loc (masse, massebx, masseby) 78 ! !compute XY-average of mass, massebxy()78 ! compute XY-average of mass, massebxy() 79 79 CALL massbarxy_loc(masse, massebxy) 80 ! !compute mass fluxes pbaru() and pbarv()80 ! compute mass fluxes pbaru() and pbarv() 81 81 CALL flumass_loc (massebx, masseby, vcont, ucont, pbaru, pbarv) 82 ! !compute dteta() , horizontal converging flux of theta82 ! compute dteta() , horizontal converging flux of theta 83 83 CALL dteta1_loc (teta, pbaru, pbarv, dteta) 84 ! !compute convm(), horizontal converging flux of mass84 ! compute convm(), horizontal converging flux of mass 85 85 CALL convmas1_loc (pbaru, pbarv, convm) 86 86 !$OMP BARRIER … … 105 105 ijb = ij_begin 106 106 ije = ij_end 107 ! !compute pressure variation due to mass convergence107 ! compute pressure variation due to mass convergence 108 108 DO ij = ijb, ije 109 109 dp(ij) = convm(ij, 1) / airesurg(ij) … … 112 112 !$OMP BARRIER 113 113 114 ! !compute vertical velocity w()114 ! compute vertical velocity w() 115 115 CALL vitvert_loc (convm, w) 116 ! !compute potential vorticity vorpot()116 ! compute potential vorticity vorpot() 117 117 CALL tourpot_loc (vcov, ucov, massebxy, vorpot) 118 ! !compute rotation induced du() and dv()118 ! compute rotation induced du() and dv() 119 119 CALL dudv1_loc (vorpot, pbaru, pbarv, du, dv) 120 120 … … 126 126 END IF 127 127 128 ! !compute kinetic energy ecin()128 ! compute kinetic energy ecin() 129 129 CALL enercin_loc (vcov, ucov, vcont, ucont, ecin) 130 ! !compute Bernouilli function bern()130 ! compute Bernouilli function bern() 131 131 CALL bernoui_loc (ip1jmp1, llm, phi, ecin, bern) 132 ! !compute and add du() and dv() contributions from Bernouilli and pressure132 ! compute and add du() and dv() contributions from Bernouilli and pressure 133 133 CALL dudv2_loc (teta, pkf, bern, du, dv) 134 134 … … 155 155 !$OMP END DO 156 156 157 ! !compute vertical advection contributions to du(), dv() and dteta()157 ! compute vertical advection contributions to du(), dv() and dteta() 158 158 CALL advect_new_loc(ang, vcov, teta, w, massebx, masseby, du, dv, dteta) 159 159
Note: See TracChangeset
for help on using the changeset viewer.