1 | !> \file icetemp_declar-0.5_mod.f90 |
---|
2 | !! Declar local variables for the temperature calculation in ice |
---|
3 | !< |
---|
4 | |
---|
5 | |
---|
6 | !> \namespace icetemp_declar |
---|
7 | !! module to declar local variables for the temperature calculation in ice |
---|
8 | !! @note used modules: |
---|
9 | !! @note - Module_choix |
---|
10 | !! @note - Param_phy_mod |
---|
11 | !< |
---|
12 | module icetemp_declar |
---|
13 | |
---|
14 | Use Module_choix |
---|
15 | Use Param_phy_mod |
---|
16 | |
---|
17 | Implicit None |
---|
18 | |
---|
19 | !> \Var |
---|
20 | ! integer :: Nx_m,Ny_m,Nz_m,Nzm_m,NzNzm_m |
---|
21 | Integer :: Iec,Jec,Ngr |
---|
22 | Integer :: Nfracq !< Exposant Fracq |
---|
23 | Integer :: Iq !< Choix Du Type De Routine Chaleur |
---|
24 | Real :: Sx,Sy,Sx2,Sy2,Deh22 ! ,Tss |
---|
25 | Real :: Dou,Duu,Chalbed ! ,Dah,Dzz,Dzi,Ct_bas,Ct_haut |
---|
26 | |
---|
27 | Real,Parameter :: Acof1=-0.0575 !< Pour La Temperature De L'Eau De Mer |
---|
28 | Real,Parameter :: Bcof1=0.0901 !< Pour La Temperature De L'Eau De Mer |
---|
29 | Real,Parameter :: Ccof1=7.61e-4 !< Pour La Temperature De L'Eau De Mer |
---|
30 | Real,Parameter :: S0mer=34.75 !< Pour La Temperature De L'Eau De Mer |
---|
31 | |
---|
32 | ! a la Base De L'Ice Shelf |
---|
33 | Integer :: Ifail1 !< Permet De Detecter Les Erreurs |
---|
34 | Real :: Chalbed_1 !< Utilise Pour Le Calcul De Chalbed |
---|
35 | Real :: Coefadv !< Pour Limiter Le Flux De Chaleur Horiz. |
---|
36 | Real :: Ecart_phid !< Pour Limiter L'Impact De La Chaleur De Glissement Si Base Froide |
---|
37 | ! Ancienne Valeur 0.5. |
---|
38 | |
---|
39 | ! Tableaux 1d |
---|
40 | ! _______________ |
---|
41 | |
---|
42 | Real,Dimension(Nn) :: Aa !< Work Arrays For Tridiag !Dim Nn |
---|
43 | Real,Dimension(Nn) :: Bb !< Work Arrays For Tridiag !Dim Nn |
---|
44 | Real,Dimension(Nn) :: Cc !< Work Arrays For Tridiag !Dim Nn |
---|
45 | Real,Dimension(Nn) :: Rr !< Work Arrays For Tridiag !Dim Nn |
---|
46 | Real,Dimension(Nn) :: Hh !< Work Arrays For Tridiag !Dim Nn |
---|
47 | |
---|
48 | Real,Dimension(Nz+Nzm) :: Tdot !< Temperature Time Derivative*Dtt |
---|
49 | ! Real,allocatable,Dimension(:) :: Abis,Bbis,Cbis,Rbis,Hbis |
---|
50 | Real,Dimension(Nz) :: Ee !< Vertical Coordinate In Ice, Scaled To H Zeta |
---|
51 | |
---|
52 | ! Tableaux De Travail 2d |
---|
53 | ! ___________________________ |
---|
54 | Real,Dimension(Nx,Ny):: Tbmer !< Temperature De La Mer A La Base De L'Ice Shelf |
---|
55 | Real,Dimension(Nx,Ny) :: Chalglissx,Chalglissy !< Chaleur De Glissement |
---|
56 | Integer,Dimension(Nx,Ny) :: Iadvec_w,Iadvec_e,Iadvec_s,Iadvec_n |
---|
57 | ! Pour L'Advection |
---|
58 | |
---|
59 | ! Tableaux De Travail 3d |
---|
60 | ! __________________________ |
---|
61 | Real,Dimension(Nx,Ny,Nz,size(Btt,4)) :: Chalx, Chaly !Dim Nx,Ny,Nz,N1poly:N2poly |
---|
62 | ! Utilise Pour Calculer La Chaleur De Deformation Selon Xx Yy Zz Et Xy |
---|
63 | Real,Dimension(Nx,Ny,size(Btt,4)) :: Ffx,Ffy |
---|
64 | Real,Dimension(Nx,Ny,Nz+Nzm) :: T3d_new |
---|
65 | Real,Dimension(Nx,Ny,Nz) :: Chal2_x, Chal2_y, Chal2_z, Chal2_xy |
---|
66 | Real,Dimension(Nx,Ny,Nz) :: Chaldef_maj !< Chaleur De Deformation |
---|
67 | Real,Dimension(Nx,Ny,Nz) :: Advecx,Advecy,Advec |
---|
68 | Real,Dimension(Nx,Ny,Nz) :: Cp !< Specific Heat Capacity (J/(M-3)/K)=Ro Cp |
---|
69 | Real,Dimension(Nx,Ny,Nz) :: Ct !< Thermal Conductivity (J/M/K/A) |
---|
70 | |
---|
71 | |
---|
72 | !Variables De Travail |
---|
73 | Real :: Fracq !< For Temp Calculation = (1.-(1.-De/2.)**5)/5. |
---|
74 | Integer,Parameter :: Ncond=0 !< Switch : Ncond=1 Thermal Conductivity In Mantle |
---|
75 | Real :: Dee !< Vertical Step In Ice And Mantle |
---|
76 | Real,Parameter :: Dzm=600 !< Grid Step In Mantle |
---|
77 | Real :: Dttdx !< For Temp Calculation = Dtt/Dx |
---|
78 | Real :: Dx11 !< 1/Dx |
---|
79 | |
---|
80 | !Prop Thermique |
---|
81 | Real,Parameter :: Cm=1.04e8 !< Thermal Conductivity Of Mantle J/M/K/A |
---|
82 | Real,Parameter :: Cpm=1000.0 !< Specific Heat Capacity Of Mantle J/Kg/K |
---|
83 | Real:: Ctm !< For Temp Calculation |
---|
84 | |
---|
85 | |
---|
86 | end module icetemp_declar |
---|
87 | |
---|