Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Exporting contour data to matlab

    • birbara2
      Subscriber

      Hello, Can I export contour data to matlab? It doesn't have to be as much high resolution as the mesh.


      Thanks

    • raul.raghav
      Subscriber

      Assuming that you're using Fluent, there two ways of doing it:


      1. From Fluent:


      File > Export > Solution Data; File Type: ASCII, and select the appropriate contour plane with the specific contour variable of interest along with the plane coordinate axes. This will export the data into a csv file which can be imported in MATLAB.


      2. From CFD-Post:


      File > Export > Export...; Type: Generic, and select the required surface with the variable of interest. This will create a csv file which can be imported into MATLAB. If your mesh is too fine and if you don't need all the data, you can "Insert > Point Cloud" at the selected surface which the required point density and you can export this Point Cloud the same way as mentioned earlier.


       

    • sailesh1312
      Subscriber
      But what if we want force as our desired variable?n
    • Yvette Law
      Subscriber

      Hi there, how to make it process automatically so I dont need to open the case one by one ?

    • Rob
      Forum Moderator

      Yes and no. You will need to open the case & data, but with journals you can automate the whole process. 

Viewing 4 reply threads
  • The topic ‘Exporting contour data to matlab’ is closed to new replies.
[bingo_chatbox]