Book contents
- Frontmatter
- Contents
- Preface
- Acronyms and abbreviations
- Principal symbols
- 1 Introduction
- 2 The governing systems of equations
- 3 Numerical solutions to the equations
- 4 Physical-process parameterizations
- 5 Modeling surface processes
- 6 Model initialization
- 7 Ensemble methods
- 8 Predictability
- 9 Verification methods
- 10 Experimental design in model-based research
- 11 Techniques for analyzing model output
- 12 Operational numerical weather prediction
- 13 Statistical post processing of model output
- 14 Coupled special-applications models
- 15 Computational fluid-dynamics models
- 16 Climate modeling and downscaling
- Appendix: Suggested code structure and experiments for a simple shallow-fluid model
- References
- Index
Appendix: Suggested code structure and experiments for a simple shallow-fluid model
Published online by Cambridge University Press: 05 June 2012
- Frontmatter
- Contents
- Preface
- Acronyms and abbreviations
- Principal symbols
- 1 Introduction
- 2 The governing systems of equations
- 3 Numerical solutions to the equations
- 4 Physical-process parameterizations
- 5 Modeling surface processes
- 6 Model initialization
- 7 Ensemble methods
- 8 Predictability
- 9 Verification methods
- 10 Experimental design in model-based research
- 11 Techniques for analyzing model output
- 12 Operational numerical weather prediction
- 13 Statistical post processing of model output
- 14 Coupled special-applications models
- 15 Computational fluid-dynamics models
- 16 Climate modeling and downscaling
- Appendix: Suggested code structure and experiments for a simple shallow-fluid model
- References
- Index
Summary
Many NWP courses involve the coding by students of one- or two-dimensional shallow-fluid models, and the use of these models in experiments to evaluate the influence of different numerical methods on model solutions (described in Chapter 3). This allows students to become familiar with the structural components of models, to gain experience in debugging model code, and to conduct experiments to confirm concepts discussed in the text.
This appendix suggests an overall framework for coding the shallow-fluid equations that are described in Section 2.3.3, as well as some experiments that can be part of a laboratory component of an NWP course. Because the specific programming language used will determine the details of the model code, only a high-level outline will be provided here. The best approach is to start with the development of a one-dimensional model. Figure A.1 shows a schematic of the procedure for solving such a system, using an advection equation as a simple example. The abscissa is the space dimension and the ordinate is time. A predictive equation would of course be required for u, unless a constant mean speed is employed.
- Type
- Chapter
- Information
- Numerical Weather and Climate Prediction , pp. 456 - 460Publisher: Cambridge University PressPrint publication year: 2010