CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ANSYS Meshing & Geometry

[DesignModeler] Surface generation through scripting

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 15, 2016, 05:43
Default Surface generation through scripting
  #1
New Member
 
Giorgio
Join Date: Jun 2016
Posts: 1
Rep Power: 0
Faggio11 is on a distinguished road
Dear all,

I am totally new with DM scripting language.

I managed to load the points from a .txt file without any problems and I was also able to connect these points, although the programme takes ages to accomplish the task. These points connected create a network of triangles.

So in other words the txt file looks like:

Group ID x y z
1 1
1 2
1 3

2 1
2 2
2 3
......

My next step was to create surfaces from the edges I determined above. I wrote a script but it only works for isolated triangles. For instance, if two triangles of two different groups share one vertex or one edge then the surfaces are not created.

Can anybody help me with that?
In addition I have uploaded a txt file of my script and another one with some example coordinates. If you need more detailed information, please let me know.

Thank you!
Attached Files
File Type: txt try fake txt.txt (1.1 KB, 2 views)
File Type: txt coordinates_fake.txt (265 Bytes, 1 views)
Faggio11 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Fixing tetra Surface Orientations after prism generation siw ANSYS Meshing & Geometry 14 December 1, 2015 16:54
Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan Open Source Meshers: Gmsh, Netgen, CGNS, ... 3 October 22, 2015 11:05
Calculating forces on a non-closed surface ScottN FLUENT 0 March 1, 2011 18:18
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23
Free surface wave pattern generation sam FLUENT 1 January 2, 2004 17:12


All times are GMT -4. The time now is 19:09.