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

TOPIC: Element type Error with validation cases

Element type Error with validation cases 11 years 3 months ago #6969

  • Cfd
  • Cfd 's Avatar
I try the file you mentionned with no luck. The error is now :
Error reading case title

This error occurs with the result and the reference selafin file.
The administrator has disabled public write access.

Element type Error with validation cases 11 years 3 months ago #6970

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3632
  • Thank you received: 1010
Yes you're right
I just looked for the date management and I missed the difference on the file format.
So you should make a difference between sel2vtk.f90 and sel2vtk_new.f90 and just add the part dealing with the date in the selafin file to sel2vtk.f90.

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Cfd

Element type Error with validation cases 11 years 3 months ago #6971

  • Cfd
  • Cfd 's Avatar
The last advice solved my issue. :cheer:
Thanks a lot for taking the time to help me.
The administrator has disabled public write access.

Element type Error with validation cases 10 years 2 weeks ago #12750

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 582
  • Thank you received: 105
Hi!

I am testing paraview. I first use the sel2vtk.f90 code provided with the 6.3.2 telemac release and i did successfully convert a result file based from an unstructured triangular mesh built with Blue Kenue.

But I got exactely the same problem reported by Cfd when trying to convert a result file based on a mesh build with the "channel mesher" in Blue Kenue. This format might add date information...

I did modify the sel2vtk.f90 code as suggested by Christophe and it worked!

Maybe this modification can be added in a next release?

Best regards,
PL
The administrator has disabled public write access.

Element type Error with validation cases 8 years 7 months ago #18459

  • Watermotion.eu
  • Watermotion.eu's Avatar
Same experience as pilou1253 here.

As of version v6p3r2 the buggy source file sel2vtk.f90 is still in the distribution folder and, moreover, the bash script script.gfortran.sh keeps on compiling and building it, leading to granted disappointment.

For those who happen to need this thread at some point, I have enclosed a script.gfortran_new.sh that manipulates the source sel2vtk_new.f90 instead. Please double check. In my case the executable manages to produce vtk files.

NB I did not merge the two f90 files, which is a point of user pilou1253. Please refer to that post for specifics.

Not aware (yet) if this has been sorted in the subsequent release of Telemac. In that case, the revised script might still be useful for laggards.
The administrator has disabled public write access.

Element type Error with validation cases 8 years 7 months ago #18460

  • Watermotion.eu
  • Watermotion.eu's Avatar
I can't seem to be able to attach that batch script successfully.
I hope this makes it up for the readers. Its content is rather obvious.
Happy to be corrected.

rm sel2vtk_gfortran sel2vtk_gfortran_new *.o
gfortran -c -fconvert=big-endian sel2vtk_new.f90
gfortran -o sel2vtk_gfortran_new sel2vtk_new.o
The administrator has disabled public write access.

Element type Error with validation cases 8 years 7 months ago #18498

  • Watermotion.eu
  • Watermotion.eu's Avatar
In full disclosure, the attachment is the resulting executable. Shared "as is". It is under investigation since it doesn't seem to work well anyway

File Attachment:

File Name: sel2vtk_gfortran_new.zip
File Size: 18 KB
The administrator has disabled public write access.

Element type Error with validation cases 8 years 7 months ago #18500

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 408
  • Thank you received: 143
Hello,

try to compile this fortran file. It should work.
It is modified exactly as Christophe explained by copying the part from sel2vtk_new.f dealing with the date to the sel2vtk.f.

Regarding the stbtel utility:
In the systel configuration file add the flag -DHAVE_VTK to the complier instructions for building the objects, e.g.:
cmd_obj: gfortran-4.8 -c -O3 -DHAVE_VTK -fconvert=big-endian -frecord-marker=4 ...
Telemac has the option to recompile only a certain module like stbtel, see the wiki at this website. However the compilation of the whole system takes about 10 minutes.

Clemens




Clemens
The administrator has disabled public write access.

Element type Error with validation cases 8 years 7 months ago #18501

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 408
  • Thank you received: 143
Adding the file
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: Watermotion.eu

Element type Error with validation cases 8 years 7 months ago #18504

  • Watermotion.eu
  • Watermotion.eu's Avatar
Thanks! This is sorted.

malpasset.png


I had not merged the two files sel2vtk.f90 and sel2vtk_new.f90 because I did experience the the first but not the second error that user Cfd bumped in. sel2vtk_new was the solution to the first bug, while merging the two seemed to be the solution to the second issue only. In hindsight, neither of them was fully correct.

In the attached file I have zipped the source code that Clemens aka Konsonaut has edited (thanks for bothering), the executable for Linux and the script used to compile and build it. I only took care of naming these as *_merged to distinguish them from the buggy parents.

File Attachment:

File Name: sel2vtk_merged.zip
File Size: 24 KB


Hope this helps future users of sel2vtk.

Giordano
The administrator has disabled public write access.
  • Page:
  • 1
  • 2

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