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

problem Using Matlab for post processing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2012, 17:20
Default problem Using Matlab for post processing
  #1
Member
 
Negin Nazarian
Join Date: Jan 2012
Location: San Diego
Posts: 61
Rep Power: 14
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, 16:00
Default
  #2
Member
 
Negin Nazarian
Join Date: Jan 2012
Location: San Diego
Posts: 61
Rep Power: 14
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, 16:56
Default
  #3
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,192
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
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 offline   Reply With Quote

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

Thanks again paolo

Cheers
Negin
nenazarian 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
HLL Riemann Shock Tube Matlab Problem Luke F Main CFD Forum 2 May 20, 2016 03:10
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 06:29
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 18:37.