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/)
-   -   [DesignModeler] Import of 3D-curve from .txt (http://www.cfd-online.com/Forums/ansys-meshing/113097-import-3d-curve-txt.html)

Brathmann February 12, 2013 09:32

Import of 3D-curve from .txt
 
1 Attachment(s)
Helly everybody,

as a complete beginner do ANSYS (FLUENT) I try to follow a tutorial on an airfoil with ANSYS14.
To begin with the geometry of a NACA 7420 shall be imported as a 3D-curve from a .txt file (attached).
When I import this file I get a Reading Error and after generation the
"Error: Duplicate Coordinates found in Coordinates File
Context:Curve Feature Curve5
File:<path>
Line:61"

I cant see any duplicate coordinates which I figured to be coordinates of the same group and point number nor geometrically the same coordinates.
Line 61 is the line in wich the curve's coordinates are the origin.
If I change them slightly the Error still appears
If I delete them I then get the
"Error: Points in Coordinates File are outside valid range
Context: Geometry Engine, while generating Feature Curve5"

Since I could not find the definition of the "valid range" neither in the ANSYS help nor in other threads or by experimenting I hope for your help.

(If I missed to explain relevant aspects of the problem please ask for more information)

Thank you for thinking about it

jrunsten February 12, 2013 10:33

For a closed curve, the file should end like this:

1 115 0.993048943 -0.002014453 0
1 116 0.996641161 -0.002030757 0
1 117 0.998801745 -0.002041384 0
1 118 0.999522818 -0.002045067 0
1 0

Brathmann February 13, 2013 05:00

Thanks for the effort. Actually I had tried that and it won't do.
The
"Error: Points in Coordinates File are outside valid range
Context: Geometry Engine , while generating Feature Curve1
Eror: Empty selection
Context: Geometry Engine while generating Featrue Curve1"
still does appear.

Btw, I read somewhere that putting the point number to zero automatically stops DesignsModeler from reading the coordinates behind it. Also I tried different coordinate inputs from other tutorials (mostly for airfoils, so basically in the same range) and even the import example of the ANSYS help gives this error.

1 1 10.1234 15.4321 20.5678
1 2 15.2468 20.1357 25.1928
1 3 5.5555 6.6666 7.7777

2 1 100.0101 200.2021 15.1515
2 2 -12.3456 .8765 -.9876
2 3 11.1234 12.4321 13.5678
2 0

What DOES WORK is this, but it stops working when I add more decimal numbers

1 1 1 0 0
1 2 2.5 3.5 0
1 3 3.5 4.5 0
1 4 4.5 5.5 0
1 5 5.5 6.5 0
1 0 0 0 0

It doesn't seem a reasonable solution for importing coordinates to only use integers. Also, when i make the airfoil data all integers, it doesn't help.

Can anyone guess the deciding difference in the data?
Or might there be any setting in ANSYS which limites the importable data range? All my settings should be the default settings though.
Any ideas?

jrunsten February 13, 2013 05:26

Your original coordinate file works fine on my machine. Try switching your dots for commas (,) and see if that helps. Perhaps some language setting somewhere is ignoring your dots, making the dimensions huge.

Brathmann February 13, 2013 06:09

Solution: Import of 3D-Curve from .txt
 
Frickin genious!

Originally installed was the german version of ANSYS and I only switched the Language Settings to English. So actually the program expects kommata to indicate decimals and the dotted number got too big.
And I thought beein smart paying attention to keep the data with dots.

Thank you Joseph!
I know have a beautyful airfoil profile.
Enjoy your day

arshiya4 March 29, 2013 17:24

3D curve text file import
 
1 Attachment(s)
Hi,

I am having a hard time importing my airfoil data into design modeler! I follow the airfoil tutorial of workbench closely to generate my text file. I attached the file below. I am using the 3D curve However, I get the following error:

Error reading coordinates file
Context: curve feature curve1
File:/home/ahc9/workbench/naca63815_1.txt
Line:6

If I only import the first 94 points, design modeler plots it nicely however as soon as I have more than 94 points it gives me the above error!!!!

In settings, minimum number of points is set to 2000! Also, language is English( changing to commas didn't help)

I'd really appreciate any help.

Thank you

Arshiya

Hybrid March 30, 2013 03:52

2 Attachment(s)
Your text file is inconsistent, i figured it out and attached the modified file.

First use excel that how these data points look like, arrange the data in columns and then export the file as text(tab delimited)*.txt.

enjoy!

arshiya4 April 1, 2013 18:40

Thank you :)
 
Thank you so much Ali. It worked! I redid this in excel to make sure it works and it did.



Quote:

Originally Posted by Hybrid (Post 417286)
Your text file is inconsistent, i figured it out and attached the modified file.

First use excel that how these data points look like, arrange the data in columns and then export the file as text(tab delimited)*.txt.

enjoy!


Belmar April 2, 2013 06:43

1 Attachment(s)
Hi,
I'm new in Fluent and I have a problem with the coordinates of an airfoil NACA 2412. When I import the coordinates it shows an error message that the coordinates couldn't been read. I've put commas and the error continues. Can anybody help me, please? Sorry for my English
Thank you very much

jrunsten April 2, 2013 07:45

You have selfintersecting curves:

http://i.imgur.com/DfKEOSF.png

I think you need to separate them in order to import the coordinates. Also, check you "Point Feature Limit" in Tools>Options>Miscellaneous. Perhaps your default is too small

Belmar April 2, 2013 12:17

Hi,
thanks for respond. I don't know what so you mean with intersecting curves as I look the coordinates and I don't see any point at X axis or the line at X=1. I hace changed the point feature limit as it was set at 2000 points and I had 2001! Anyway the error continues. Have I to exclude some coordinates)
Thanks!

Hybrid April 2, 2013 12:54

take ur coordinate file to the excel, and put the data into columns.
then save file as text(tab delimited file). it will surve the purpose.

dnt put commas, only decimal point. ok

jrunsten April 3, 2013 02:36

Quote:

Originally Posted by Belmar (Post 417888)
Hi,
thanks for respond. I don't know what so you mean with intersecting curves as I look the coordinates and I don't see any point at X axis or the line at X=1. I hace changed the point feature limit as it was set at 2000 points and I had 2001! Anyway the error continues. Have I to exclude some coordinates)
Thanks!

Then explain to me points 12-14 and 1979-1999, as well as 987-1003

Open the series in excel/matlab/whatever and plot it. You'll see the points

Belmar April 3, 2013 09:20

1 Attachment(s)
Quote:

Originally Posted by jrunsten (Post 417988)
Then explain to me points 12-14 and 1979-1999, as well as 987-1003

Open the series in excel/matlab/whatever and plot it. You'll see the points

You're right, when I put the coordinates in Excel I did something with the decimals and that made that for example 0,000095 converted into 0,95. This ocurred in some coordinates but now is all clear and I've been able to import the coordinates succesfully.
Thank you very much! :D

PS: I upload the coorect coordinetes for the NACA2412 for someone who could need them.

jrunsten April 3, 2013 09:22

:) nice work

shravansudden September 27, 2014 10:23

Quote:

Originally Posted by Hybrid (Post 417286)
Your text file is inconsistent, i figured it out and attached the modified file.

First use excel that how these data points look like, arrange the data in columns and then export the file as text(tab delimited)*.txt.

enjoy!

Sir, it displays the following message.
Error: Duplicate Coordinates found in Coordinates File

guttasandeep22 October 27, 2014 13:07

I had imported coordinates into DesignModel, only points are importing
 
only points are importing, but i need curve also, how to import both point and curve... Can any one plz tell me

and also plz tell me that how to verify the Lift & Drag force values of NACA0012 or any coordinate, i had found lift and drag forces but how to knw it is correct,, how to verfy these values.....Can any one plzzzzzzzzzzzzz suggest

fina November 5, 2014 04:20

I am new in ansys cfx, I try to import point into geometry and then make a 3d curve. but, the problem i face is the point come out cannot snap when i try to draw a line or trim. :eek::eek::eek:

tolgakaraca February 12, 2015 12:48

points name
 
I've created points. How do I see the name of the points? please help...


All times are GMT -4. The time now is 20:30.