Computation of different tendencies according to different parameterizations for comparison


It would be possible to implement different parameterizations and compute them at the same time.

Roughly the algorithm would be:

  • storage of the state
  • Beginning of loop
  • if different from first loop : restore the state

  • if loop n compute nth model tendencies (the last model must be the model used for actual time stepping)
  • output the nth model variables values to file
  • end of loop

The storing and restoring is already implemented in the Schwarz loop. Clearly the Schwarz loop can be modified to do this.

There are several problems in the case of coupling !

You will need to store the fields sent and received instead of going through OASIS for exchanging between ocean and atmosphere.

If you have several physical time steps during a Schwarz window you will compute a different trajectory for each parameterization instead of a single point.

In the case of forced LMDZ you can set the Schwarz loop to be for a single physical time step.

Another solution is to store the ocean forcing of a reference coupling simulation and use this to run a forced LMDZ run.

modification of OASIS communications

It would be needed to implement variables to store and restore the coupling instead of sending and receiving through OASIS

XIOS modifications

It would be needed to implement XIOS calls to write the values for the different models in a single file. A temporal filter to append all the values at each loop repetition could be used.

Last modified 5 years ago Last modified on 07/26/19 16:37:32