|
|
|||
Warning, /doc/phys_pkgs/generic_advdiff.rst is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit 7bb5a8a1 on 2024-11-29 14:30:55 UTC8679f9097b Jeff*0001 .. _sec_phys_pkg_gad: 0002 0003 Generic Advection/Diffusion 0004 --------------------------- 0005 dcaaa42497 Jeff*0006 The generic_advdiff package contains high-level subroutines to solve 8679f9097b Jeff*0007 the advection-diffusion equation of any tracer, either active (potential bf89a37abc Phob*0008 temperature, salinity or water vapor) or passive (see :ref:`pkg/ptracer <sub_phys_pkg_ptracers>`). 0009 (see also :numref:`tracer_eqns` and 0010 :numref:`advection_schemes`). 8679f9097b Jeff*0011 0012 Introduction 0013 ++++++++++++ 0014 dcaaa42497 Jeff*** Warning **
Wide character in print at /usr/local/share/lxr/source line 1030, <$git> line 16.
0015 Package “generic_advdiff” provides a common set of routines for 8679f9097b Jeff*0016 calculating advective/diffusive fluxes for tracers (cell centered 0017 quantities on a C-grid). 0018 0019 Many different advection schemes are available: the standard centered 0020 second order, centered fourth order and upwind biased third order 0021 schemes are known as linear methods and require some stable 0022 time-stepping method such as Adams-Bashforth. Alternatives such as 0023 flux-limited schemes are stable in the forward sense and are best bf89a37abc Phob*0024 combined with the multi-dimensional method provided in :filelink:`gad\_advection <pkg/generic_advdiff/gad_advection.F>`. 8679f9097b Jeff*0025 0026 Key subroutines, parameters and files 0027 +++++++++++++++++++++++++++++++++++++ 0028 0029 There are two high-level routines: 0030 bf89a37abc Phob*** Warning **
Wide character in print at /usr/local/share/lxr/source line 1030, <$git> line 32.
0031 - :filelink:`GAD\_CALC\_RHS <pkg/generic_advdiff/gad_calc_rhs.F>` calculates all fluxes at time level “n” and is used 8679f9097b Jeff*0032 for the standard linear schemes. This must be used in conjuction with** Warning **
Wide character in print at /usr/local/share/lxr/source line 1030, <$git> line 34.
0033 Adams–Bashforth time stepping. Diffusive and parameterized fluxes are 0034 always calculated here. 0035 bf89a37abc Phob*0036 - :filelink:`GAD\_ADVECTION <pkg/generic_advdiff/gad_advection.F>` calculates just the advective fluxes using the 8679f9097b Jeff*0037 non-linear schemes and can not be used in conjuction with** Warning **
Wide character in print at /usr/local/share/lxr/source line 1030, <$git> line 39.
0038 Adams–Bashforth time stepping. 0039 dcaaa42497 Jeff*0040 .. tabularcolumns:: |\Y{.4}|L|L| 0041 0042 +-----------------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------+ 0043 | CPP Flag Name | Default | Description | 0044 +===============================================+=========+======================================================================================================================+ 7bb5a8a109 Jean*0045 | :varlink:`COSINEMETH_III` | #define | sets the form of :math:`\cos{\varphi}` scaling of horizontal bi-harmonic terms for tracer diffusivity | dcaaa42497 Jeff*0046 +-----------------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------+ 7bb5a8a109 Jean*0047 | :varlink:`ISOTROPIC_COS_SCALING` | #undef | selects isotropic scaling of horizontal harmonic and bi-harmonic terms when using the :math:`\cos{\varphi}` scaling | dcaaa42497 Jeff*0048 +-----------------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------+ 0049 | :varlink:`DISABLE_MULTIDIM_ADVECTION` | #undef | disables compilation of multi-dim. advection code | 0050 +-----------------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------+ 0051 | :varlink:`GAD_MULTIDIM_COMPRESSIBLE` | #undef | use compressible flow method for multi-dim advection instead of older, less accurate method; note option has | 0052 | | | no effect on SOM advection which always uses compressible flow method | 0053 +-----------------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------+ 0054 | :varlink:`GAD_ALLOW_TS_SOM_ADV` | #undef | enable the use of 2nd-order moment advection scheme (Prather 1986 :cite:`prather:86`) | 0055 | | | for temp. and salinity | 0056 +-----------------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------+ 0057 | :varlink:`GAD_SMOLARKIEWICZ_HACK` | #undef | enables hack to get rid of negatives caused by Redi, see Smolarkiewicz (1989) :cite:`smolark:89` | 0058 | | | (for ptracers, except temp and salinity) | 0059 +-----------------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------+ 0060 9ce7d74115 Jeff*0061 .. _gad_diagnostics: 0062 8679f9097b Jeff*0063 GAD Diagnostics 0064 +++++++++++++++ 0065 0066 :: 0067 0068 ------------------------------------------------------------------------ 7bb5a8a109 Jean*0069 <-Name->|Levs|<-parsing code->|<-- Units -->|<- Tile (max=80c) 8679f9097b Jeff*0070 ------------------------------------------------------------------------ 0071 ADVr_TH | 15 |WM LR |degC.m^3/s |Vertical Advective Flux of Pot.Temperature 0072 ADVx_TH | 15 |UU 087MR |degC.m^3/s |Zonal Advective Flux of Pot.Temperature 0073 ADVy_TH | 15 |VV 086MR |degC.m^3/s |Meridional Advective Flux of Pot.Temperature 0074 DFrE_TH | 15 |WM LR |degC.m^3/s |Vertical Diffusive Flux of Pot.Temperature (Explicit part) 0075 DIFx_TH | 15 |UU 090MR |degC.m^3/s |Zonal Diffusive Flux of Pot.Temperature 0076 DIFy_TH | 15 |VV 089MR |degC.m^3/s |Meridional Diffusive Flux of Pot.Temperature 0077 DFrI_TH | 15 |WM LR |degC.m^3/s |Vertical Diffusive Flux of Pot.Temperature (Implicit part) ba0b047096 Mart*0078 ADVr_SLT| 15 |WM LR |(g/kg).m^3/s |Vertical Advective Flux of Salinity 0079 ADVx_SLT| 15 |UU 094MR |(g/kg).m^3/s |Zonal Advective Flux of Salinity 0080 ADVy_SLT| 15 |VV 093MR |(g/kg).m^3/s |Meridional Advective Flux of Salinity 0081 DFrE_SLT| 15 |WM LR |(g/kg).m^3/s |Vertical Diffusive Flux of Salinity (Explicit part) 0082 DIFx_SLT| 15 |UU 097MR |(g/kg).m^3/s |Zonal Diffusive Flux of Salinity 0083 DIFy_SLT| 15 |VV 096MR |(g/kg).m^3/s |Meridional Diffusive Flux of Salinity 0084 DFrI_SLT| 15 |WM LR |(g/kg).m^3/s |Vertical Diffusive Flux of Salinity (Implicit part) 8679f9097b Jeff*0085 0086 Experiments and tutorials that use GAD 0087 ++++++++++++++++++++++++++++++++++++++ 0088 bf89a37abc Phob*0089 - Baroclinic gyre experiment, in :filelink:`tutorial\_baroclinic\_gyre <verification/tutorial_baroclinic_gyre>` dc6b14c3ce Phob*0090 verification directory. 8679f9097b Jeff*0091 bf89a37abc Phob*0092 - Tracer Sensitivity tutorial, in :filelink:`tutorial\_tracer\_adjsens <verification/tutorial_tracer_adjsens>` 0093 verification directory. 8679f9097b Jeff*0094
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated from https://github.com/darwinproject/darwin3 by the 2.3.7-MITgcm-0.1 LXR engine. The LXR team |
|