-
-
March 18, 2023 at 8:47 am
Aras karimi
SubscriberHello Ansys community,
I have a some of XYZ data of a 3D geometry in text format(.txt).These data are export from Tecplot software.I want to create the geometry from these points in Design Modeler and use Anasys Fluent to simulate the flow on it.
What steps do you suggest so that I can convert the text file to solid geometry in Design Modeler ?
Thank you for your help with my question
-
March 20, 2023 at 6:03 am
Nanda Veralla
Ansys EmployeeHi Aras,
You need to create a coordinate file format which will be recognized by Ansys Designmodeler. Let’s say you are trying for a curve and you input only X, Y, and Z coordinate data points. When you put this data into designmodeler, you’ll get an error and zero points will be generated. You need to add 2 more columns to your data points to make the data compatible with designmodeler. The supported file formats are *.txt, *.csv . Just copy the data points you have into an excel sheet, add the necessary columns using the format given below, and save the file in .txt or .csv format. Make sure all the coordinates have exact number of decimals.
Coordinate file format
Column 1
Column 2
Column 3
Column 4
Column 5
Group number (Integer>0)
ID number (Integer>0)
X-coordinate
Y-coordinate
Z-coordinate
1 for open curve
2 for closed curve
1
0.1000
0.5000
0.0000
2
0.2000
1.0000
0.0000
3
0.3000
1.5000
0.0000
4
0.4000
2.0000
0.0000
5
0.5000
2.5000
0.0000
Now all you need to do is import this file into Designmodeler using POINT tool. Make sure your units in DM and your data are similar. Once your points are generated, you can generate a curve using 3D CURVE tool.
Regards,
Nanda.
-
March 20, 2023 at 11:10 am
Aras karimi
SubscriberHi Dear Nanda,
This type of text file format is for the case that the 3D geometry does not have distortions on its surfaces, in which case we can put its Z column in the text file as zero and easily open it in Design Modeler.
But my 3D geometry has distortions and roughness on its surfaces, which usually cannot be considered as zero column in the text file.
How can I convert XYZ data from this geometry to solid geometry in Design Modeler ?Best regards
-
March 20, 2023 at 12:37 pm
Nanda Veralla
Ansys EmployeeHi Aras,
I have just made a generic format for a better understanding, you can try with x,y, and z data you have and generate a model using the same method. Let me know if this doesn't help.
Regards.
-
March 21, 2023 at 4:14 pm
Aras karimi
SubscriberI created the XYZ geometry data text file in the format you sent above (in the z column, I put the z specific values of the geometry instead of zero) and tried to open it in Design Modeler, but I get an error of not reading the file.
How can I attach the geometry text file here ? -
March 22, 2023 at 3:16 pm
Nanda Veralla
Ansys EmployeeHello Aras,
We are not allowed to download any kind of files, can you put a screenshot of the error you're facing?
Regards,
Nanda.
-
March 22, 2023 at 4:23 pm
Aras karimi
Subscriber-
March 22, 2023 at 4:28 pm
-
-
March 22, 2023 at 4:34 pm
Aras karimi
SubscriberI have been struggling with this problem for a long time to create a solid geometry for these points. If possible, I will attach the notepad data file here.
-
March 22, 2023 at 5:07 pm
Nanda Veralla
Ansys Employee-
March 22, 2023 at 5:31 pm
-
-
March 23, 2023 at 10:52 am
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- How to work with STL file?
- Rotate tool in ANSYS Design Modeler
- Using Symmetry in DesignModeler and Expanding the Results
- section plane
- material properties
- ANSYS FLUENT – Operation would result in non manifold bodies
- drawing a geometry by importing a table of points
- Geometry scaling
- Parameters not imported into Workbench 18.2 from Solidworks/Inventor
- Coordinates orientation
-
3744
-
2573
-
1809
-
1236
-
594
© 2023 Copyright ANSYS, Inc. All rights reserved.