Differences between revisions 1 and 16 (spanning 15 versions)
Revision 1 as of 2008-01-11 10:55:01
Size: 1159
Editor: NicoleThomas
Comment:
Revision 16 as of 2016-03-09 08:30:00
Size: 2397
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#format inline_latex #acl ClamsUserGroup:read,write,delete,revert All:read
Line 5: Line 5:
The 2D (isentropic) and 3D mixing in CLaMS is implemented in the FORTRAN-90 program '''["mix.f90"]'''. The handling of the boundary conditions is controlled by the program '''["bmix.f90"]'''.
For the description of the 2D/3D mixing algorithm, see [2,1]
The 2D (isentropic) and 3D mixing in CLaMS is implemented in the FORTRAN-90 program '''[[/mix.f90 | mix.f90]]'''. <<BR>>
The handling of the boundary conditions is controlled by the program '''[[/bmix.f90 | bmix.f90]]'''. <<BR>>
For the description of the 2D/3D mixing algorithm, see ''References''.

Utility progams in package mix:
 * age
 * [[ /clams2boundary | clams2boundary ]]
 * ocean_uptake
 * [[ /replace_lbound | replace_lbound ]]

=== How to get the source code ===

The source code of the mix package is under control of the CVS (Concurrent Version System) utility. To get the source code the environment variable CVSROOT must be set to ''/usr/local/icg/icg1/archive''. The command
{{{
cvs co -P mix
}}}
creates a directory mix in the current working directory and copies the current version of the mix package to this directory.

The directory ''mix'' includes the following subdirectories:

 * ''doc'': latex file for documentation
 * ''mod'': module files
 * ''obj'': object files
 * ''source'': source code
 * ''templates'': templates for configuration file

=== Compiling ===

The programs can be compiled on different platforms with the makefile stored in the directory ''mix'':
{{{
make mix|bmix
make all
}}}
The program will be compiled for the used platform and the executables ''mix'' and ''bmix'' will be created.
Line 9: Line 41:
To compile ''mix'' or ''bmix'' the package [[dynmod]] must be checked out.
Line 10: Line 43:
{{{#!latex
\begin{thebibliography}{1}
\bibitem{Konopka2004}
P.~Konopka, H.-M. Steinhorst, J.-U. Groo\ss, G.~G\"unther, R.~M\"{u}ller, J.~W.
  Elkins, H.-J. Jost, E.~Richard, U.~Schmidt, G.~Toon, and D.~S. McKenna.
\newblock Mixing and ozone loss in the 1999-2000 arctic vortex: {S}imulations
  with the 3-dimensional {Chemical Lagrangian Model of the Stratosphere
  (CLaMS)}.
\newblock {\em J. Geophys. Res.}, 109(D2):doi:10.1029/2003JD003792, 2004.
To clean and recompile ''mix'' or ''bmix'' the package ''dynmod'' must be cleaned too.
In directory ''mix'':
{{{
make distclean
make dynmod_distclean
make mix|bmix
}}}
Line 20: Line 51:
\bibitem{McKenna2002a}
D.~S. {McKenna}, P.~Konopka, J.-U. Groo\ss, G.~G\"unther, R.~M\"uller,
  R.~Spang, D.~Offermann, and Y.~Orsolini.
\newblock A new {C}hemical {L}agrangian {M}odel of the {S}tratosphere
  {(CLaMS)}: {P}art {I} {F}ormulation of advection and mixing.
\newblock {\em J. Geophys. Res.}, 107(D16):4309, doi:10.1029/2000JD000114,
  2002.
\end{thebibliography}
}}}

=== References ===

P.Konopka, H.-M.Steinhorst, J.-U.Grooß, G.Günther, R.Müller, J.W.Elkins, H.-J.Jost, E.Richard, U.Schmidt, G.Toon, and D.S.McKenna. Mixing and ozone loss in the 1999-2000 arctic vortex: Simulations with the 3-dimensional Chemical Lagrangian Model of the Stratosphere (CLaMS). ''J. Geophys. Res.'', 109(D2):doi:10.1029/2003JD003792, 2004.

D.S.McKenna, P.Konopka, J.-U.Grooß, G.Günther, R.Müller, R.Spang, D.Offermann, and Y.Orsolini. A new Chemical Lagrangian Model of the Stratosphere (CLaMS): Part I Formulation of advection and mixing. ''J. Geophys. Res.'', 107(D16):4309, doi:10.1029/2000JD000114, 2002.

----

[[/Changes|History of Changes]]

The package mix

The 2D (isentropic) and 3D mixing in CLaMS is implemented in the FORTRAN-90 program mix.f90.
The handling of the boundary conditions is controlled by the program bmix.f90.
For the description of the 2D/3D mixing algorithm, see References.

Utility progams in package mix:

How to get the source code

The source code of the mix package is under control of the CVS (Concurrent Version System) utility. To get the source code the environment variable CVSROOT must be set to /usr/local/icg/icg1/archive. The command

cvs co -P mix

creates a directory mix in the current working directory and copies the current version of the mix package to this directory.

The directory mix includes the following subdirectories:

  • doc: latex file for documentation

  • mod: module files

  • obj: object files

  • source: source code

  • templates: templates for configuration file

Compiling

The programs can be compiled on different platforms with the makefile stored in the directory mix:

make mix|bmix
make all

The program will be compiled for the used platform and the executables mix and bmix will be created.

To compile mix or bmix the package dynmod must be checked out.

To clean and recompile mix or bmix the package dynmod must be cleaned too. In directory mix:

make distclean
make dynmod_distclean
make mix|bmix

References

P.Konopka, H.-M.Steinhorst, J.-U.Grooß, G.Günther, R.Müller, J.W.Elkins, H.-J.Jost, E.Richard, U.Schmidt, G.Toon, and D.S.McKenna. Mixing and ozone loss in the 1999-2000 arctic vortex: Simulations with the 3-dimensional Chemical Lagrangian Model of the Stratosphere (CLaMS). J. Geophys. Res., 109(D2):doi:10.1029/2003JD003792, 2004.

D.S.McKenna, P.Konopka, J.-U.Grooß, G.Günther, R.Müller, R.Spang, D.Offermann, and Y.Orsolini. A new Chemical Lagrangian Model of the Stratosphere (CLaMS): Part I Formulation of advection and mixing. J. Geophys. Res., 107(D16):4309, doi:10.1029/2000JD000114, 2002.


History of Changes

mix (last edited 2019-07-31 12:25:07 by NicoleThomas)