I Have been working with FLUENT and MATLAB Closely with the goal of optimizing Liquid flow paths through Aluminum bodies(i.e. Shape Optimization). The majority of the logic/optimization work is done with MATLAB while FLUENT is only called to simulated the generated geometries and provide performance value (i.e. pressure, Temp, etc).

This process requires that the geometries in WB be converted to Nodal/numerical forms for matlab processing. Up to this point I have been using Mechanical APDL INPUT & ABAQUS files exported from FLUENT for this (File>Export>Solution Data>ABAQUS).

These files are idea as they provide purely text documents containing the nodal data as well as the all geometry data that can be processed in MATLAB and then re-uploaded to FLUENT for further simulation.

However when exporting these files from FLUENT I appear to lose my zone or Body Names (i.e. Fluid block_11, Aluminum Block_3,etc). Instead all zones are converted to a form of PID1 or PID45. This is becoming a problem since the indexing of my Fluid/Al bodies depend on their allocated name values.

How might I export these geometries in a way such that I do not use their given name values? Does anyone have experience with these file types? Or if not does anyone have a different approach to recommend?

(I have attached a visual representation of a simple 2D grid structure I am trying to work with, where each square block represents a Fluid or Al body to be determined by the optimization process)

Similar questions and discussions