Prognostic and diagnostic equations

In meteorology and oceanography, a prognostic equation is an equation that contains the time derivative of a quantity and can therefore be used to find the value of that quantity at a later time. A diagnostic equation contains no time derivative. It relates the values that different quantities have at the same moment. A weather or climate model steps its prognostic variables forward in time with equations of the first kind, then obtains its diagnostic variables from them with equations of the second kind.

The two words come from medicine. Vilhelm Bjerknes borrowed them for the two steps of the plan for scientific weather forecasting that he set out in 1904. Which equations are prognostic depends on the approximations a model makes: dropping a time derivative turns a prognostic equation into a diagnostic one and removes a type of wave from the solutions.

Definitions

A prognostic equation gives the tendency of a quantity, its rate of change in time, from which future values can be calculated. It can be written as ∂Q∂t=R where Q is a prognostic variable and the right-hand side R is its tendency. Each such variable needs an initial condition, because the prognostic equation supplies changes and not a starting point.

A diagnostic equation specifies a balance among quantities at one moment in time. The ideal gas law is an example: it relates pressure, density, and temperature at the same instant in time. A diagnostic variable is one whose equation has no time derivative, so it can be determined from the other variables at any moment.

Geostrophic balance shows what a diagnostic equation can and cannot do. In large-scale weather systems outside the tropics, the horizontal wind and the pressure approximately satisfy fv≈1ρ∂p∂x fu≈−1ρ∂p∂y where u and v are the eastward and northward components of the wind, p is pressure, ρ is density, and f is the Coriolis parameter. The pressure field at any time determines the wind that satisfies these relations. But they contain no reference to time, so they cannot predict how the wind will change. Prediction requires the acceleration terms that geostrophic balance leaves out.

Nor does a diagnostic equation say which quantity causes which. The terms on the right-hand side of a diagnostic equation for pressure are associated with pressure perturbations and are not their cause, tempting as it is to read them as forcings.

History

In 1904, Vilhelm Bjerknes laid out a two-step plan for forecasting the weather from the laws of physics: first establish the state of the atmosphere at an initial time from observations, then compute how one state develops into the next. He called the steps diagnostic and prognostic, after the medical terms.

Lewis Fry Richardson's forecasting scheme, published in 1922, was a detailed implementation of the prognostic step. Richardson assumed hydrostatic balance, which left no prognostic equation for the vertical velocity, so he derived a diagnostic one. George Platzman later called it "the principal, substantive contribution of the book to dynamic meteorology".

Filtering approximations

Neglecting the time derivative in one of the equations of motion converts it from a prognostic equation into a diagnostic one. A convenient way to see this is to put a coefficient ϵ in front of the time derivative: ϵ∂Q∂t=R With ϵ=1 this is the full prognostic equation. With ϵ=0 it becomes 0=R, which has no time derivative and is therefore diagnostic. The step eliminates one type of solution: physically, it removes a restoring force that supports a certain type of wave, so it is called a filtering approximation. The argument for it is not that Q changes slowly, but that a fast adjustment has already taken place and reached its steady limit.

Filtering pays because the fastest wave in a model limits its time step. On a grid with 300 m between levels, sound waves hold an explicit model of the atmosphere to time steps of about 1 second, although they have no direct meteorological significance, while Rossby waves can be simulated accurately with steps of 500 to 5,000 seconds.

Constant density

Conservation of mass is a prognostic equation for the density ρ, DρDt+ρ∇⋅𝐮=0 where 𝐮 is the velocity and D/Dt is the material derivative. If the density is constant, the time derivative vanishes and the equation becomes ∇⋅𝐮=0 a constraint that the velocity must satisfy at every instant. Sound waves need the fluid to converge and diverge in three dimensions, so the constraint removes them. It also leaves no prognostic equation for pressure, which becomes a diagnostic variable.

Boussinesq approximation

In the Boussinesq equations, which contain the divergence-free constraint, taking the divergence of the momentum equation gives a Poisson equation for it: ∇2p′=ρ0∇⋅𝐅 where p′ is the departure of the pressure from a hydrostatically balanced reference state, ρ0 is a constant reference density, and 𝐅 collects the advection and buoyancy terms of the momentum equation. The solution is the pressure that keeps the velocity field free of divergence, and it must be found again at every time step.

Hydrostatic approximation

The vertical momentum equation is a prognostic equation for the vertical velocity w, DwDt=−1ρ∂p∂z−g where p is pressure, z is height, and g is the acceleration of gravity. The hydrostatic approximation neglects the vertical acceleration on the left side, which leaves the hydrostatic relation ∂p∂z=−ρg with no time derivative and no w in it. That does not make the vertical velocity zero. It must instead be deduced from the other variables. The approximation suits large-scale motions, which are very nearly in hydrostatic balance, and it eliminates sound waves, though not every acoustic mode that travels horizontally. A variable's status thus depends on the model: when the full vertical momentum equation is kept, w has a time derivative again and needs an initial condition of its own.

Quasi-geostrophy

The quasi-geostrophic approximation goes furthest. It takes the wind to be nearly geostrophic and neglects the time derivative of the small remainder, the ageostrophic wind. This removes inertia–gravity waves as well as sound waves, and it leaves a single prognostic equation, for the quasi-geostrophic potential vorticity q. For a single layer of fluid, the equations are DqDt=0 q=∇2ψ+βy−ψLd2 The first is prognostic: it carries q along with the geostrophic wind. The second is diagnostic: given q, it is solved for the streamfunction ψ, which gives the height of the fluid surface and the geostrophic wind. Here β is Rossby parameter, y is distance to the north, and Ld is the radius of deformation. Recovering the other fields from the potential vorticity in this way is called potential vorticity inversion. In a stratified atmosphere, the vertical motion also comes from a diagnostic equation, the omega equation. A filtered model of this kind produced the first successful numerical weather forecast, which Jule Charney, Ragnar Fjørtoft, and John von Neumann computed on the ENIAC and published in 1950.

In numerical modeling

A model based on the primitive equations steps them forward in time iteratively: it evaluates the time derivatives of the prognostic variables, projects those variables forward through a short time step, and then applies the diagnostic equations to obtain consistent values of the other variables. Such a model carries at least four prognostic variables at each grid point (two horizontal wind components, temperature, and moisture) and the surface pressure for each column. On a global grid with a spacing of 1° and 20 levels, that comes to more than five million values. Its diagnostic variables include the vertical velocity which is deduced from the horizontal wind through the continuity equation, and the geopotential which is obtained from the temperature by integrating the hydrostatic equation.

The same choice arises in parameterizations, which express the effect of processes smaller than the grid in terms of the resolved fields. A prognostic equation gives a scheme memory. Prandtl's mixing-length scheme for turbulence is algebraic and sets the turbulence level from the instantaneous flow alone, so its eddy viscosity drops to zero as soon as mixing has removed the shear, whereas real turbulence decays gradually. The simplest scheme with memory makes the turbulent kinetic energy a prognostic variable, with its own evolution equation, and leaves the eddy viscosity diagnostic, calculated from that energy and a prescribed mixing length. Cloud cover can be either. A diagnostic scheme works it out after each time step from other model variables, such as the relative humidity. A prognostic scheme adds cloud cover to the predicted variables, along with cloud water.

Whole models are described in the same terms, according to whether a field is given to the model or calculated by it. In one model of the overturning circulation of the Southern Ocean, the diagnostic model takes the density of the surface layer as given, and the prognostic model calculates it from the equations. Ocean circulation models have likewise been run in a diagnostic mode, to determine the currents that go with an observed density field. The terms also separate models of an equilibrium from models of change. For the depth of the stable boundary layer, diagnostic models give an equilibrium depth and prognostic models give the rate at which the depth changes. The diagnostic models proved unsatisfactory because the layer is rarely in equilibrium.

See also