/[MITgcm]/MITgcm/verification/seaice_obcs/code/OBCS_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm/verification/seaice_obcs/code/OBCS_OPTIONS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (hide annotations) (download)
Thu Sep 20 19:04:47 2012 UTC (11 years, 8 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint64
Changes since 1.6: +28 -1 lines
File MIME type: text/plain
Added obcs_seaice_sponge.F for obcs relaxation of seaice variables;
see verification/seaice_obcs/input.seaiceSponge for example application.
Modified Files:
   doc/tag-index
   pkg/obcs/OBCS_OPTIONS.h OBCS_SEAICE.h
            obcs_apply_seaice.F obcs_check.F obcs_readparms.F
   verification/seaice_obcs/code/OBCS_OPTIONS.h
Added Files:
   pkg/obcs/obcs_seaice_sponge.F
   verification/seaice_obcs/input.seaiceSponge/data.obcs
   verification/seaice_obcs/results/output.seaiceSponge.txt

1 dimitri 1.7 C $Header: /u/gcmpack/MITgcm/verification/seaice_obcs/code/OBCS_OPTIONS.h,v 1.6 2011/12/24 01:17:54 jmc Exp $
2 dimitri 1.1 C $Name: $
3 jmc 1.6
4 dimitri 1.1 C CPP options file for OBCS package
5     C Use this file for selecting options within the OBCS package
6    
7     #ifndef OBCS_OPTIONS_H
8     #define OBCS_OPTIONS_H
9     #include "PACKAGES_CONFIG.h"
10     #include "CPP_OPTIONS.h"
11    
12     #ifdef ALLOW_OBCS
13 jmc 1.6 C Package-specific Options & Macros go here
14 dimitri 1.1
15     C Enable individual open boundaries
16     #define ALLOW_OBCS_NORTH
17     #define ALLOW_OBCS_SOUTH
18     #define ALLOW_OBCS_EAST
19     #define ALLOW_OBCS_WEST
20    
21     C This include hooks to the Orlanski Open Boundary Radiation code
22     #undef ALLOW_ORLANSKI
23    
24     C Enable OB values to be prescribed via external fields that are read
25     C from a file
26     #define ALLOW_OBCS_PRESCRIBE
27    
28 jmc 1.6 C Enable OB conditions following Stevens (1990)
29     #undef ALLOW_OBCS_STEVENS
30    
31 dimitri 1.1 C This includes hooks to sponge layer treatment of uvel, vvel
32     #undef ALLOW_OBCS_SPONGE
33    
34 dimitri 1.7 C Include hooks to sponge layer treatment of pkg/seaice variables
35     #define ALLOW_OBCS_SEAICE_SPONGE
36    
37 dimitri 1.1 C balance barotropic velocity
38     #undef ALLOW_OBCS_BALANCE
39    
40 jmc 1.4 C Use older implementation of obcs in seaice-dynamics
41 dimitri 1.7 C note: most of the "experimental" options listed below have not yet
42     C been implementated in new version.
43 jmc 1.5 #undef OBCS_UVICE_OLD
44 jmc 1.4
45 dimitri 1.7 #ifdef OBCS_UVICE_OLD
46     C The following five CPP options are experimental and aim to deal
47     C with artifacts due to the low-frequency specification of sea-ice
48     C boundary conditions compared to the model forcing frequency.
49     C Ice convergence at edges can cause model to blow up. The
50     C following CPP option fixes this problem at the expense of less
51     C accurate boundary conditions.
52     #undef OBCS_SEAICE_AVOID_CONVERGENCE
53    
54     C Smooth the component of sea-ice velocity perpendicular to the edge.
55     #undef OBCS_SEAICE_SMOOTH_UVICE_PERP
56    
57     C Smooth the component of sea ice velocity parallel to the edge.
58     #undef OBCS_SEAICE_SMOOTH_UVICE_PAR
59    
60     C Compute rather than specify seaice velocities at the edges.
61     #undef OBCS_SEAICE_COMPUTE_UVICE
62     #endif /* OBCS_UVICE_OLD */
63    
64     C Smooth the tracer sea-ice variables near the edges.
65     #undef OBCS_SEAICE_SMOOTH_EDGE
66    
67 dimitri 1.1 #endif /* ALLOW_OBCS */
68     #endif /* OBCS_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22