Define points, lines/splines, surfaces, and mesh parameters in Matlab and create ICEM replay files to generate, define, and export a 2D surface blocking mesh to Ansys Fluent. The toolbox handles periodicity, as well as the boundary conditions.
This is a multi-step procedure:
1. run Matlab to generate the geometry ICEM replay file;
2. execute it in ICEM and create the surface blocking;
3. run Matlab again, to analyze the node numbering, and generate the define-mesh replay file;
4. execute the second file in ICEM, and inspect your pre-mesh;
5. export it with the third replay file.
Alternatively, the updated version of the toolbox can generate a mesh automatically by using ICEM's batch mode (only recommended for finished mesh designs, minor variations, or parameter studies).
With 'geo' functions you create the geometry. 'icem' functions are used to automagically translate the Matlab data to ICEM, and to analyze the ICEM project files. 'fluent' functions may act as starting points to analyze your Fluent monitors, pathlines, or reports (very specific to the problem, and I have no suitable test data to show examples).
Examples include a 'tipps.m' to get a general understand of the geometry functions, a simple boundary layer problem, two airfoil simulations with Fluent journal files to define cases, and a brief moving-and-deformable mesh how-to.
Single functions might be interesting: recursive path search, point-in-polygon, radial search, strjoin, strsplit, nnsearch, getFilteredFileList, ...
Dominik Hofer (2022). Matlab to Ansys ICEM/Fluent and Spline Drawing Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/66215-matlab-to-ansys-icem-fluent-and-spline-drawing-toolbox), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformasWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!