Welcome, Guest
Username: Password: Remember me

TOPIC: Extracting xy coordinates of boundary pts

Extracting xy coordinates of boundary pts 9 years 6 months ago #16864

  • tIDAL
  • tIDAL's Avatar
I have extracted the node numbers of boundary nodes in BK. Is there a way I can extract the xy coordinates of the same boundary nodes in BK or otherwise.

Thanks in advance
The administrator has disabled public write access.

Extracting xy coordinates of boundary pts 9 years 6 months ago #16867

  • Lux
  • Lux's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 39
In BlueKenue, you can obtain node coordinates in extracting polylines of the mesh boundaries with
Tools > T3 Mesh > Extract Edges (Shorelines).
Then you can save it as an xyz or i2s files for example (be careful it contains all the boundary segments, including the islands).

If you need to have both nodes and coordinates, I would write a short script to extract them.

Hope it helps,
Luc
The administrator has disabled public write access.

Extracting xy coordinates of boundary pts 9 years 6 months ago #16869

  • tIDAL
  • tIDAL's Avatar
Thanks for the reply. I need the corresponding node numbers also along with the xy coordinates for all the boundary points.
The administrator has disabled public write access.

Extracting xy coordinates of boundary pts 9 years 6 months ago #17033

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

Saving the mesh as a "Trigrid Neigh File" will give you the desired info.

The columns in the file are defined as follows:

1. node number
2. X
3. Y
4. Code (0=interior,1=outside edge,2=island)
5. elevation
6... neighbouring node ids

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

Extracting xy coordinates of boundary pts 9 years 5 months ago #17049

  • vknook
  • vknook's Avatar
Hmm, found a solution already?
I'm facing the same problem. The ngh file is close, but doesn't include the boundary number. Could use this to extract the combination, but maybe you've found an easier option?
The administrator has disabled public write access.

Extracting xy coordinates of boundary pts 9 years 5 months ago #17054

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

In that case you could do a table join on the contents of the ngh and conlim files.

Martin
The administrator has disabled public write access.
Moderators: Serrer, a.barton

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