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

How can i get cell data into txt file?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 17, 2007, 09:26
Default How can i get cell data into txt file?
  #1
Steve
Guest
 
Posts: n/a
Hi In Post-processing i want to generate txt-files for some specific cells of my model which contain the simulated data like pressure, velocity, etc. Is this or anything compareable possible?

Greets Steve
  Reply With Quote

Old   July 17, 2007, 11:07
Default Re: How can i get cell data into txt file?
  #2
TG
Guest
 
Posts: n/a
Gather the data you want using the GETC command or OPERate commands and then take a look at either the SAVUserdata or the PRINt commands. SAVU saves everything to a file. PRINT,CSET will print the cset to std output so before using it you have to use OFILE to output the screen data to a file
  Reply With Quote

Old   July 18, 2007, 09:17
Default Re: How can i get cell data into txt file? *NM*
  #3
Steve
Guest
 
Posts: n/a
  Reply With Quote

Old   July 18, 2007, 09:24
Default Re: How can i get cell data into txt file?
  #4
Steve
Guest
 
Posts: n/a
By this way i can get the register-data to a txt-file and the simulated data is illustratred for each cell, but just for one time step. I wonder if there is a way to get the desired data of the transient run, lets say the pressure, into a txt-file with a pressure-timestep dependency for a cell/cell set. Thanks for your help!

  Reply With Quote

Old   July 18, 2007, 11:10
Default Re: How can i get cell data into txt file?
  #5
Balduin Bankerotti
Guest
 
Posts: n/a
Save a file for every time step and use a perl script to sort the values.

  Reply With Quote

Old   July 19, 2007, 10:25
Default Re: How can i get cell data into txt file?
  #6
TG
Guest
 
Posts: n/a
You can write a prostar macro that loops through all time steps and for each one, loads the data you want, prints, go on to the next... Its not very hard.
  Reply With Quote

Old   July 19, 2007, 14:09
Default Re: How can i get cell data into txt file?
  #7
paulh
Guest
 
Posts: n/a
In v3.26, there's something called an internal boundary. Set that up and then export your data to an erd file. Or, create a cell set(s) of the cells you wish to interrogate. Use the ecd file to get the post information per iteration/time step.
  Reply With Quote

Old   July 20, 2007, 07:17
Default Re: How can i get cell data into txt file?
  #8
Steve
Guest
 
Posts: n/a
Thanks But is it possible to get the required data in one file?
  Reply With Quote

Old   July 22, 2007, 14:41
Default Re: How can i get cell data into txt file?
  #9
vladimir
Guest
 
Posts: n/a
Hi Steve,
supposing you are using star version 3.26, then launch the NavCenter, go for Post-Processing > Graphs > Extract/Graph Data > Analysis History Data. You'll find at least part of the task done for you there. Just, pick the cell to tell where are the data of your interest then load the data (solved variable) and create a graph. To save the graph data, switch to 'External Data' folder instead of 'Analysis History Data'. It may not be the best solution but you can look at the output window which commands the procedure issued to reach the results, and save them to a user defined panel or to a text file for the next use.
Hope it'll help
  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
PLOT3D ASCII solution file to MATLAB data file Sandeep Rana Main CFD Forum 4 June 11, 2010 09:48
export cell data to text Ramki FLUENT 2 March 3, 2008 07:43
How to save cell set post data in to a file Negin CD-adapco 1 January 27, 2006 04:41
How to get each cell value into a text file Wiroon FLUENT 2 June 28, 2005 09:35
how to get specific cell data Shanta CD-adapco 1 November 29, 2004 12:38


All times are GMT -4. The time now is 09:30.