CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   How to automate geometry, mesh and case setup using starccm+ (http://www.cfd-online.com/Forums/star-ccm/84273-how-automate-geometry-mesh-case-setup-using-starccm.html)

jwillie2000 January 25, 2011 06:30

How to automate geometry, mesh and case setup using starccm+
 
Hi All,

I am new to starccm+ and wanted to know whether it has a scripting language like ANSYS does with the journal file to automate the process of geometry and mesh creation and setting up a simulation? In it does it would be nice to know how can learn this as quickly as possible.

Thanks!

Jimmy

Chenthu January 25, 2011 09:32

Quote:

Originally Posted by jwillie2000 (Post 292054)
Hi All,

I am new to starccm+ and wanted to know whether it has a scripting language like ANSYS does with the journal file to automate the process of geometry and mesh creation and setting up a simulation? In it does it would be nice to know how can learn this as quickly as possible.

Thanks!

Jimmy

Yeah it has..in the form of macro's which is based on java....just start macro to record ur actions and then later use it to automate the same process...

olesen January 26, 2011 04:17

Quote:

Originally Posted by Chenthu (Post 292079)
Yeah it has..in the form of macro's which is based on java....just start macro to record ur actions and then later use it to automate the same process...

Note however that while recording and replaying java macros does work, it implies that all the models require exactly the same initial state for the process to work correctly. For a robust and more general solution, you'll need considerably more effort.

Pauli January 26, 2011 12:13

I concur. In principle Java macros work. In practice, any deviation from what you recorded instantly becomes an exercise in patience, perserverance, and computer science.


All times are GMT -4. The time now is 06:40.