Welcome, Guest
Username: Password: Remember me

TOPIC: What is exactly the density referred to in *.t3s files

What is exactly the density referred to in *.t3s files 9 years 9 months ago #15632

  • Watermotion.eu
  • Watermotion.eu's Avatar
Hi all. I am trying to create a mesh file (ts3) out of the tool as I would like to have control on certain mesh properties that automatism does not maintain.

In the file header I read
:AttributeName 1 NodeType
:AttributeType 1 oneof  "Interior=0" "OutLine=1" "SubMesh=2" "HardPoint=3" "HardLine=4" "HardIsland=5" "SoftLine=6" "SoftIsland=7"
:AttributeName 2 Density

I guess this referes to the columns below which look like
0.000000 0.000000 1 63
0.000000 72.000000 1 63
0.000000 135.000000 1 63
...

which I interpret as coordinate X, coordinate Y, the AttributeType 1 (as of the header). Then, the last column seems bound to be the ':AttributeName 2 Density'. This is the same for all rows of that kind, and is equal to the 'default edge length' that I set in GUI. Hence the following questions:
  1. What is the Density referred to in the header?
  2. How is this related to the default edge length?
  3. What is the default edge length? Default for which operations?
  4. Can someone point me in the direction of the Blue Kenue manuals?

Thanks in advance for helping me out
Giordano Lipari
The administrator has disabled public write access.

What is exactly the density referred to in *.t3s files 9 years 9 months ago #15634

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Martin will probably answer you on the specific point of density.
Nevertheless, it seems to me that the 4th value is the density which could be map on the mesh if you want to look at this particular point.
The value is probably compute by BK during the mesh process as it could vary in space if you use density criterion.
The default value as the name indicate is the value use if no other value is found in the density layer of the mesh generator.
BK manuals are available in the BK software.

By the way it seems to me this is a very strange idea to create a mesh file at the T3S format out of the tool. The Telemac mesh file format is the Selafin format. So it would be simpler to directly generate a Selafin file.

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Watermotion.eu

What is exactly the density referred to in *.t3s files 9 years 9 months ago #15653

  • Watermotion.eu
  • Watermotion.eu's Avatar
Thanks for the information. I just created my desired grid and computed the connectivity information with a Python script, then fed the results into t3s file. That worked out well for this one circumstance. For more complex applications it would be certainly useful to devote more time to explore the full potential of BK.
The administrator has disabled public write access.

What is exactly the density referred to in *.t3s files 9 years 9 months ago #15657

  • Serrer
  • Serrer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 720
  • Thank you received: 304
The node connectivity is found in the second section of the t3s file. (see Appendix A pages 166-167)
Why do feel it necessary to calculate the connectivity yourself?
The administrator has disabled public write access.

What is exactly the density referred to in *.t3s files 9 years 9 months ago #15656

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

Could you be more specific in what mesh properties you are trying to control?

The density values are the edge length values interpolated from the virtual surface "Density" by the node placement algorithm. (NOTE: these values are not adjusted by the laplacian smoothing) Density and Edge Length are interchangeable terms in the context of the BlueKenue mesher.
(The nomenclature should have been rationalized long ago but it wasn't so now I have to live with it) :-(

The "default edge length" is the value used in placing nodes in areas not covered by the Density object.

Please refer to section 2.2.3 in the Blue Kenue reference manual (pg. 138)
"Help->Reference Manual"

Hope this helps... 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.