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

Macro in Star CCM+

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By bluebase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2017, 11:05
Default Macro in Star CCM+
  #1
New Member
 
hsi
Join Date: Jul 2013
Posts: 4
Rep Power: 12
redhybrid is on a distinguished road
Hi guys,

My programming knowledge is poor so I need some guidance here~

I am new to Star CCM+ using macro recording/play in Star CCM+ to deal with the repeated work (settings).

1.If I want to go deeper into Star CCM+ macro, I need to learn JAVAscript first?

2.Can excel VBA does the same thing for Star CCM+?

Thank you
redhybrid is offline   Reply With Quote

Old   November 21, 2017, 07:28
Default
  #2
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Hi redhybrid,

there is a dedicated subforum for StarCCM and alikes. It would be good practice to post such a software-specific question there.

Putting that on the side:

1. StarCCM macros are written in java, not javascript. Whether you need to "learn" java depends on whether you have any previous programming experience. Refering to the second question, you do have some with VBA. The concepts of objects, variables, loops, etc. shouldn't be new to you. With the help of google, stackoverflow, etc. you should be able to write starccm macros without having to become a java programmer.

Starccm has a very detailed api documentation. moreover, you can fully integrate the api into an ide, such as netbeans. That way, you can simple adapt a recorded macro using the doc.

2) If you can call java methods from vba, there might be a tiny chance to use vba to run starccm. I think, this wouldn't make much sense. The time to figure out this way out oneself could be better spent on doing a java tutorial and searching on stackoverflow for whatever is unknown.

Best regards,
Sebastian
redhybrid likes this.
bluebase is offline   Reply With Quote

Old   November 27, 2017, 10:10
Default
  #3
New Member
 
hsi
Join Date: Jul 2013
Posts: 4
Rep Power: 12
redhybrid is on a distinguished road
Thank you Sebastian!
redhybrid is offline   Reply With Quote

Old   October 25, 2018, 15:02
Default
  #4
Member
 
Linyan X
Join Date: Dec 2015
Posts: 43
Rep Power: 10
linyanx is on a distinguished road
Quote:
Originally Posted by redhybrid View Post
Thank you Sebastian!
Hi redhybrid,

How was your process goes? I'm trying to find some tutorials about the Netbean IDE integrated with STAR-CCM. Could you please share your experience if any?

Thanks,
Linyan
linyanx is offline   Reply With Quote

Reply

Tags
macro, star ccm+ v10


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
problem when imported geometry from 3D CAD to star ccm, TAREK GANAT STAR-CCM+ 1 May 21, 2013 22:15
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38
error in star ccm maurizio Siemens 3 October 16, 2007 05:17
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


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