Changeset 837 for codes/icosagcm/devel/src/kernels_hex/caldyn_fast.k90
- Timestamp:
- 05/03/19 13:40:15 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/src/kernels_hex/caldyn_fast.k90
r563 r837 27 27 END DO 28 28 END DO 29 CASE(thermo_variable_Cp) 30 ! thermodynamics with variable Cp 31 ! Cp(T) = Cp0 * (T/T0)^nu 32 ! => h = Cp(T).T/(nu+1) 33 DO l = ll_begin, ll_end 34 !DIR$ SIMD 35 DO ij=ij_begin, ij_end 36 berni(ij,l) = .5*(geopot(ij,l)+geopot(ij,l+1)) 37 cp_ik = cpp*(pk(ij,l)/Treff)**nu 38 berni(ij,l) = berni(ij,l) + pk(ij,l)*(cp_ik/(nu+1.)-theta(ij,l,1)) ! Gibbs = h-Ts = T(Cp/(nu+1)-s) 39 END DO 40 END DO 29 41 CASE DEFAULT 30 42 PRINT *, 'Unsupported value of caldyn_thermo : ',caldyn_thermo ! FIXME
Note: See TracChangeset
for help on using the changeset viewer.