Welcome, Guest
Username: Password: Remember me

TOPIC: Convert vtk mesh file to selafin file

Convert vtk mesh file to selafin file 2 weeks 1 day ago #46695

  • maeline
  • maeline's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hello, I have a .vtk file that contains a mesh with x, y, z data. This file is created via a python code. I would like to convert it into a selafin file (binary) using python code and not using BlueKenue. Does anyone have a solution?
The administrator has disabled public write access.

Convert vtk mesh file to selafin file 2 weeks 5 hours ago #46696

  • Norsazz
  • Norsazz's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 35
  • Thank you received: 11
Hi,

You can use the Python from TELEMAC (scripts/python3/data_manip) or PyTelTools.

You can create a slf from scratch since you have your own data.

Bests regards,
Pierre N
The administrator has disabled public write access.
The following user(s) said Thank You: maeline

Convert vtk mesh file to selafin file 5 days 6 hours ago #46713

  • tomsail
  • tomsail's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 46
  • Thank you received: 19
see also:
github.com/oceanmodeling/xarray-selafin/...selafin-from-scratch

using only:
* xarray
* xarray-selafin

libraries
The administrator has disabled public write access.
The following user(s) said Thank You: maeline
Moderators: pham

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