CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   How to control CFX with Matlab (http://www.cfd-online.com/Forums/cfx/134339-how-control-cfx-matlab.html)

Behnam.Esfandiar April 28, 2014 07:07

How to control CFX with Matlab
 
Is there any way to control cfx with Matlab? I want to use it for FSI simulation.
I know there is way to control CFD and Mechanical APDL with Matlab but for CFX I don't know!

Lance April 28, 2014 07:41

What is it that you want to do with Matlab? Have you tried the search function on the forum?

http://www.cfd-online.com/Forums/cfx...st-matlab.html
http://www.cfd-online.com/Forums/cfx...ng-matlab.html
http://www.cfd-online.com/Forums/cfx...fx-matlab.html

Behnam.Esfandiar April 28, 2014 10:26

Thanks for your reply. I've already read those threads.
I want to know if I can write an input file for CFX and run it as batch file from Matlab.
My ultimate goal is to write a code for 2 way FSI problem! Imagine you want to do FSI but without opening workbench GUI! Is it possible?!

Lance April 29, 2014 04:31

See the cfx5cmds command. With that you can change the .def file with a text file containing ccl commands. I guess you should be able to setup an entire case without opening the gui.

Behnam.Esfandiar April 29, 2014 09:02

Thanks, I've tried it! but it gives me just CCL without Mesh information in it! Is there any way to have mesh information as well?! for instance writing .cfx into text!


All times are GMT -4. The time now is 21:38.