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

problem Using Matlab for post processing

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 4, 2012, 16:20
Default problem Using Matlab for post processing
  #1
Member
 
Negin Nazarian
Join Date: Jan 2012
Location: San Diego
Posts: 61
Rep Power: 5
nenazarian is on a distinguished road
Hi

I wrote a function in MATLAB that would open different Case/Data files in a specified format and export the results and close it.
I used a "for" loop that writes a journal for each case and execute fluent with that. The problem that Im having is that is doesnt wait for fluent to export the result before doing the next loop and this means it attempts to open Fluent in all cases all at once.

does anyone know how to fix that? Is there any way to only go to the next "for" if fluent is done exporting and its closed?

thank you in advance for your help


cheers
Negin
nenazarian is offline   Reply With Quote

Old   September 6, 2012, 15:00
Default
  #2
Member
 
Negin Nazarian
Join Date: Jan 2012
Location: San Diego
Posts: 61
Rep Power: 5
nenazarian is on a distinguished road
Any help is appreciated.
I have so many runs to post process and the export function in matlab in giving me a headache.
nenazarian is offline   Reply With Quote

Old   September 6, 2012, 15:56
Default
  #3
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 531
Blog Entries: 14
Rep Power: 17
sbaffini will become famous soon enough
Instead of let Matlab open Fluent and run a journal, let Matlab create a journal which, once read in Fluent, will open all the cases doing the required job for each of them.
sbaffini is online now   Reply With Quote

Old   September 6, 2012, 16:41
Default
  #4
Member
 
Negin Nazarian
Join Date: Jan 2012
Location: San Diego
Posts: 61
Rep Power: 5
nenazarian is on a distinguished road
Wow! I didnt thought of that!

Thanks again paolo

Cheers
Negin
nenazarian 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
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 20:42
Can I solve this problem by Fluent? Kai_kc FLUENT 1 October 27, 2010 05:29
HLL Riemann Shock Tube Matlab Problem Luke F Main CFD Forum 1 July 7, 2009 13:44
parallel processing problem with multiproc machine hajra_rabaeto!!!!!!! FLUENT 2 January 28, 2006 20:11
Post processing display problem Jennifer Haque CFX 2 January 18, 2002 12:01


All times are GMT -4. The time now is 08:16.