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

Easy way to export monitor data from CFX out file

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

Like Tree3Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   July 11, 2012, 13:02
Default Easy way to export monitor data from CFX out file
  #1
Member
 
jonathan
Join Date: Jun 2009
Posts: 47
Rep Power: 9
jonny_b is on a distinguished road
Hey guys,

I would like to do an FFT analysis to determine the frequency spectrum in my solution. I know that I should be able to export time dependent variable data from CFD-Post, but the problem is the time step interval for which I've captured data in trn files is too large to extract a meaningful frequency analysis. I've set up monitors of pressure and I know that this information is contained in my monitors for every time step. Is there an easy way to extract monitor information so that I can import it into Matlab and do my FFT analysis there? I can't seem to find out how to get this data in CFD-Post.

Thanks,
Jonathan
jonny_b is offline   Reply With Quote

Old   July 11, 2012, 13:20
Default
  #2
Member
 
jonathan
Join Date: Jun 2009
Posts: 47
Rep Power: 9
jonny_b is on a distinguished road
Nevermind found out how to extract monitor info from a .res file.
Quote:
After the CFX-Solver has finished, the monitor point data (if the monitor point information is required) is extracted from a .res file using the cfx5dfile command. The following syntax is used:

cfx5dfile <file> -read-monitor

where <file> is a CFX-Solver input or results file containing monitor point information. The output is sent to standard output (you may want to add a redirect to write the output to a text file, for example:

cfx5dfile <file> -read-monitor > out.txt

The output is produced as a list of variable names, followed by a comma-delimited list of values that correspond to the order of variable names. One line of these values is produced for every iteration that has been carried out.
jonny_b is offline   Reply With Quote

Old   July 12, 2012, 03:00
Default
  #3
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 120
Rep Power: 6
monkey1 is on a distinguished road
Can do it even easier. If you're using the solver manager of ansys, then just open your case in the manager (open completed run). As you sepcified Monitors for the run you will then see a monitors tab. Within this tab just right click on the graph and select "Export Plot Data". It will then write a .csv file with all the data in the monitor graph.
jonny_b and pz21 like this.
monkey1 is offline   Reply With Quote

Old   July 17, 2012, 14:53
Default
  #4
Member
 
jonathan
Join Date: Jun 2009
Posts: 47
Rep Power: 9
jonny_b is on a distinguished road
Holy cow Monkey! I didn't even think about that. That is easy! Thanks for the advice. You just made my life a lot easier.
jonny_b is offline   Reply With Quote

Old   July 18, 2012, 05:08
Default
  #5
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 120
Rep Power: 6
monkey1 is on a distinguished road
Always glad when I can help
monkey1 is offline   Reply With Quote

Old   August 2, 2012, 08:34
Default
  #6
Member
 
jonathan
Join Date: Jun 2009
Posts: 47
Rep Power: 9
jonny_b is on a distinguished road
I also found another usefull CFX command although I still think that monkey1's suggestion may be the quickest. This terminal command looks like it provides a lot of options however :

Quote:

Name: cfx5mondata


Purpose:


Run the CFX Monitor Data Exporter. Monitor data will be output in
Excel-compatible CSV (comma-separated values) format


Synopsis:


cfx5mondata -res <file> | -dir <directory> | -mon <file>
[-showvars] [-nocoeffloops] [-lastvalueonly]
[-varlist <variables>] [-varrule <rule>]
[-out <file>] [-help] [-v]
monkey1 likes this.
jonny_b is offline   Reply With Quote

Old   April 24, 2013, 07:22
Default
  #7
Member
 
Sebastian
Join Date: Apr 2013
Posts: 31
Rep Power: 4
Badi is on a distinguished road
Sorry for exhuming this old thread.
When I try to export my data into csv all I got are the timesteps and not my mesh movement. Is this a common problem?
Badi is offline   Reply With Quote

Old   April 24, 2013, 08:00
Default
  #8
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 120
Rep Power: 6
monkey1 is on a distinguished road
Hi Badi!
I do not exactly understand what you want to do. If you are exporting Monitor Point data you will always get only the time steps with the corresponding values of the monitored data without any info about the mesh. It's just exporting 2D Chart Data.
What exactly do you want to do?
monkey1 is offline   Reply With Quote

Old   April 24, 2013, 08:06
Default
  #9
Member
 
Sebastian
Join Date: Apr 2013
Posts: 31
Rep Power: 4
Badi is on a distinguished road
yeah I know, I had a monitor point on a moving wall. It did monitor the movement in y (periodic movement). I basically had a sinus curve.
The problem was i only got the data from the x curve and not the y curve.

I dont know if it is a bug but this only happens when you make a new monitor, while solving, with the new point.
If I export the data from the "standart" User points tab I get all the data... weird
Badi is offline   Reply With Quote

Old   April 24, 2013, 08:13
Default
  #10
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 120
Rep Power: 6
monkey1 is on a distinguished road
Weird...just tried it on a simulation that is running with the standard monitor point tab "User Points" and a newly created monitor tab "Plot Monitor 1" and for both the .csv file contained all the data displayed...
monkey1 is offline   Reply With Quote

Old   April 25, 2013, 07:03
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,949
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Just checking - it is not that you simply have to zoom in on the region of interest to see something happen? Also, have you checked the resolution of the numbers in the CSV file is sufficient to show the signal you expect to see?
ghorrocks is offline   Reply With Quote

Old   July 26, 2013, 12:29
Default export point in CFX post
  #12
Member
 
bitak
Join Date: Jul 2009
Posts: 56
Rep Power: 8
bitak is on a distinguished road
Helo all.
How I can export data from one point from CFX post?
in fact I define point in CFX post and my purpose is maximum value of special parameter.
How I can see result?
bitak is offline   Reply With Quote

Old   July 27, 2013, 07:16
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,949
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Have a look at the CFX reference guide for available CEL functions. The probe function is the one you want.
ghorrocks is offline   Reply With Quote

Old   September 26, 2013, 19:51
Post point monitor
  #14
New Member
 
elaf
Join Date: May 2013
Posts: 9
Rep Power: 4
elaf_2003 is on a distinguished road
Hi mates
I ,d like to monitor the point with cluster for fluent case for instance Cm or velocity or residual, so how I can monitor these issues.
regard
elaf_2003 is offline   Reply With Quote

Old   September 26, 2013, 20:05
Default
  #15
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,949
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Try the fluent forum.
ghorrocks is offline   Reply With Quote

Old   September 26, 2013, 20:10
Default
  #16
New Member
 
elaf
Join Date: May 2013
Posts: 9
Rep Power: 4
elaf_2003 is on a distinguished road
thanks mate
could you more explain.
regard
elaf_2003 is offline   Reply With Quote

Old   September 26, 2013, 20:12
Default
  #17
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,949
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
This is the CFX forum.

This is the link to the Fluent forum: http://www.cfd-online.com/Forums/fluent/
ghorrocks is offline   Reply With Quote

Old   October 23, 2013, 06:34
Default
  #18
New Member
 
Paul
Join Date: Oct 2013
Posts: 4
Rep Power: 3
Lilienthal is on a distinguished road
Hello all,

first post for me in this forum, so I hope I found the right thread.

Is there any way to monitor Expressions along a line in the CFX Solver Manager?
The manual tells me its only possible to monitor Expressions on a x,y,z-point or a mesh region like a boundary or inlet.
Is it possible to circumnavigate that restriction in user fortran i.e.?

Btw.: replacing a line with a huge number of monitor points is not what I want to do.

Any ideas would be appriciated...
Lilienthal is offline   Reply With Quote

Old   October 23, 2013, 07:01
Default
  #19
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,949
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
What do you want to do with the line?

I know of no way to do stuff along a line in the solver. It is easy in post-processing.
ghorrocks is offline   Reply With Quote

Old   October 23, 2013, 08:01
Default
  #20
New Member
 
Paul
Join Date: Oct 2013
Posts: 4
Rep Power: 3
Lilienthal is on a distinguished road
I would like to monitor the fluid height in steady state stratified two-phase flow simulation.
It has to be at a certain line for comparison with experiment.

For comparison with the experimental data its sufficient to check the level in CFD Post. But for checking if its
really steady, it has to be monitored in the solver.
Lilienthal 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
2.0.x on Mac OSX niklas OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 74 March 28, 2012 16:46
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
File export from CFX 5.3 Sinjae Hyun CFX 1 July 12, 2000 09:20


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