|
[Sponsors] |
November 20, 2017, 12:05 |
Macro in Star CCM+
|
#1 |
New Member
hsi
Join Date: Jul 2013
Posts: 4
Rep Power: 13 |
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 |
|
November 21, 2017, 08:28 |
|
#2 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
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 |
|
November 27, 2017, 11:10 |
|
#3 |
New Member
hsi
Join Date: Jul 2013
Posts: 4
Rep Power: 13 |
Thank you Sebastian!
|
|
October 25, 2018, 16:02 |
|
#4 |
Member
Linyan X
Join Date: Dec 2015
Posts: 43
Rep Power: 11 |
||
Tags |
macro, star ccm+ v10 |
|
|
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 23:15 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
error in star ccm | maurizio | Siemens | 3 | October 16, 2007 06:17 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |