3D Design

3D Design

Importing XYZ point data, making a surface for the bed of a CFD solution domain

    • Aras karimi
      Subscriber

      Hello 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

    • Nanda Veralla
      Ansys Employee

      Hi 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.

      Guidelines for Posting on Ansys Learning Forum

      How to access ANSYS help links

    • Aras karimi
      Subscriber

      Hi 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

    • Nanda Veralla
      Ansys Employee

      Hi 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.

    • Aras karimi
      Subscriber

      I 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 ?

    • Nanda Veralla
      Ansys Employee

      Hello Aras,

      We are not allowed to download any kind of files, can you put a screenshot of the error you're facing?

      Regards,

      Nanda.

    • Aras karimi
      Subscriber

      I created the geometry data file in the same format as you said above, which is as follows:

      • Aras karimi
        Subscriber

        Then I tried to open this file in Design Modeler software, but I encountered the following message:

    • Aras karimi
      Subscriber

      I 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.

    • Nanda Veralla
      Ansys Employee

      Hi Aras,

      As mentioned in my initial response, you have to generate points first, and then the second step would be generating 3D curve from points.

      Regards,

      Nanda.

      • Aras karimi
        Subscriber

        I imported the points first, but it only shows me the points of the bottom surface of the geometry, and also the yellow mark is visible in the tree diagram and at the bottom of the left page.

         

    • Aras karimi
      Subscriber

      Hi Nanda,

      Let me send an overview of the geometry that is going to be created from the data in the notepad file in Design Modeler. In fact, a shape similar to this geometry should be formed from the notepad file data in Design Modeler. Is this possible?

      Regards,

      Aras.

Viewing 9 reply threads
  • You must be logged in to reply to this topic.