|
[Sponsors] |
February 12, 2013, 09:32 |
Import of 3D-curve from .txt
|
#1 |
New Member
B.Rathmann
Join Date: Feb 2013
Location: Germany
Posts: 7
Rep Power: 13 |
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 Last edited by Brathmann; February 13, 2013 at 09:32. Reason: Problem solved |
|
February 12, 2013, 10:33 |
|
#2 |
Senior Member
|
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 |
|
February 13, 2013, 05:00 |
|
#3 |
New Member
B.Rathmann
Join Date: Feb 2013
Location: Germany
Posts: 7
Rep Power: 13 |
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? |
|
February 13, 2013, 05:26 |
|
#4 |
Senior Member
|
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.
|
|
February 13, 2013, 06:09 |
Solution: Import of 3D-Curve from .txt
|
#5 |
New Member
B.Rathmann
Join Date: Feb 2013
Location: Germany
Posts: 7
Rep Power: 13 |
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 |
|
March 29, 2013, 17:24 |
3D curve text file import
|
#6 |
New Member
Arshiya Hoseyni Chime
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
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 |
|
March 30, 2013, 03:52 |
|
#7 |
Senior Member
Ali
Join Date: Jan 2012
Location: Pakistan
Posts: 134
Rep Power: 16 |
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!
__________________
Best Regards Ali |
|
April 1, 2013, 19:40 |
Thank you :)
|
#8 |
New Member
Arshiya Hoseyni Chime
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
Thank you so much Ali. It worked! I redid this in excel to make sure it works and it did.
|
|
April 2, 2013, 07:43 |
|
#9 |
New Member
Mario Belmar
Join Date: Apr 2013
Posts: 4
Rep Power: 13 |
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 |
|
April 2, 2013, 08:45 |
|
#10 |
Senior Member
|
You have selfintersecting curves:
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 |
|
April 2, 2013, 13:17 |
|
#11 |
New Member
Mario Belmar
Join Date: Apr 2013
Posts: 4
Rep Power: 13 |
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! |
|
April 2, 2013, 13:54 |
|
#12 |
Senior Member
Ali
Join Date: Jan 2012
Location: Pakistan
Posts: 134
Rep Power: 16 |
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
__________________
Best Regards Ali |
|
April 3, 2013, 03:36 |
|
#13 | |
Senior Member
|
Quote:
Open the series in excel/matlab/whatever and plot it. You'll see the points |
||
April 3, 2013, 10:20 |
|
#14 | |
New Member
Mario Belmar
Join Date: Apr 2013
Posts: 4
Rep Power: 13 |
Quote:
Thank you very much! PS: I upload the coorect coordinetes for the NACA2412 for someone who could need them. |
||
April 3, 2013, 10:22 |
|
#15 |
Senior Member
|
nice work
|
|
September 27, 2014, 11:23 |
|
#16 | |
New Member
Shravan
Join Date: Sep 2014
Posts: 4
Rep Power: 12 |
Quote:
Error: Duplicate Coordinates found in Coordinates File |
||
October 27, 2014, 13:07 |
I had imported coordinates into DesignModel, only points are importing
|
#17 |
New Member
A.P
Join Date: Oct 2014
Posts: 2
Rep Power: 0 |
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 |
|
November 5, 2014, 04:20 |
|
#18 |
New Member
finaeira
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
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.
|
|
February 12, 2015, 12:48 |
points name
|
#19 |
New Member
tolga
Join Date: Feb 2015
Posts: 1
Rep Power: 0 |
I've created points. How do I see the name of the points? please help...
|
|
April 17, 2015, 23:29 |
3D geometry import from txt.
|
#20 |
New Member
None
Join Date: Nov 2014
Posts: 1
Rep Power: 0 |
Hi everyone,
I am a newer to fluent. I attempt to analysis flow inside of asymmetric dual-bell nozzle (z=0) in fluent 14.5 academic version. Nozzle contour is generated by Matlab, and I have generate the txt file used to import. The warraning is following: Error 1: A minimum of two points are needed for curve creation Context: Geometry Engine, while generating Feature Curve4 Error 2: Boolean operation failed Context: Geometry Engine, while generating Feature Curve6 It is important to notice that, Curve4 and Curve6 are same nozzle contour, with different number of points, 250, and 4200 respectively. The amount of points (I need) is 2e4 (or 4000) in txt file in total. However, it doesn't work when first 300 points are imported. I use same method to import 3D (asymmetric nozzle) successfully, but failed in this model. I have already deleted the duplicate points (only two). Plot (x,y) from Matlab and Excel show that there is no curve intersection. I don't know how to deal with this problem, so I do really wish your help. If I miss some information, please let me know. Thanks for your time, Xiaohua Nozzle Contour First 2500 points.txt Nozzle Contour Point No. 2501 to end .txt Dual-Bell Nozzle Contour .jpg |
|
Tags |
3d-curve, coordinates from .txt, geometry import |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] How to import point coordinates from .txt | sixfor | ANSYS Meshing & Geometry | 2 | January 19, 2011 13:44 |
import matrix from .txt | hbf | FLUENT | 1 | January 28, 2009 05:48 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
how to import the curve into blade gen | fadly | CFX | 2 | August 23, 2007 05:27 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |