source: trunk/SpectralModelF90/PROJECTS/BETA_PLANE/POMME/problem_params.h @ 6

Last change on this file since 6 was 6, checked in by xlvlod, 17 years ago

import initial from SVN_BASE_TRUNK

File size: 6.8 KB
Line 
1C*****************************************************************************
2c   PARAMETER FILE FOR PARALLEL SPECTRAL MODEL.  *****************************
3c*****************************************************************************
4      pi=4.*atan(1.)
5
6c     Initial conditions: either name a file or specify none
7c xlv     netcdf_file='/home/alpha0/kraig/NSF_IWS/input/ics/GM_cdf_2145.000'
8c      netcdf_file='/workdir/rech/dyc/rdyc711/cfd_2D_000500'
9      netcdf_file='none'    ! none means ICS defined in initialize.f
10
11c     Flag specifying whether flow is forced via user_defined_forcing.f
12c      force_flag='yes'
13      force_flag='yes'
14
15
16c*****************************************************************************
17c    Type of z boundary conditions.
18c*****************************************************************************
19      bc_flag = 'zslip'              ! 'zperiodic'  or 'zslip' allowable
20                                     !  always periodic in x,y
21c=============================================================================
22c     Declare how the two scalars relate to density
23c     R (rho)  T (temp) S (salinity)   P (passive)
24c     Legal Settings: 'TS' 'TP' 'SP' 'RP'  'PP'
25c=============================================================================
26      scalars = 'TS'        ! scalar1=rho'  scalar2=passive
27      s1_scale= 1.0   
28      s2_scale= 1.0 
29
30c*****************************************************************************
31c    Size of computational domain.
32c    x in [0,Lx)   , y in [0,Ly)   , z in [0,Lz]  zslip
33c                                         [0,Lz]  zperiodic
34c*****************************************************************************
35      Lx = 150000              ! x domain size [m]
36      Ly = Lx                ! y domain size [m] (unused for 2d see below)
37      Lz = 4000.                ! z domain size [m]
38      dz = Lz/float(nz)         ! vertical grid spacing [m]  (*$*)
39c*****************************************************************************
40c*****************************************************************************
41
42
43c*****************************************************************************
44c     Physical parameters
45c*****************************************************************************
46      g=9.81                          ! gravity [m/s2]
47c xlv      xlat=pi/4                       ! latitude in radians
48      xlatit=47.5*pi/180
49      xOmega=2.*pi/(24.*3600.)        ! earth rotation frequency [1/s]
50      f=2*xOmega*sin(xlatit)            ! Coriolis parameter [1/s]
51c     beta=(1/R)2(Omega)cos(xlatit); R~6400km   ! beta effect pba June 2005
52c xlv      beta=(1./(6400*1.e3))*2*xOmega*cos(xlatit)  ! [1/ms]
53      beta=0.
54
55c*****************************************************************************
56c*****************************************************************************
57
58
59
60c*****************************************************************************
61c     Fluid properties
62c*****************************************************************************
63      rho_0=1000.                     ! characteristic density [kg/m3]
64      nu = 1.e-6                      ! viscosity [m2/s]  (3),(4)
65      kappa_1 = nu/1.                 ! diffusivity for scalar 1 [m2/s]
66      kappa_2 = nu/1.                 ! diffusivity for scalar 2 [m2/s]
67c*****************************************************************************
68c     dissipation scheme
69c     for DNS, i.e. nu grad^2 u, kappa grad^2 rho
70c     choose 'isotropic' and p=2, higher orders of p
71c     and anisotropic are undocumented currently
72      diss_flag='isotropic'           ! isotropic or anisotropic
73      p=2.                            ! order of (hyper)viscosity operator
74      T_diss=3000                     ! [s] decay time scale at maximim wavenumber
75                                      ! ignored if diss_flag=isotropic and p=2 i.e. for DNS
76c*****************************************************************************
77
78c*****************************************************************************
79c     Additional user specified scales required to nondimensionalize
80c     the equations of motion.
81c*****************************************************************************
82      DGRAD=3.e-4                     ! char. scale of dens gradient [kg/m4]
83c xlv      s1_scale= 1.0                   ! char. scale of scalar 1 e.g. would be deg C if s1->Temp.
84c xlv      s2_scale= 1.                    ! char. scale of scalar 2 e.g. would be psu   if s2->Salinity
85      U0=0.01                         ! char. velocity scale [m/s] 
86      bfreq = sqrt((g/rho_0)*DGRAD)   ! char. buoyancy frequency [1/s]  (*$*)
87c*****************************************************************************
88c*****************************************************************************
89
90c*****************************************************************************
91c    Time step and execution control parameters
92c*****************************************************************************
93      dt=600               ! integration time step  [s] 
94      t_start=0*dt              ! starting time [s]
95      t_end=100*dt           ! ending time [s]  (test wave per = 4.89 hrs --> 3 pers.)   
96      vort_flag='no'           ! write out vorticity fields as well as velocity/density
97      t_stat=20*dt             ! time increment for calls to energetics [s] 
98c*****************************************************************************
99c*****************************************************************************
100
101c******************************************************************************
102c         Lagrangian "float" parameters
103c******************************************************************************
104      t_floats_on =t_start     ! float insertion time
105      z_close=0.5*dz/Lz        ! min. distance to upper/lower bdries
106                               ! that floats can attain [d'less]=[1]
107      z_offset=-0.5*dz/Lz      ! up offset for second float dens. measurement
108      delta_w=0.0/U0           ! float velocity due to residual buoyancy [1]
109c******************************************************************************
110c******************************************************************************
111
112c******************************************************************************
113c     Perturbed, "noisy" ICS parameter
114c******************************************************************************
115      efactor=0*1.e-4
116c     if efactor is nonzero, the (linear) vortical mode field is perturbed
117c     with a spectrum of "noise" (decays linearly with horiz. wavenumber) such
118c     that the total kinetic energy of the noise is a specified fraction of
119c     the horizontal kinetic energy of the deterministically specified ICs
120c     efactor=0.01 --> noise field has 1% of the HKE in the deterministic fields
121c******************************************************************************
Note: See TracBrowser for help on using the repository browser.