|
[Sponsors] |
February 20, 2011, 12:09 |
force monitoring and file format
|
#1 |
New Member
Lawrence
Join Date: Jul 2009
Location: England
Posts: 28
Rep Power: 16 |
Hello
I am trying to analyse the force on a pipe bend. I have got the file written by Fluent. The problem is the data inside can not be imported into Matlab. The file can be open by text editors but the data columns in the file are not separated. Could somebody please let me know how to separate the data into different columes? Thanks a lot! Lawrence |
|
February 21, 2011, 12:28 |
|
#2 |
New Member
Robert
Join Date: May 2009
Posts: 15
Rep Power: 16 |
Are you looking at unsteady or steady-state force data?...
How did you write out the data file?... |
|
February 21, 2011, 16:45 |
|
#3 | |
New Member
Lawrence
Join Date: Jul 2009
Location: England
Posts: 28
Rep Power: 16 |
Quote:
I have been looking at a unsteady problem using Fluent 12.1. I used Solve>monitors>drag. Then the data were written out. As I set the monitor using 'per zone' and there were three zones, the data file had 4 columns which included the flow time (the 1st column), and then 3 columns of drag coefficient for each zone. The problem I got is that it is difficult to split each column off for plotting in Matlab. Lawrence |
||
February 23, 2011, 10:38 |
|
#4 |
New Member
Robert
Join Date: May 2009
Posts: 15
Rep Power: 16 |
Does the data file contain a space between columns?...
i.e. time data1 data2 data3 ... etc?.. If so, then you could try to import the data into an excel spreadsheet by specifying space as a delimiter. |
|
February 24, 2011, 05:51 |
|
#5 | |
New Member
Lawrence
Join Date: Jul 2009
Location: England
Posts: 28
Rep Power: 16 |
Quote:
Yes, there is a space between the columns. Could you please elaborate the steps how to 'import the data into an excel spreadsheet by specifying space as a delimiter'? Lawrence |
||
February 24, 2011, 11:02 |
|
#6 |
New Member
Robert
Join Date: May 2009
Posts: 15
Rep Power: 16 |
Open your excel application from start.
Then open your data file as a text file from excel program i.e. open -> file A text import wizard will guide through the steps. if the columns are not aligned, selected delimited otherwise select fixed. A preview of your data file will be visible on the wizard. Next panel choices are tab,semicolon,comma,space, and other for delimiters. Choose space. Next panel defines data type. Select general if you have mixed characters and numbers. |
|
February 24, 2011, 16:35 |
|
#7 |
New Member
Lawrence
Join Date: Jul 2009
Location: England
Posts: 28
Rep Power: 16 |
Yes! You are right. Thank you very much, Robert.
I have managed to import the data to Excel with your method. Lawrence. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Output.fla File | Morshed | Main CFD Forum | 0 | February 12, 2009 20:00 |
particle tracking | mike | CFX | 3 | April 17, 2006 00:05 |
.run file & .info file | Xobile | Siemens | 1 | November 19, 2004 01:05 |
Force monitors | Phil | FLUENT | 1 | June 4, 2004 02:21 |
monitoring cell | Jane | Siemens | 2 | March 4, 2004 21:01 |