CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

force to wait MATLAB for running parallel fluent in batch mode

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By Sorin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2012, 06:42
Default force to wait MATLAB for running parallel fluent in batch mode
  #1
New Member
 
Join Date: Jul 2012
Posts: 1
Rep Power: 0
a.latifi is on a distinguished road
Hi friends
I use Matlab to rus fluent in batch mode and in just one processor with following command
! C:\Fluent.Inc\ntbin\ntx86\fluent.exe 2ddp -g -wait -i "D:\firstcode\fluentjournal.txt"
and it works very well
for running fluent in four processor I use another command
! C:\Fluent.Inc\ntbin\ntx86\fluent.exe 2ddp -g -t4 -wait -i "D:\first code\fluentjournal.txt"
but this command does not work
I find out that the problem is related to "-wait" in other words by vanishing "-wait" the command will work so
! C:\Fluent.Inc\ntbin\ntx86\fluent.exe 2ddp -g -t4 -i "D:\first code\fluentjournal.txt"
will work but:
I need Matlab waits when fluent is doing its job
How can I run fluent in batch mode in four processor and Matlab waits when fluent is running.
a.latifi is offline   Reply With Quote

Old   May 9, 2013, 16:44
Default
  #2
New Member
 
Sorin Munteanu
Join Date: Apr 2013
Posts: 27
Rep Power: 14
Sorin is on a distinguished road
Hi Latifi

It would recommend connecting with Fluent running in server mode (Fluent aaS). This way you should be able to connect intimately with Fluent from Matlab.

With the exception of one command all Matlab calls to Fluent are synchronous (Matlab waits when Fluent is running).

You can refer to my post at http://www.ansys-blog.com/tag/matlab for start-up information.

Please let me know if you need more details.

Sorin
Far, like.no.other and a.latifi like this.
Sorin is offline   Reply With Quote

Reply


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
fluent 12.1, batch mode in linux sakalido FLUENT 13 September 27, 2017 08:55
Fluent Batch Mode - TUI Diane FLUENT 13 June 3, 2014 05:11
PROBLEM in UDF on parallel fluent mode rakadit Fluent UDF and Scheme Programming 0 July 13, 2012 06:51
fluent stops batch mode on error Ralf Schmidt FLUENT 1 March 1, 2008 10:35
Some help simulating Magnus Force using Fluent Michele Spinolo FLUENT 6 June 27, 2002 12:57


All times are GMT -4. The time now is 23:25.