source: trunk/SOURCES/Temperature-routines/icetemp_declar-0.5_mod.f90 @ 21

Last change on this file since 21 was 4, checked in by dumas, 10 years ago

initial import GRISLI trunk

File size: 4.2 KB
Line 
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!<
12module 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,Dah,Duu,Dzz,Dzi,Chalbed,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 :: Chalk_1               !< Utilise Pour Le Calcul De Chalk : Glace Posée
35  Real :: Chalk_2               !< Utilise Pour Le Calcul De Chalk : Ice Streams Et Ice Shelves
36  Real :: Chalbed_1             !< Utilise Pour Le Calcul De Chalbed
37  Real :: Coefadv               !< Pour Limiter Le Flux De Chaleur Horiz.
38  Real :: Ecart_phid            !< Pour Limiter L'Impact De La Chaleur De Glissement Si Base Froide
39  ! Ancienne Valeur 0.5.
40
41  ! Tableaux 1d
42  ! _______________
43
44  Real,Allocatable,Dimension(:) :: Aa    !< Work Arrays For Tridiag  !Dim Nn
45  Real,Allocatable,Dimension(:) :: Bb    !< Work Arrays For Tridiag  !Dim Nn
46  Real,Allocatable,Dimension(:) :: Cc    !< Work Arrays For Tridiag  !Dim Nn
47  Real,Allocatable,Dimension(:) :: Rr    !< Work Arrays For Tridiag  !Dim Nn
48  Real,Allocatable,Dimension(:) :: Hh    !< Work Arrays For Tridiag  !Dim Nn
49
50  Real,Allocatable,Dimension(:) :: Tdot   !< Temperature Time Derivative*Dtt 
51  Real,Allocatable,Dimension(:) :: Abis,Bbis,Cbis,Rbis,Hbis                   
52  Real,Allocatable,Dimension(:) :: Ee        !< Vertical Coordinate In Ice, Scaled To H Zeta 
53
54  ! Tableaux De Travail 2d
55  ! ___________________________
56  Real,Allocatable,Dimension(:,:):: Tbmer    !< Temperature De La Mer A La Base De L'Ice Shelf 
57  Real,Allocatable,Dimension(:,:) :: Alpha   !< Pente Locale Sur Noeud Majeur                   
58  Real,Allocatable,Dimension(:,:) :: Ubar    !< Vitesse Sur Noeud Majeur                       
59  Real,Allocatable,Dimension(:,:) :: Chalglissx,Chalglissy !< Chaleur De Glissement             
60  Integer,Allocatable,Dimension(:,:) :: Iadvec_w,Iadvec_e,Iadvec_s,Iadvec_n   
61  ! Pour L'Advection       
62
63  ! Tableaux De Travail 3d
64  ! __________________________
65  Real,Allocatable,Dimension(:,:,:,:) :: Chalx, Chaly         !Dim Nx,Ny,Nz,N1poly:N2poly
66  ! Utilise Pour Calculer La Chaleur De Deformation Selon Xx Yy Zz Et Xy
67  Real,Allocatable,Dimension(:,:,:) :: Ffx,Ffy                                       
68  Real,Allocatable,Dimension(:,:,:) :: T3d_new                     
69  Real,Allocatable,Dimension(:,:,:) :: Chal2_x, Chal2_y, Chal2_z, Chal2_xy                   
70  Real,Allocatable,Dimension(:,:,:) :: Cp            !< Specific Heat Capacity (J/(M-3)/K)=Ro Cp 
71  Real,Allocatable,Dimension(:,:,:) :: Ct            !< Thermal Conductivity (J/M/K/A)           
72  Real,Allocatable,Dimension(:,:,:) :: Chaldef_maj   !< Chaleur De Deformation                   
73  Real,Allocatable,Dimension(:,:,:) :: Advecx,Advecy,Advec
74
75  !Variables De Travail
76  Real ::  Fracq                   !< For Temp Calculation = (1.-(1.-De/2.)**5)/5.
77  Integer,Parameter :: Ncond=0     !< Switch : Ncond=1 Thermal Conductivity In Mantle
78  Real :: Dee                      !< Vertical Step In Ice And Mantle
79  Real,Parameter :: Dzm=600        !< Grid Step In Mantle
80  Real :: Dttdx                    !< For Temp Calculation = Dtt/Dx
81  Real :: Dx11                     !< 1/Dx
82
83  !Prop Thermique
84  Real,Parameter ::  Cm=1.04e8              !< Thermal Conductivity Of Mantle J/M/K/A
85  Real,Parameter ::  Cpm=1000.0             !< Specific Heat Capacity Of Mantle J/Kg/K
86  Real:: Ctm                                !< For Temp Calculation
87
88
89end module icetemp_declar
90
Note: See TracBrowser for help on using the repository browser.