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

force to wait MATLAB for running parallel fluent in batch mode

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 3 Post By Sorin

Reply
 
LinkBack Thread Tools Display Modes
Old   December 5, 2012, 07: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: 15
Rep Power: 5
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 12.1, batch mode in linux sakalido FLUENT 11 January 9, 2012 13:39
fluent stops batch mode on error Ralf Schmidt FLUENT 1 March 1, 2008 11: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 15:13.