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

[DesignModeler] Surface generation through scripting

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2016, 05:43
Default Surface generation through scripting
  #1
New Member
 
Giorgio
Join Date: Jun 2016
Posts: 12
Rep Power: 9
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, 5 views)
File Type: txt coordinates_fake.txt (265 Bytes, 4 views)
Faggio11 is offline   Reply With Quote

Reply


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 Off
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 15:54
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 11:05
Calculating forces on a non-closed surface ScottN FLUENT 0 March 1, 2011 17:18
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 03:23
Free surface wave pattern generation sam FLUENT 1 January 2, 2004 16:12


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