Welcome, Guest
Username: Password: Remember me

TOPIC: Wave series as boundary condition

Wave series as boundary condition 6 years 6 months ago #29791

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Ok I will fix that and come back, if the error is still present.
The administrator has disabled public write access.

Wave series as boundary condition 6 years 6 months ago #29792

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
I get a similar failure. I have attached the terminal output and the new mesh including the boundary conditions.
Attachments:
The administrator has disabled public write access.

Wave series as boundary condition 6 years 6 months ago #29795

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Hi Clemens,

First, you have to try your case in sequential mode, and for my part I have an explicit error message that tells me that you're reading your "FORMATTED FILE 1" on a wrong channel unit. Please, don't use an hard coded number, but the dedicated NF01 variable, it'll make things easier for you later for parallel computation.

Even by correcting this error, another one appears. "end-of-file during read". Please can you check that you're reading the file correctly.

Regards,
Laurent
The administrator has disabled public write access.

Wave series as boundary condition 6 years 6 months ago #29798

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
There are only 6 time steps inside your file, not 96..
By correcting this line, your case runs well for me in v7p2r1, both in sequential and parallel modes. but I didn't look to the results.

Regards,
Laurent
The administrator has disabled public write access.

Wave series as boundary condition 6 years 6 months ago #29805

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi Laurent,

I tried it in sequential mode and changed the amount of given time steps to 6. I still getting an error. Which is as follows
runcode::main:
:
   |runCode: Fail to run
   |/opt/intel/compilers_and_libraries_2018/linux/mpi/bin64/mpiexec -wdir /home/tvrl/telemac/v7p2/Hornjafjordur/TOMAWAC/20180423_variable Wave/C_WAV.cas_2018-04-24-08h20min09s -n 1 /home/tvrl/telemac/v7p2/Hornjafjordur/TOMAWAC/20180423_variable Wave/C_WAV.cas_2018-04-24-08h20min09s/out_V_WAVE
   |~~~~~~~~~~~~~~~~~~
   |[proxy:0:0@tvrl-OptiPlex-9020] HYDU_create_process (../../utils/launch/launch.c:825): execvp error on file Wave/C_WAV.cas_2018-04-24-08h20min09s (No such file or directory)
   |[proxy:0:0@tvrl-OptiPlex-9020] HYDU_create_process (../../utils/launch/launch.c:825): execvp error on file Wave/C_WAV.cas_2018-04-24-08h20min09s (No such file or directory)
   |[proxy:0:0@tvrl-OptiPlex-9020] HYDU_create_process (../../utils/launch/launch.c:825): execvp error on file Wave/C_WAV.cas_2018-04-24-08h20min09s (No such file or directory)
   |[proxy:0:0@tvrl-OptiPlex-9020] HYDU_create_process (../../utils/launch/launch.c:825): execvp error on file Wave/C_WAV.cas_2018-04-24-08h20min09s (No such file or directory)
   |~~~~~~~~~~~~~~~~~~
I am not really sure what you mean with the channel and NF01 where do I need to change it? I searched in the .f file but could not find anything.

Thanks in advance.
Clemens
The administrator has disabled public write access.

Wave series as boundary condition 6 years 6 months ago #29807

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Hi Clemens,

You have to replace every "read(26,*)" by "READ(NFO1,*)" so as to read the FORMATTED FILE 1.

Regards,
Laurent
The administrator has disabled public write access.
The following user(s) said Thank You: Mustermann

Wave series as boundary condition 6 years 6 months ago #29808

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi Laurent,

Thanks a lot.
Did this but the error is still the same.
The folder the process is asking for exists, since it gets created with every run of the model.

Is there something else I need to take of?
Could you run the model with the first or the improved mesh?

Regards
Clemens
The administrator has disabled public write access.

Wave series as boundary condition 6 years 6 months ago #29809

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Your 2 meshes works fine for me. Here is your modified case.

File Attachment:

File Name: C_WAV_cor.zip
File Size: 879 KB


Laurent
The administrator has disabled public write access.
The following user(s) said Thank You: Mustermann, hani

Wave series as boundary condition 6 years 6 months ago #29815

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi Laurent,

thanks for the file it worked fine and I checked my files as well. There is actually no difference, BUT when I thought about it I had an idea.
I tested the files you sent at a different location with shorter path name, since this was the only difference I changed mine to a shorter path name as well and now it works fine.
Who could have thought that it could be such an easy problem.

Thank you very much again.

Regards
- Clemens
The administrator has disabled public write access.

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

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

I'm trying to use the fortran file posted by Laurent (post #29809) in my case. However, it is not working.

This is my error message


... partitioning base files (geo, conlim, sections, zones and weirs)
+> C:\opentelemac-mascaret\v8p2\builds\wing64mpi\bin\partel.exe < partel_WACGEO.par >> partel_WACGEO.log
STOP 0

... splitting / copying other input files

... checking the executable
> compiling objs
D:\PROPOSTAS-2021\MODELAGEM-DRAGAGEM-SSA\TELEMAC2D-2021\bts2d2021.cas_2021-05-12-15h52min05s\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-15h52min05s\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')
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 42, in run_local_cas
my_study.compile_exe()
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\study.py", line 326, in compile_exe
self.cfg, self.code_name)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\process.py", line 636, in process_executable
str(code)+').\n '+tail)
utils.exceptions.TelemacException: Could not compile your FORTRAN (runcode=1).


I think that this problem can be solved with some adjustment in fortran file, but I am not skilled with this language.

My telemac version is v8p2

I would be very grateful for any help

With best regards

Taoan
The administrator has disabled public write access.
Moderators: tfouquet

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