preprocessor.tex 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. In many cases the setup of PUMA experiments can be defined
  2. using namelist variables either via MoSt or with editing
  3. the namelist file. In these cases PUMA can run without
  4. any startup files containing boundary conditions. \\
  5. For more complex experiments, like changes in orography
  6. or ground temperature, predefined vertical and horizontal
  7. gradients of the restoration temperature field
  8. and more, it is necessary to create files for boundary
  9. conditions. \\
  10. This is done with the PPP (short for Puma Pre-Processor).
  11. The PPP is a stand alone program, that can be called
  12. inside the modelstarter MoSt or explicitely by the user.
  13. It shares the namelist file {\bf puma\_namelist} with
  14. PUMA, because both programs must use the same parameters
  15. for consistency.
  16. The use in MoSt is currently restricted for using an orography
  17. in PUMA. If the orography option is checked in MoSt the
  18. PPP will be run before creating the run time environment for
  19. the model. The PPP creates startup definitions for
  20. orography, constant and time variable part of the restoration
  21. temperature and an initial field for surface pressure.
  22. Additionally the simple orography modifier of MoSt may be used
  23. to rise or lower parts of the orography. A mouseclick on the
  24. button {\bf Preprocess} will then call the PPP and make
  25. all necessary adjustions to start fields. \\
  26. More complex setups must be performed by either using some of
  27. the PPP namelist parameters or by adding code to PPP itself.
  28. This requires however a good knowledge of the FORTRAN-90
  29. programming language and of the model interna.
  30. The source code is in the file Most16/puma/src/ppp.f90.
  31. To make changes easier the PPP has two subroutines
  32. named {\bf modify\_orography} and {\bf modify\_ground\_temperature}.
  33. These are the recommended places to add user code. \\
  34. More details can be found in the FORTRAN-90 code of the PPP itself.