Welcome, Guest
Username: Password: Remember me

TOPIC: [trunk] Read scpectrum files (.spe)

[trunk] Read scpectrum files (.spe) 7 years 8 months ago #25363

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Thanks all of you for your quick finding and solving the issue!

By the way, is it possible to get 2D spectra results in the next version?

Best Regards
Huy
The administrator has disabled public write access.

[trunk] Read scpectrum files (.spe) 7 years 8 months ago #25366

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello Huy

I guess that what you want can be obtained by the keyword
GLOBAL RESULT FILE
FICHIER DES RESULTATS GLOBAUX in french.
With this file you obtain a spectrum in every point of the mesh.
That file can also be used to make a new computation see example Next_Comput

regards

Thierry
The administrator has disabled public write access.
The following user(s) said Thank You: huyquangtran

[trunk] Read scpectrum files (.spe) 7 years 8 months ago #25367

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Thanks Thierry, :P

Yes. it is one of parameters I one to see - "the wave
action density directional spectrum". ...

but as decribed it is a binary file, but not working with BK.

do you know how could I open this file? I mean to extract data from a point?

Best Regards
Huy
The administrator has disabled public write access.

[trunk] Read scpectrum files (.spe) 7 years 7 months ago #25877

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Hi,

I found that when I run TOMAWAC coupled with T3D model, if I specify:
PUNCTUAL RESULTS FILE
ABSCISSAE OF SPECTRUM PRINTOUT POINTS
ORDINATES OF SPECTRUM PRINTOUT POINTS

I get an error message "Program received signal SIGSEGV: Segmentation fault - invalid memory reference". If I don't select this keywords, it works fine.

Do you know why?

Thanks & Regards
Huy
The administrator has disabled public write access.

[trunk] Read scpectrum files (.spe) 7 years 7 months ago #25900

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Thank you Huy,

you found a "new" bug. Tomawac was forgetting which node he uses to record spectrum from a call to another by telemac3d.
The solution is to move the line
INTEGER NOLEO(99)
from wac.F to declarations_tomawac.f, it will save the variable.

I will put it in the trunk but i am running the validation before.

have a nice day

T.
The administrator has disabled public write access.
The following user(s) said Thank You: huyquangtran

[trunk] Read scpectrum files (.spe) 7 years 8 months ago #25365

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello Martin

No changed have been made to selafin format, spectrum are defined on quadrangle as it was in the past, i simply introduced a bug in writting spectrum when correcting problem #25223

best regards.

Thierry
The administrator has disabled public write access.
The following user(s) said Thank You: Serrer

[trunk] Read scpectrum files (.spe) 7 years 8 months ago #25374

  • Serrer
  • Serrer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 720
  • Thank you received: 304
OK, thanks Thierry.
Apologies for the wasted bandwidth.
The administrator has disabled public write access.

[trunk] Read scpectrum files (.spe) 6 years 4 months ago #30779

  • yasmina
  • yasmina's Avatar
Dear THIERRY,

I want to chain TOMAWAC and ARTEMIS, but a had actualy a problems, the simulation don't stop after an error but when i stop it i get this message:

02
FMIN , FMAX= 5.0000000745058060E-002 0.18987491726875305

ALARM
ROUTINE STWC : YOU ASK FOR A PERIOD/DIRECTION
OUT OF THE TOMAWAC SPECTRUM
INDD,INDF= 0 1 0.16030444444444444 182.790000000000
02

I think that it's related to the direction, but realy i was tried all the possibility and now i need your helps.

I attached the TOMAWAC steering file:

File Attachment:

File Name: tomawac_1_2018-07-02.cas
File Size: 4 KB


I attached also the ARTEMIS steering file:

File Attachment:

File Name: art_chwac_2018-07-02.cas
File Size: 4 KB


The spe file from tomawac:




spe.png


Hope that you can help me.

Best regards.
YASMINA
The administrator has disabled public write access.

[trunk] Read scpectrum files (.spe) 6 years 4 months ago #30781

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello Yasmina

The problem comes from Artemis, I am not used to artemis but i would say that since angles are discretized from 0 to 360 in tomawac, i would try to put
MINIMUM ANGLE OF PROPAGATION = 0
and
MAXIMUM ANGLE OF PROPAGATION = 360
in your artemis steering file.

hope it helps

Thierry
The administrator has disabled public write access.

[trunk] Read scpectrum files (.spe) 6 years 4 months ago #30782

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Yasmina.
Few quick pointers:
  1. In TOMAWAC you set FREQUENCE MINIMALE = 0.2Hz (Period 5s) but in ARTEMIS you set MAXIMUM SPECTRAL PERIOD = 20! This in not acceptable by ARTEMIS and would give an error. ARTEMIS max spectral period should be somewhat smaller than TOMAWAC's maximum.
  2. In TOMAWAC MAX FREQ is ~0.423Hz (Period 2.36s) and in ARTEMIS MINIMUM SPECTRAL PERIOD = 6. This would be acceptable by ARTEMIS because it is larger than the TOMAWAC minimum but it is not efficient.
  3. In ARTEMIS you set PEAK PERIOD = 2 but MINIMUM SPECTRAL PERIOD = 6! Peak period should be inclusive the discretisation interval
Correct the above and get back if you have more issues.
Costas
The administrator has disabled public write access.
Moderators: tfouquet

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