Hello Chi-Tuan,
Thank you very much for your reply.
1. I have checked the PROSOU subroutine with a small test case in both sequential and parallel mode. So far, it is working as intended. I tried to print out the value from one node and compare with the input data. If I use the "GLOBAL_TO_LOCAL_POINT" and read from the partial log file, it is the same as the input value. This is the output from sequential mode:
This is the output from parallel mode read from the partial log file:
From my understanding, it is working. Since it is a small test case, I do not notice much changes in simulation time. I will try to interpolate as you suggested.
2. I tried to use "NAMES OF CLANDESTINE VARIABLES" with the littoral case in the version v8p4r0. I attached all the files that are modified. Here is the information about the input wave file:
The error is :
"MISSING WAVE DATA
WAVE HEIGHT HM0
PEAK PERIOD TPR5
MEAN DIRECTION"
3. Sorry that I did not make myself clear in the previous post. I have looked at the sandpit-t2d example. I also want to read the wave parameter for GAIA at every time step. If "NAMES OF CLANDESTINE VARIABLES" works, I do not need to read the wave parameter from GAIA separately using "WAVE FILE". Is my understanding correct?
In SISYPHE, the CONDIM_SISYPHE is called every time step and I can modify the "USER_CONDIM_SISYPHE" and read it. In GAIA, "USER_FORCING_GAIA" is called without any variables. If I modify the "USER_FORCING_GAIA" subroutine to read from "WAVE FILE", I also have to modify both "GAIA_INIT.F" and "GAIA_PREPARE_STEP.F" where it is called. Is that right?
Thank you very much for your time and help.
Best regards,
Htun