CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ICEM] Generation of geometry and mesh automatically (https://www.cfd-online.com/Forums/ansys-meshing/121652-generation-geometry-mesh-automatically.html)

rkiranmat August 2, 2013 06:35

Generation of geometry and mesh automatically
 
Dear All,

I would like to generate the geometry (.tin) and mesh generation (.msh) automatically using Ansys ICEM for CFD simulations using Ansys-CFX by writing any code. I mean to say that, If user gave the dimensions of the geometry, then code should generate .tin and .msh file for simulations.

Can any one help in this?

Thanks and Regards,
Ravikiran

venkat_aero2007 August 12, 2013 08:37

Replay Script
 
You can record the commands using reply script

Before you start creating the geometry, go to File > Replay Scripts > Replay Control

have a look on this link to understand how the scripting is done
http://www.youtube.com/watch?v=tYrbScUH9RE

Are you going to do optimization? If that is the case, you can use matlab or any other programming language. If you are going to do in Matlab, you should write a function in matlab which calls the ICEM CFD and execute the replay script.

rkiranmat August 12, 2013 08:45

Dear Venkatesh,

Thank you for your reply. I have got the methodology of programming in ICEM. Now I am writing script for auto-mesh generation and CFD simulation.

I am writing in fortran code.

Thanks and Regards,
Ravikiran

venkat_aero2007 August 12, 2013 08:53

Generation of geometry and mesh automatically
 
Hi Ravikiran,

I have done it in Matlab. Sorry I done know how to do that in Fotran. Hope some one will give you a better suggestion.

rkiranmat August 12, 2013 09:02

Thanks alot. Can you please share your matlab files if you can. So that it will be useful further. Mail id: rkiranmat@gmail.com

Thanks and Regards,
Ravikiran


All times are GMT -4. The time now is 23:30.