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

force monitoring and file format

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2011, 12:09
Question force monitoring and file format
  #1
New Member
 
Lawrence
Join Date: Jul 2009
Location: England
Posts: 28
Rep Power: 16
Lawrence is on a distinguished road
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
Lawrence is offline   Reply With Quote

Old   February 21, 2011, 12:28
Default
  #2
New Member
 
Robert
Join Date: May 2009
Posts: 15
Rep Power: 16
ral007 is on a distinguished road
Are you looking at unsteady or steady-state force data?...
How did you write out the data file?...
ral007 is offline   Reply With Quote

Old   February 21, 2011, 16:45
Default
  #3
New Member
 
Lawrence
Join Date: Jul 2009
Location: England
Posts: 28
Rep Power: 16
Lawrence is on a distinguished road
Quote:
Originally Posted by ral007 View Post
Are you looking at unsteady or steady-state force data?...
How did you write out the data file?...
Thanks for replying.

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
Lawrence is offline   Reply With Quote

Old   February 23, 2011, 10:38
Default
  #4
New Member
 
Robert
Join Date: May 2009
Posts: 15
Rep Power: 16
ral007 is on a distinguished road
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.
ral007 is offline   Reply With Quote

Old   February 24, 2011, 05:51
Wink
  #5
New Member
 
Lawrence
Join Date: Jul 2009
Location: England
Posts: 28
Rep Power: 16
Lawrence is on a distinguished road
Quote:
Originally Posted by ral007 View Post
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.
Thanks.

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
Lawrence is offline   Reply With Quote

Old   February 24, 2011, 11:02
Default
  #6
New Member
 
Robert
Join Date: May 2009
Posts: 15
Rep Power: 16
ral007 is on a distinguished road
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.
ral007 is offline   Reply With Quote

Old   February 24, 2011, 16:35
Thumbs up
  #7
New Member
 
Lawrence
Join Date: Jul 2009
Location: England
Posts: 28
Rep Power: 16
Lawrence is on a distinguished road
Yes! You are right. Thank you very much, Robert.

I have managed to import the data to Excel with your method.

Lawrence.
Lawrence 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
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


All times are GMT -4. The time now is 07:28.