Welcome, Guest
Username: Password: Remember me

TOPIC: coupling TELEMAC3D-TOMAWAC

coupling TELEMAC3D-TOMAWAC 6 years 8 months ago #29146

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 294
  • Thank you received: 112
and you might need the function global_to_local_point that you will find in
./utils/bief/global_to_local_point.f
The administrator has disabled public write access.
The following user(s) said Thank You: pablo123

coupling TELEMAC3D-TOMAWAC 6 years 8 months ago #29147

  • pablo123
  • pablo123's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 36
Is this example in V7p2?
The administrator has disabled public write access.

coupling TELEMAC3D-TOMAWAC 6 years 8 months ago #29154

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Yes, in
examples/sisyphe/littoral/
t2d_littoral.f for an example of use of knolg (in subroutine bord)
tom_littoral.f for an example of use of global_to_local (subroutine bord_wac, can be included in limwac)

By the way, in your wacfort.f, I think your corfon subroutine is never called. You might replace it by tom_corfon.f (respectively t3d_corfon.f for T3D), it can avoid conflicts.
In limwac.f, be careful with the hardcoded unit channel, especially in coupling mode. Your HM03, FPIC3, DIRPICRAD3 arrays are not used to build your spectra in speini.

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

coupling TELEMAC3D-TOMAWAC 6 years 8 months ago #29178

  • pablo123
  • pablo123's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 36
Hi!
I was able to solve it by doing it differently. Attached is the fortran file of the ANAVEN subroutine in parallel.
Thank you for your help.

File Attachment:

File Name: tomawac_wind.f
File Size: 6 KB
The administrator has disabled public write access.

coupling TELEMAC3D-TOMAWAC 6 years 8 months ago #29179

  • pablo123
  • pablo123's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 36
I also changed the organization of the wind data. Attachment
The administrator has disabled public write access.

coupling TELEMAC3D-TOMAWAC 1 year 5 months ago #42757

Hi everybody,
I tried to run a simulation coupling T3DXTOM2D, it's worked before with my version v8p0r0, but now with the new version v8p4r0, I obtain this error :
***********************************************
 add_receiver: TEL2TOM                    1
 ***********************************************

 ERROR: COUPLE_MOD NO COUPLING INFO FOR TEL2TOM

 PLANTE: PROGRAM STOPPED AFTER AN ERROR
 RETURNING EXIT CODE:            2
job aborted:
[ranks] message

[0] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 2, comm rank 0

---- error analysis -----

[0] on MATHIEU
D:\ProgMod\TELEMAC\LANCEMENTS\EMBRUNS\BATHY-REELLE\T3DXTOM\ASYM\t3d_littoral_same.cas_2023-06-07-09h13min13s\out_telemac3d.exe aborted the job. abort code 2

---- error analysis -----
Traceback (most recent call last):
  File "C:\telemac\v8p4r0\scripts\python3\telemac3d.py", line 7, in <module>
    main('telemac3d')
  File "C:\telemac\v8p4r0\scripts\python3\runcode.py", line 288, in main
    run_study(cas_file, code_name, options)
  File "C:\telemac\v8p4r0\scripts\python3\execution\run_cas.py", line 169, in run_study
    run_local_cas(my_study, options)
  File "C:\telemac\v8p4r0\scripts\python3\execution\run_cas.py", line 65, in run_local_cas
    my_study.run(options)
  File "C:\telemac\v8p4r0\scripts\python3\execution\study.py", line 644, in run
    self.run_local()
  File "C:\telemac\v8p4r0\scripts\python3\execution\study.py", line 465, in run_local
    run_code(self.run_cmd, self.sortie_file)
  File "C:\telemac\v8p4r0\scripts\python3\execution\run.py", line 182, in run_code
    raise TelemacException('Fail to run\n'+exe)
utils.exceptions.TelemacException: Fail to run
mpiexec -n 1 D:\ProgMod\TELEMAC\LANCEMENTS\EMBRUNS\BATHY-REELLE\T3DXTOM\ASYM\t3d_littoral_same.cas_2023-06-07-09h13min13s\out_telemac3d.exe

When I run t3d_littoral_same.cas in example it's working
I put in attached file my files
Do you know how to resolve this ?
Thank you in advance
M.
Attachments:
The administrator has disabled public write access.

coupling TELEMAC3D-TOMAWAC 1 year 5 months ago #42758

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Why did you use the coupling method TOMAWAC2 instead of TOMAWAC?
You've got only one mesh and it seems to me that method 2 had been added to couple TEL and TOM with different mesh (which require an extra preliminary step to compute the weights of the interpolation between the 2 meshes

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: MathieuSoulayrol

coupling TELEMAC3D-TOMAWAC 1 year 5 months ago #42759

When I run tomawac only it's working
The administrator has disabled public write access.

coupling TELEMAC3D-TOMAWAC 1 year 5 months ago #42760

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Sounds logical...
in your T3D steering file you have COUPLING WITH = 'TOMAWAC2'
Try with COUPLING WITH = 'TOMAWAC'
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: MathieuSoulayrol

coupling TELEMAC3D-TOMAWAC 1 year 5 months ago #42761

It does work from now on, sometimes a simple number can change everything ... thank you very much Mr Coulet
The administrator has disabled public write access.
Moderators: pham

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