CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

STAR-CCM Macro Automating Domain Regions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2023, 09:11
Post STAR-CCM Macro Automating Domain Regions
  #1
New Member
 
Antoan Phu
Join Date: Oct 2023
Posts: 1
Rep Power: 0
SmallAnt is on a distinguished road
Hi,

I'm trying to automate my workflow so that a part (let's say named "Domain") is to be split into 6 surfaces (splitting by angle 89 deg) and then using 'assigned part surfaces to regions' so I can automate the Region-Physics quickly for rapid prototyping in my organisation.

What I'm having trouble with is that I'm having trouble distinguishing which part surfaces are which of the domain (i.e. Ground Plane, Walls, Inlet & Outlet).

---

I thought about potentially doing this by identifying surfaces by their geometric extremities to select and name each surface accordingly. This seems quite complex but robust if possible.

I also thought about that the 'Split Surfaces into Regions' feature in Star seem to split the surfaces in a consistent order:

(Top first, right, back, left, bottom, front) (in respect to X being forward and Y being span-wise)

and I could rename the surfaces accordingly (inlet ground walls etc) to the order given by the file-tree after splitting it. Although I'm not sure if this is robust and consistent...

Are there any suggestions / ideas from the CFD community? Any insight would be helpful. I can refer to the API but it's huge! A pointer would be helpful.


- Ant
- Auto student.
SmallAnt is offline   Reply With Quote

Old   October 2, 2023, 13:57
Default
  #2
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18
cwl is on a distinguished road
I'm not sure that is the point wherein automation has to be applied - why not just use part with pre-split and named surfaces?
cwl is offline   Reply With Quote

Old   October 27, 2023, 06:49
Default
  #3
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16
Aeronautics El. K. is on a distinguished road
Quote:
Originally Posted by cwl View Post
I'm not sure that is the point wherein automation has to be applied - why not just use part with pre-split and named surfaces?
I agree with this. If the domain surface names are identical to the region boundary names, then the only operation that needs to be automated is to assign the part to the region. Then the boundaries get the correct surfaces.
__________________
Lefteris

Aeronautics El. K. is offline   Reply With Quote

Old   October 27, 2023, 07:55
Default
  #4
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18
cwl is on a distinguished road
I'd say - automation is more about Filters and Dynamic Queues, but I do not understand why the topic starter wants to automate something that is more like an input.
cwl is offline   Reply With Quote

Old   October 27, 2023, 19:44
Default
  #5
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16
Aeronautics El. K. is on a distinguished road
Indeed filters are a nice way! I've also used tags but not dynamic queues I think. I'm curious now...

I kinda see what Ant is trying to do. Perhaps trying to create something like a template sim file but perhaps not in the most elegant way?
__________________
Lefteris

Aeronautics El. K. is offline   Reply With Quote

Reply

Tags
automate, java, macro, star ccm


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
Star CCM Acoustics Analysis of a pipe Hassaan595 STAR-CCM+ 0 June 5, 2023 17:09
Turbomachinery Mass imbalance sheaker CFX 12 September 5, 2019 09:09
Marine Propeller Hydroacoustic Simulation in Star CCM BlackEagle STAR-CCM+ 1 December 8, 2017 22:33
problem when imported geometry from 3D CAD to star ccm, TAREK GANAT STAR-CCM+ 1 May 21, 2013 23:15
Problem In Star CCM Plus ramarya STAR-CCM+ 1 July 10, 2011 06:59


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