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

TOPIC: Using Surface Water Modeling System?

Using Surface Water Modeling System? 14 years 1 week ago #880

  • Semias
  • Semias's Avatar
Good evening everybody,

I want to use the Surface Water Modeling System (SMS) for preprocessing. Is it possible to convert the Mesh-file (*.2dm) from SMS into a useable telemac geo/meshfile? And if it´s possible can you explain how to do it?

All the best

Semias
The administrator has disabled public write access.

Re:Using Surface Water Modeling System? 14 years 1 week ago #881

  • jmhervouet
  • jmhervouet's Avatar
Hello,

There is no converter yet (the Fudaa interface understands a number of file standards but not this one). If we can have the description of the file format *.2dm we can have it done, because SMS is probably widely used and this would be useful for a number of people. The file standard for geometry and results in the Telemac system is called "serafin" or "selafin" (binary big_endian) and it is described in an annex of the "guide for programming in the Telemac system", available for download on this site.

With best regards,

Jean-Michel
The administrator has disabled public write access.

Re:Using Surface Water Modeling System? 14 years 1 week ago #885

  • fezai
  • fezai's Avatar
Hi,
The question asked by Semias is interesting for me too, but I would like to ask it differently :

Can Fudaa Interface read an ASCII file corresponding to a mesh?

In this case I will try to develop a converter making it possible to use SMS as a preprocessor.

Kind regards,
Fezai
The administrator has disabled public write access.

Re:Using Surface Water Modeling System? 14 years 1 week ago #887

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Trigrid file format is an ASCII format with 2 différents files. one for the nodes and one for the triangles.
I think you could find a description on the web.
Regards
Christophe
The administrator has disabled public write access.

Re:Using Surface Water Modeling System? 14 years 1 week ago #889

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Actually the only ASCII file format for geometry that can be read by Fudaa is the universal file format *.unv that is used e.g. by the mesh generator Ideas Supertab.

regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Re:Using Surface Water Modeling System? 14 years 1 week ago #891

  • sebourban
  • sebourban's Avatar
  • NOW ONLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

To add a bit more confusion, the graphical user interface Blue Kenue (see recommended tools on this website) can read a few more file formats, including the ASCII Trigrid file, and save these all into a SERAFIN file format.

However, if you are able to read SMS and write your won converter, you should have no difficulties writing a binary SERAFIN instead of your ASCII. As Jean-Michel said, the SERAFIN format is well-explained in the manuals. In any case, we can help you there.

Could you provide us with a Fortarn program that can read SMS files ?

Fianlly, you should note that TELEMAC only deals with meshes of triangles (in 2D). It does not support mesh with mixtures or based on square elements.

Hope this helps,
Sébastien.
The administrator has disabled public write access.

Re:Using Surface Water Modeling System? 14 years 1 week ago #893

  • Serrer
  • Serrer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 720
  • Thank you received: 304
The 2dm file format appears to be a variant of the old geo file format used by RMA and other models.
We do have a geo file importer implemented inside EnSimCore but didn't expose it to the world.

If this is a common requirement I can quite easily provide support for these formats.

There is a complication in that both the geo and 2dm formats support a mixture of triangular and quad elements (and others in the case of 2dm)
I suppose the solution when saving to a slf file would be to cut the quad elements in half.

Another issue to note is that these formats also support non-linear elements.

Martin
The administrator has disabled public write access.

Re:Using Surface Water Modeling System? 14 years 1 week ago #894

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

I just quickly implemented support for 2dm files in BlueKenue but only for E3T and E4Q elements.
(The E4Q quad elements are sliced in half)
Contact me offline at This email address is being protected from spambots. You need JavaScript enabled to view it. and I can make this "test" version available to you.

Cheers... Martin
The administrator has disabled public write access.

Re:Using Surface Water Modeling System? 14 years 1 week ago #896

  • fezai
  • fezai's Avatar
Hi,

Either *.2dm files or *.geo files give complete information about the mesh in SMS.

Moreover, these files are by default written in an ASCII format containing mainly a connection table and a node information table (id, x, y, z).

As I could undrestand, your question might be about giving you a complete description about the mesh file (*.2dm or *.geo).

In fact, writing a code to extract information about the mesh doesn't matter in this case.

In anyway, I will be working on this issue during the few coming days and I will let know if we have reliable results.

Regards,

Fezai
The administrator has disabled public write access.

Re:Using Surface Water Modeling System? 14 years 1 week ago #895

  • Semias
  • Semias's Avatar
Good evening!

Thanks for the great responses. I am a little busy these days but I will upload an example of the *.2dm file, a screenshot and a short description next week.

Best wishes
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.