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

TOPIC: BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files

BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files 5 years 5 months ago #33606

  • javirg
  • javirg's Avatar
When trying to import Triangle mesh files (both .node and .ele), the program crashes and auto-closes with no error messages shown.

Here are the mesh files:

35.203.86.76/haringvliet.tar.gz

I've checked the mesh with Matlab and everything looks fine:
The administrator has disabled public write access.

BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files 5 years 5 months ago #33634

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
Sorry for slow response; was out of the office

I have downloaded your files and will investigate why this is happening. Thank you for your patience AND thank you for taking the time to report this issue in a clear and succinct way... very much appreciated on my side

Kindly,
Alan
The administrator has disabled public write access.

BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files 5 years 5 months ago #33635

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
I have fixed the crash; sorry for the inconvenience

Here is a screen snapshot showing your data. Since there is no *.bot file all elevations will be 0 and hence the colour scale will only have 1 level.

2019-05-30_fix-for-triangles-crashing-BK.png


Kindly,
Alan

PS This fix will make its way into the next alpha of Blue Kenue after 2019-05-30
The administrator has disabled public write access.
The following user(s) said Thank You: kanak31, javirg

BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files 5 years 5 months ago #33705

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
I have put BK 3.11.8-alpha onto CHyMS... please let me know if it works for you

Kindly,
Alan
The administrator has disabled public write access.

BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files 5 years 5 months ago #33707

  • javirg
  • javirg's Avatar
Hi Alan,

Yes, it's working, but I think it's not properly reading the elevation data.



Expected output:





Actual output:







Here you can download the .node, .ele and .bot files:
drop.me/ojLOkv
The administrator has disabled public write access.

BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files 5 years 5 months ago #33711

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
I'm having trouble connecting to your "drop.me" site from work.

Can you create something small and attach here?
The administrator has disabled public write access.

BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files 5 years 5 months ago #33712

  • javirg
  • javirg's Avatar
The administrator has disabled public write access.

BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files 5 years 5 months ago #33720

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
The *.bot file has lines of differing number of values

-99.00000 -99.00000 -99.00000 -99.00000 -99.00000
-99.00000 -99.00000 -99.00000 -99.00000 -99.00000
-99.00000 -99.00000 -99.00000 -99.00000 -99.00000
-99.00000 -99.00000 -99.00000
22.70000 23.00000 22.90000 22.90000 22.60000
21.30000 20.30000 18.80000 16.90000 15.40000
13.40000 12.00000 11.00000 11.50000 11.50000

Do you have a specification of this file I can read?
The administrator has disabled public write access.

BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files 5 years 5 months ago #33724

  • Serrer
  • Serrer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 720
  • Thank you received: 304
Alan,

You're on the right track.
The .BOT file should only contain a single column of elevation values.

Martin
The administrator has disabled public write access.

BK 3.11.7 crashes when opening Triangle (.node, .ele, .bot) files 5 years 5 months ago #33726

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
I have added a prompt to ask for the missing data value (if needed); and I am defaulting to -99 as that value seems to be used in your case.

Here is a screen snapshot of all of the elements working for me. I suspect that if there are extra values in your file (as Martin points out) then those will be ignored... leading to an unexpected result.

2019-06-10_BK_elevation-data.png


This change will be included in the next release of Blue Kenue (after 2019-06-10)

Kindly,
Alan
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: Serrer, a.barton

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