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

Macro to print mesh operations and refinements

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2024, 05:11
Question Macro to print mesh operations and refinements
  #1
New Member
 
TheIndianLel
Join Date: Mar 2019
Location: Germany
Posts: 25
Rep Power: 7
theindianlel is on a distinguished road
Hallo!

I am trying to create a macro in Star-CCM+ to print all the mesh operations and refinements that are present in the simulation. What class and method should I use to get the list of mesh operations and refinements, or atleast refinements?



I tried "simulation_0.CustomMeshControl.getChildren()" but did not work. I also tried simulation_0.SurfaceCustomMeshControl.getChildren( )" but did not work. I went through Java API and these classes don't have the getObjects() method. I am not proficient in Java, so any help would be greatly appreciated.



I also tried to create following collections

Collection<CustomMeshControl> refZones = simulation_0.CustomMeshControl.getChildren()

but that did not work either.
theindianlel is offline   Reply With Quote

Reply

Tags
macros


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



All times are GMT -4. The time now is 17:22.