Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Impose Spectra example troubleshooting and MED format

Impose Spectra example troubleshooting and MED format 7 years 3 months ago #27455

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello all,

I have setup a model using the Impose Spectra functionality of the trunk version. I had created the spectrum file to impose using an older version of the trunk (rev9892 I think). When I updated to the latest trunk and recreated the spectrum file to impose, the following model failed to read from the boundary conditions from the spectrum file. Having kept the old spectrum file, I tried using it and it worked.

So I tried to troubleshoot the issue with the example impose_spectra but unfortunately, I can't read MED geometry files. :S Installing MED for Windows is not straightforward and does not justify the effort just for running an irrelevant (to MED) example. (I can't help it not trying to install it :silly: but it will take some time and the focus is on the Impose Spectra functionality).

I also tried to use convert.py to convert from SLF to MED but I am missing the MEDLoader module that it appears to be part of the SALOME platform.

So, I would like to ask if the MED file can be substituted by a SELAFIN one so that me and everyone else can troubleshoot this particular functionality without worrying about the exotic/rare MED format?

Best Regards,
Costas
The administrator has disabled public write access.

Impose Spectra example troubleshooting and MED format 7 years 3 months ago #27456

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Leaving the MED format aside, I confirm that in my case (I would like to test with impose_spectra example if it becomes possible) the spectrum file created with trunk rev9892 works but the one created with the latest trunk doesn't.

If the automatic validation doesn't run the "tom_oceanic.cas" before running "tom_coastal.cas", i.e. is using the old spectrum file, then validation would pass without actually encountering the error and everything would appear fine.

Can someone (with MED format installed on their system) check that example impose_spectra works? The test would be to re-create the spectrum (using the latest trunk) with "tom_oceanic.cas" and then check that "tom_coastal.cas" runs successfully.

Best Regards,
Costas
The administrator has disabled public write access.

Impose Spectra example troubleshooting and MED format 7 years 3 months ago #27457

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
...and adding the error log:

File Attachment:

File Name: tom_yfist_1_22.5_67.5_1_1.5_year1_init.log
File Size: 8 KB


Costas
The administrator has disabled public write access.

Impose Spectra example troubleshooting and MED format 7 years 3 months ago #27458

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

In fact we didn't realise when we made the example that med was not so easy to install, but for us it was easier to use salome to construct the meshes.
For that reason the 'automatic' validation for impose_spectra is not done on Jenkins (if you edit the xml you will realise that every thing is commented) as med is not installed on Jenkins, but the validation is working on our 'local' Jenkins and with the actual version of the trunk it worked this night and i just checked it on my computer.
I wanted to convert the med files to serafin but i postponed it, i will try to do it asap so that the validation is really working on Jenkins.

Best regards

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

Impose Spectra example troubleshooting and MED format 7 years 3 months ago #27459

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Thierry,

I need to check on my installation then and so far MED is proving a hard nut to crack. I guess I'll wait for the slf geometries.

Costas
The administrator has disabled public write access.

Impose Spectra example troubleshooting and MED format 7 years 3 months ago #27461

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

Here is a zip of the slf format files.

2 remarks :
- since i will be in vacations tonight, i do not dare to push the slf validation on the trunk, I will do it when i will be back.
- For a reason i haven't identified, the coastal case does not work in parallel something linked with the boundary conditions, probably a problem in the slf conversion as it works with med. But at least you can test it in sequential.

Best regards

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

Impose Spectra example troubleshooting and MED format 7 years 3 months ago #27462

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
and the xml file for validation.
Attachments:
The administrator has disabled public write access.

Impose Spectra example troubleshooting and MED format 7 years 3 months ago #27465

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Thierry,

Enjoy your holidays and thank you for looking into it even at the last minute.

I did not know STBTEL could ne used to convert between formats. However the converted SELAFIN files attached do not work in my installation. I opened then with BlueKenue and they do not contain a BOTTOM variable.

I have never used STBTEL but I could try to re-make them. On the other side, could 'convert.py' with MEDLoader from SALOME be used instead? Can anyone (who is NOT on holidays B)) with SALOME installed give it a try?

Best Regards,
Costas
The administrator has disabled public write access.

Impose Spectra example troubleshooting and MED format 7 years 3 months ago #27466

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

converter.py is calling stbtel.
What the MEDLoader adds is just a better handling of boundary informations.
This is weird that bottom is not in your mesh.
I'll try to have a look at it next week.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Impose Spectra example troubleshooting and MED format 7 years 3 months ago #27547

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Helo yugi,

I tried to do the conversion my self using STBTEL, but I got this expected error:
ERROR : TRYING TO READ MED FILE WITHOUT MED LIBRARY
So I guess I can't do anything without the MED library which I am having great trouble compiling in windows with mingw-w64.

Can you, (or anyone else with MED installed) do the conversion so that I can run the example?

Best Regards,
Costas
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: tfouquet

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