Changes between Version 2 and Version 3 of model_comparison

07/26/19 16:37:32 (5 years ago)



  • model_comparison

    v2 v3  
    33== Algorithm == 
     5It would be possible to implement different parameterizations and compute them at the same time. 
     7Roughly the algorithm would be: 
     9* storage of the state 
     11* Beginning of loop 
     13  * if different from first loop : restore the state 
     15  * if loop n compute nth model tendencies (the last model must be the model used for actual time stepping) 
     17  * output the nth model variables values to file 
     19* end of loop 
     21The storing and restoring is already implemented in the Schwarz loop. 
     22Clearly the Schwarz loop can be modified to do this. 
     24There are several problems in the case of coupling ! 
     26You will need to store the fields sent and received instead of going through OASIS for exchanging between ocean and atmosphere. 
     28If you have several physical time steps during a Schwarz window you will compute a different trajectory for each parameterization instead of a single point. 
     30In the case of forced LMDZ you can set the Schwarz loop to be for a single physical time step. 
     32Another solution is to store the ocean forcing of a reference coupling simulation and use this to run a forced LMDZ run. 
    534== modification of OASIS communications == 
     36It would be needed to implement variables to store and restore the coupling instead of sending and receiving through OASIS 
    738== XIOS modifications == 
     40It would be needed to implement XIOS calls to write the values for the different models in a single file. 
     41A temporal filter to append all the values at each loop repetition could be used.