link Star CCM+ and Matlab

조회 수: 70 (최근 30일)
Alessio
Alessio 2011년 10월 19일
댓글: SorMun 2023년 11월 16일
Hi!!! I have a question... I would like to open and work with a software (Star CCM+ by Adapco) from Matlab. I have done the same thing with Catia using the function "actxserver(Catia.Application)" but first I registered Catia like a com server with the string "CNEXT/regserver" in the DOS environment. The problem is that I don't know which are the strings to use for Star CCM for the regserver and actxserver functions...how can I find them?? Thank you everybody!!
  댓글 수: 2
SorMun
SorMun 2016년 12월 7일
Hi Alessio,
This might not be the answer you are expecting since it applies to an equivalent CFD solver and not to Star CCM+. ANSYS Fluent has such functionality, so just in case, if this is an option for you, I will go ahead and answer.
It seems like you are looking for the equivalent functionality offered by ANSYS Fluent, i.e. the actfluentserver function. actfluentserver function is available on all Matlab platforms (not just limited to Windows) and allows connection to remote/local running Fluent sessions.
For more information, please visit my blog at http://www.ansys-blog.com/how-to-make-matlab-apps-for-ansys/ .
You need more or less three lines of code to connect with a remote Fluent session (if, interested please read it in detail in the blog):
orb=initialize_orb
load_ansys_aas()
fluent_object=actfluentserver(orb,'aaS_FluentId.txt')
Once you activated the fluent_object then you can use it to make requests to the remote solver ( Fluent in this case).
Hope it helps
Sorin
Dursman Mchabe
Dursman Mchabe 2021년 3월 20일
Hello Alessio,
I am facing the same challenge.
How did you solve the challenge?
Thanking you in advance.

댓글을 달려면 로그인하십시오.

채택된 답변

Sarah Palfreyman
Sarah Palfreyman 2017년 1월 10일
As Sorin mentions, see ANSYS for the MATLAB AAS Toolbox interface.
  댓글 수: 1
SorMun
SorMun 2023년 11월 16일
The toolbox is now availabe for download from Mathworks File Exchange at
Sorin

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by