|
[Sponsors] |
October 2, 2023, 09:11 |
STAR-CCM Macro Automating Domain Regions
|
#1 |
New Member
Antoan Phu
Join Date: Oct 2023
Posts: 1
Rep Power: 0 |
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. |
|
October 2, 2023, 13:57 |
|
#2 |
Senior Member
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18 |
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?
|
|
October 27, 2023, 06:49 |
|
#3 |
Senior Member
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16 |
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 |
|
October 27, 2023, 07:55 |
|
#4 |
Senior Member
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18 |
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.
|
|
October 27, 2023, 19:44 |
|
#5 |
Senior Member
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16 |
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 |
|
Tags |
automate, java, macro, star ccm |
|
|
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 |