The OASIS Coupler Forum

  HOME

Define a variable oasis_def_var

Up to Starting with OASIS3-MCT (first steps, tutorial, ...)

Posted by Anonymous at March 23 2017

As far as I understand I have to define variables in the namcouple using oasis_def_var. 

How can I do this? Is it necessary to modify some .F90 files in ~/oasis3-mct/lib ?

Posted by Anonymous at April 24 2017

Hi,

No, you do not have to modify any file in oasis3-mct/lib. You must use the oasis module mod_oasis in you model and then call the API of the coupler to define your coupling algorithm.

You have the toy tutorial in oasis3-mct/examples/tutorial that can help you. Either you try to implement the coupling interface by yourself, either you have a look to the solution in files model1.F90_TP and model2.F90_TP. All is explain in oasis3-mct/examples/tutorial/tutorial.pdf.

You have also all the documentation about OASIS3-MCT_3.1 in the User Guide https://oasis.cerfacs.fr/wp-content/uploads/sites/114/2021/02/GLOBC-TR-oasis3mct_UserGuide3.0_052015.pdf .

Let me know if this help,

Best regards, Laure
Reply to this