CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ANSYS Meshing & Geometry (
-   -   [ICEM] importing .m matlab file to ICEM (

Ananthakrishnan April 12, 2012 15:28

importing .m matlab file to ICEM
1 Attachment(s)
Hi guys,
I have a naca 0020 profile (with a structured volume mesh). I need to change the trailing edge profile from being straight into sinusoidal(flipper type). For this i received a .m matlab file. It contains the coding to generate the required shape. Can anyone guide me how to "use" this...

i have attached the matlab file and my icem files for your reference

Ananthakrishnan April 13, 2012 10:14

I figured it out..Just in case someone faces the same situation..

The matlab coding contains a function (with certain arguments). Call the function with a command to create a .dat file. The file name to be created is the last argument of the calling function. Save and play the file. You will now have a .dat file with the entire coordinates...

Far April 13, 2012 12:32

Are you also working on scripting so that you can automate the complete procedure including blocking? If yes then I would be interested in your work.

Ananthakrishnan April 13, 2012 12:42

Yes, i am working to parametrize the geometry and the mesh.. i am planning to do this using "clean" journals and replay files.

All times are GMT -4. The time now is 11:52.