Welcome, Guest
Username: Password: Remember me

TOPIC: Wave series as boundary condition

Wave series as boundary condition 3 years 6 months ago #38479

  • nikos
  • nikos's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 35
  • Thank you received: 1
It would be good to have the fortran file.

However the error message is related with the variable "fremax" which according to messaga is both scalar and rank-1 ( dimension (1) )


Best
Nikos
The administrator has disabled public write access.

Wave series as boundary condition 3 years 6 months ago #38480

  • nikos
  • nikos's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 35
  • Thank you received: 1
It would be good to have the fortran file.

However the error message is related with the variable "fremax" which according to message is both scalar and rank-1 ( dimension (1) )


Best
Nikos
The administrator has disabled public write access.

Wave series as boundary condition 3 years 6 months ago #38481

  • taoan
  • taoan's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 52
  • Thank you received: 9
Thank you for reply Nikos

Here is the file. It is the same file posted by Laurent at #29809

File Attachment:

File Name: V_WAVE.f
File Size: 11 KB


Regards,

Taoan
The administrator has disabled public write access.

Wave series as boundary condition 3 years 6 months ago #38482

  • nikos
  • nikos's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 35
  • Thank you received: 1
Hi mate,

the problem lies on the fact that you use an old version
of the limwac.f

You need to take the limwac.f which is at the 8.2 version. If you check you will see that the latest version has more "USE" declarations

that's why the compiler throws errors

hope this is helpful; keep us posted

best

Nikos
The administrator has disabled public write access.

Wave series as boundary condition 3 years 6 months ago #38483

  • taoan
  • taoan's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 52
  • Thank you received: 9
Hello Nikos

I followed your sugestion and edit this limwac file from v8p2 sources folder


File Attachment:

File Name: limwac_v_wave.f
File Size: 11 KB


The problem remains the same

> compiling objs
D:\PROPOSTAS-2021\MODELAGEM-DRAGAGEM-SSA\TELEMAC2D-2021\bts2d2021.cas_2021-05-12-17h52min33s\user_fortran\V_WAVE.f:200:45:

&( FBOR ,SPEC ,FRA ,UV2D ,VV2D ,FREQ ,
1
Error: Rank mismatch in argument 'fremax' at (1) (scalar and rank-1)
D:\PROPOSTAS-2021\MODELAGEM-DRAGAGEM-SSA\TELEMAC2D-2021\bts2d2021.cas_2021-05-12-17h52min33s\user_fortran\V_WAVE.f:206:45:

&( FB_CTE,SPEC ,FRA ,UV2D ,VV2D ,FREQ ,
1
Error: Rank mismatch in argument 'fremax' at (1) (scalar and rank-1)
compiling: V_WAVE.fTraceback (most recent call last):
File "C:\opentelemac-mascaret\v8p2\scripts\python3\telemac2d.py", line 7, in <module>
main('telemac2d')
The administrator has disabled public write access.

Wave series as boundary condition 3 years 6 months ago #38484

  • nikos
  • nikos's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 35
  • Thank you received: 1
Hi
did you change the name of the Fortran file? because the name of the attached is different from the one in the error message

Best

Nikos
The administrator has disabled public write access.

Wave series as boundary condition 3 years 6 months ago #38485

  • taoan
  • taoan's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 52
  • Thank you received: 9
Hello Nikos

I'm sorry, it was my fault :/

The problem was changed

... checking the executable
> compiling objs
D:\PROPOSTAS-2021\MODELAGEM-DRAGAGEM-SSA\TELEMAC2D-2021\tests\bts2d2021.cas_2021-05-12-18h26min11s\user_fortran\limwac_v_wave.f:218:28:

print*,'NF01',NFO1
1
Error: Symbol 'nfo1' at (1) has no IMPLICIT type; did you mean 'nbor'?
D:\PROPOSTAS-2021\MODELAGEM-DRAGAGEM-SSA\TELEMAC2D-2021\tests\bts2d2021.cas_2021-05-12-18h26min11s\user_fortran\limwac_v_wave.f:214:72:

CALL USER_LIMWAC
1
Error: Missing actual argument for argument 'f' at (1)
compiling: limwac_v_wave.fTraceback (most recent call last):


Thank you for your attention,

Regards,

Taoan
The administrator has disabled public write access.

Wave series as boundary condition 3 years 6 months ago #38486

  • nikos
  • nikos's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 35
  • Thank you received: 1
Hello

the first error

the name you ask to print is wrong

print*,'NF01',NFO1 it has to be NF01

the second error , you call a subroutine with out variables.

Compiler expects this

CALL USER_LIMWAC
&(F , FBOR , NPTFR , NDIRE , NF , NPOIN2,
& KENT , PRIVE , NPRIV , IMP_FILE)


best regards
Nikos
The administrator has disabled public write access.

Wave series as boundary condition 3 years 6 months ago #38488

  • taoan
  • taoan's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 52
  • Thank you received: 9
Hello Nikos,

After some editions and tests the fortan sintax problems were solved...the variable NFO has to be declared on code

However I received this new error message

Running your simulation(s) :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



In D:\PROPOSTAS-2021\MODELAGEM-DRAGAGEM-SSA\TELEMAC2D-2021\tests\bts2d2021.cas_2021-05-13-07h55min01s:
D:\PROPOSTAS-2021\MODELAGEM-DRAGAGEM-SSA\TELEMAC2D-2021\tests\bts2d2021.cas_2021-05-13-07h55min01s\out_telemac2d.exe


Exception in thread Thread-3:
Traceback (most recent call last):
File "C:\Users\USUARIO\miniconda3\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "C:\Users\USUARIO\miniconda3\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\process.py", line 695, in print_twice
print(dat.decode('utf-8'))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc6 in position 120: invalid continuation byte

Traceback (most recent call last):
File "C:\opentelemac-mascaret\v8p2\scripts\python3\telemac2d.py", line 7, in <module>
main('telemac2d')
File "C:\opentelemac-mascaret\v8p2\scripts\python3\runcode.py", line 271, in main
run_study(cas_file, code_name, options)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\run_cas.py", line 157, in run_study
run_local_cas(my_study, options)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\run_cas.py", line 65, in run_local_cas
my_study.run(options)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\study.py", line 612, in run
self.run_local()
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\study.py", line 440, in run_local
run_code(self.run_cmd, self.sortie_file)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\run.py", line 182, in run_code
raise TelemacException('Fail to run\n'+exe)
utils.exceptions.TelemacException: Fail to run
D:\PROPOSTAS-2021\MODELAGEM-DRAGAGEM-SSA\TELEMAC2D-2021\tests\bts2d2021.cas_2021-05-13-07h55min01s\out_telemac2d.exe


Do you have some sugestion?


File Attachment:

File Name: limwac_v_wave_2021-05-13.f
File Size: 11 KB




With best regards,

Taoan
The administrator has disabled public write access.

Wave series as boundary condition 3 years 6 months ago #38489

  • nikos
  • nikos's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 35
  • Thank you received: 1
Hello

It has something to do with the input files. Can you attached the whole case?

Best
Nikos
The administrator has disabled public write access.
Moderators: tfouquet

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.