CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Automatic workflow for geometry swapping - advice needed

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2019, 05:09
Default Automatic workflow for geometry swapping - advice needed
New Member
Jonas Abeken
Join Date: Apr 2018
Location: Zurich
Posts: 10
Rep Power: 8
jabeken is on a distinguished road
Hi all,

I'm facing a project that will involve running multiple hundred simulations of the same type with slightly different geometries (for uncertainty quantification).

Now I'm looking for an efficient way to automate the process of setting up the simulations. My general idea would be to set up a baseline simulation and write a macro that swaps the geometry for each new geometry.

In previous projects I had experience with this by using ANSA to create a pro-STAR shell input file from the original step-files. The resulting .inp could be imported into Star-CCM+ using patch-IDs as identification and therefore allowing automatic recognition of the corresponding boundaries etc...

However, in this new project I don't have access to ANSA anymore and I have to come up with a new way.
My current idea is to export the different surfaces into different step-parts which would allow to update them individually and thus keeping their association with regions, boundary-definitions, etc. However, I'm afraid that this will lead to a lot of artifacts and faulty surfaces.

Thus, I am looking for suggestions and advice on how to set up a robust and efficient workflow to automate the setup of these simulations based on the tools I have (SolidWorks, Star-CCM+, Ansys Meshing, ICEM).

Looking forward to any input!

jabeken is offline   Reply With Quote

Old   February 16, 2019, 10:29
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
Just using STAR-CCM+ by itself will work fine.

Part swapping will work well if your parts are solids, if they are surfaces things are a little more complex but doable. If your geometry is dirty you can consider using the wrapper to help automation.

Making sure the simulations have consistent naming and boundary/part surface association checking is easily done with Java macros. You should be able to write Java macros to do mostly anything you want for automation, it's a very powerful capability.
me3840 is offline   Reply With Quote

Old   February 18, 2019, 06:05
New Member
Jonas Abeken
Join Date: Apr 2018
Location: Zurich
Posts: 10
Rep Power: 8
jabeken is on a distinguished road
I figured out that my issue was a badly prepared STEP file and nothing else. The surfaces of the part just have to be specifically named and the STEP has to be exported in a way that keeps feature properties (like surface names).

I also switched to parasolids as it is recommended by Siemens (as Star is built on a parasolid kernel and thus no translation is necessary).
Surface recognition works just fine now and the rest should be no issue at all.
jabeken is offline   Reply With Quote


automation, setup, workflow

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
SUPG for 2-D Navier-Stokes advice needed.. nicole Main CFD Forum 2 November 23, 2002 00:06
advice needed yfy Main CFD Forum 6 April 30, 2002 11:25
advice needed! Filip Main CFD Forum 2 April 26, 2002 15:27
Stirling engine simulation advice needed Geoffrey Main CFD Forum 2 December 18, 2001 02:26
advice needed in solving linear system yf yap Main CFD Forum 5 February 5, 2001 00:21

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