Dear all,
I’m new to TOMAWAC (and to Fortran as well). I’m trying to impose a time varying time series of wave height, period and direction at the offshore boundary of my domain. Reading previous posts in this discussion, I modified the subroutine LIMWAC.f to read the time series in the file offshoreWaves.txt.
It seems to be correctly compiled, but the computation stops at the first time step, with this error:
================================================================================
TEMPS : 0.0000 SECONDES 0IEME ITERATION
NFO1 4322488
At line 220 of file C:\Users\..\Desktop\TOM_Crav\TOM_Carv.cas_2022-04-02-16h10min55s\user_fortran\user_limwac.f (unit = 4322488, file = 'fort.4322488')
Fortran runtime error: End of file
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v8p1r1\scripts\python3\tomawac.py", line 7, in <module>
main('tomawac')
File "C:\opentelemac-mascaret\v8p1r1\scripts\python3\runcode.py", line 272, in main
run_study(cas_file, code_name, options)
File "C:\opentelemac-mascaret\v8p1r1\scripts\python3\execution\run_cas.py", line 157, in run_study
run_local_cas(my_study, options)
File "C:\opentelemac-mascaret\v8p1r1\scripts\python3\execution\run_cas.py", line 65, in run_local_cas
my_study.run(options)
File "C:\opentelemac-mascaret\v8p1r1\scripts\python3\execution\study.py", line 610, in run
self.run_local()
File "C:\opentelemac-mascaret\v8p1r1\scripts\python3\execution\study.py", line 445, in run_local
run_code(self.run_cmd, self.sortie_file)
File "C:\opentelemac-mascaret\v8p1r1\scripts\python3\execution\run.py", line 182, in run_code
raise TelemacException('Fail to run\n'+exe)
utils.exceptions.TelemacException: Fail to run
I see the “Fortran runtime error: End of file”, but I don’t know how to resolve it.
Enclose the entire test case, in case you have suggestions
Thanks in advance
Irene