CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (http://www.cfd-online.com/Forums/ansys-meshing/)
-   -   Importing Points in Design Modeler (http://www.cfd-online.com/Forums/ansys-meshing/77414-importing-points-design-modeler.html)

danh June 22, 2010 13:49

Importing Points in Design Modeler
 
Hello,

Does anyoane knows how to import several points in Design Modeler?

For example i have 50 points that are describing a spline curve(i have = i have the 3d coordinates - x,y,z) and i want to import them to Design Modeler and there i want to create a spline curve.
Can Design Modeler import "point files" or do i have to make a script? If this thing works only with a script does anyoane have an example of such a script?

Thanks in advance,
DH

rima November 9, 2010 13:50

I am relatively new to DesignModeler and have the same question you had. Did you figure it out or do you have any advice?

Thanks!

danh November 10, 2010 10:47

You can find here:
http://www.cfd-online.com/Forums/cfx...ler-ansys.html

I will paste-it for you anyway:

#------------------------------------------------------------
# List of Point Coordinates
# Format is: integer Group, integer ID, X, Y, Z
# all delimited by spaces, with nothing after the Z value.
# Group 1
1 1 20.1234 25.4321 30.5678
1 2 25.2468 30.1357 35.1928
1 3 15.5555 16.6666 17.7777
#Group 2
2 1 50.0101 100.2021 7.1515
2 2 -22.3456 .8765 -.9876
2 3 21.1234 22.4321 23.5678
#------------------------------------------------------------

make a text file with above format, then to import into design modeller,goto [Create] menu -> Point
and select the file you've just created.

good luck

rima November 10, 2010 13:14

Thanks for getting back, it worked great with my MATLAB code.

oewnce932c September 26, 2013 14:54

thanks!
have used this for my tutorial with naca wing

umairrasheed99 March 30, 2015 10:45

1 Attachment(s)
sir i am new here. kindly help me. actually i import points in design modeler and now am doing / making spline from these points but at end points are not meet each other and get like that:

how to eliminate this


All times are GMT -4. The time now is 21:49.