Dear Christophe,
Thank you for your advice.
I started now to couple it in serial and decided as a first test to use a 2d polynomial interpolation to transfer the CA models results(structured rectangular grid) onto my T2D grid.
I have one question regarding print statements in Telemac2D. I wrote the CA model in the dragfo subroutine, since that is also were the interactions with T2D will take place(called at every timestep), and want to print the CA model output using the statement:
open(1, File='test.dat', status='unknown', form='unformatted',
& access="stream")
write(1) real(sizeX,8),real(sizeY,8),real(NumStored+1,8),
& real(jjjk,8), Cells
When the code arrives there I get the error message:
LIT: ABNORMAL END OF FILE ONE INTENDED TO READ A RECORD OF 32 VALUES OF TYPE: CH ON LOGICAL UNIT: 1
I do see the output-file test.dat in my temporary folder, but also there the values are not what I expect.
Do I need to add something for writing the output? e.g. change something in T2D printing subroutines?
Best Regards,
Christian