|
[Sponsors] |
July 7, 2022, 11:50 |
fluent-matlab connection
|
#1 |
Senior Member
Zese
Join Date: Sep 2013
Posts: 104
Rep Power: 12 |
Dear all,
I am not sure that this is a right place to ask this question but I asked in Mathworks and no-one answered me. I run fluent from matlab by the following command: system('F:"Program Files""ANSYS Inc"\v195\fluent\ntbin\win64\fluent.exe -gr 2ddp -t4 -i filename.jou'); and In the later sections I need the results of this simulation to be analyzed. for example there are some output velocities which should be analyzed in matlab. When I run the code it run fluent but after starting fluent it goes to other sections without hesitation and doesn't wait for fluent to complete simulation. Do you know how I can order Matlab to wait until results are ready and fluent simulation is completed? BR |
|
July 8, 2022, 01:31 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
you may try to use a trick here:
wait until fluent will create file specified by you, which will be created after simulation is finished on the other hand you may run Fluent as a server (Fluent AAS). In that case you may control almost everything from matlab
__________________
best regards ****************************** press LIKE if this message was helpful |
|
July 8, 2022, 01:53 |
|
#3 | |
Senior Member
Zese
Join Date: Sep 2013
Posts: 104
Rep Power: 12 |
Quote:
but I found using this command run fluent in batch mode so not need to order matlab to wait system('F:"Program Files""ANSYS Inc"\v195\fluent\ntbin\win64\fluent.exe -hidden 2ddp -t4 -i filename.jou'); Last edited by zese; July 8, 2022 at 09:33. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
linking matlab and fluent | Nair | FLUENT | 23 | January 12, 2020 18:55 |
Problem in compiling fluent UDF lunched from MATLAB | cfdman10 | Fluent UDF and Scheme Programming | 16 | December 5, 2019 05:32 |
Connection between Matleb and Ansys fluent | julia lebd | FLUENT | 1 | February 5, 2019 19:19 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 13:41 |
problem in using parallel process in fluent 14 | aydinkabir88 | FLUENT | 1 | July 10, 2013 02:00 |