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

How to save data file in ascii after each iteratio

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2004, 15:16
Default How to save data file in ascii after each iteratio
  #1
jay
Guest
 
Posts: n/a
Hi, everyone.. I have a question about how to save some data (pressure, velocity, etc) in ascii after each iteration in transient condition.

For example, I wanna get static pressure data at the center line of pipe from every autosaved cas and dat file.

Can I get them automatically with some setting?

Thanks in advance
  Reply With Quote

Old   May 20, 2004, 15:43
Default Re: How to save data file in ascii after each iter
  #2
Prasad Dudhgaonkar
Guest
 
Posts: n/a
Dear Jay,

If I have understood your requirement correctly, this can be done using Solve-Animate function. Refer to this posting. http://www.cfd-online.com/Forum/fluent.cgi?read=19688

Hopefully it may serve the purpose.

Prasad
  Reply With Quote

Old   May 20, 2004, 17:10
Default Re: How to save data file in ascii after each iter
  #3
jay
Guest
 
Posts: n/a
I really appreaciated it. Perfect !!!
  Reply With Quote

Old   May 21, 2004, 11:14
Default Re: How to save data file in ascii after each iter
  #4
jay
Guest
 
Posts: n/a
Hey, Prasad.. I have one more question. I changed the setting as you recommended. After every iteration time step, however, the following warning generates. -------------------------------------------------- (ani-monitor-update 1 #t #t) Warning: surface-integrate: empty surface cx-solution-plot: No data points in range.() -------------------------------------------------- I have no idea what's going on. Do you have any idea about that? Thanks. Jay
  Reply With Quote

Old   May 21, 2004, 17:56
Default Re: How to save data file in ascii after each iter
  #5
Prasad Dudhgaonkar
Guest
 
Posts: n/a
Hi Jay,

Error message "no data points in this range" refers to the possible mismatch between Plot Direction and the surface selected.

Please check if "Plot Direction" and "X Axis Function" in XY Plot dialogue box is properly set. These are not difficult parameters to set. Still you may refer to 31.8.1 in User's Manual of Fluent 6.1 (Chapter - Reference Guide) for these settings.

Generally ensuring correct settings of these options, the same error, which I have encountered earlier, is addressed.

Prasad
  Reply With Quote

Old   May 22, 2004, 20:23
Default Re: How to save data file in ascii after each iter
  #6
jay
Guest
 
Posts: n/a
Thanks, Prasad.

I think I did a right setting for the options you mentioned. I set the Plot direction with "x:1,y:0" and X axis function as "Direction vector". Is there any setting which I can play with? and can I select more than one surface? Thanks, Jay
  Reply With Quote

Old   May 23, 2004, 07:47
Default Re: How to save data file in ascii after each iter
  #7
Prasad Dudhgaonkar
Guest
 
Posts: n/a
Dear Jay,

To try to answer your first question I need to know a little more about the surface(s) you have created. For the example you'd mentioned in the earliest message "I wanna get static pressure data at the center line of pipe", if the axis of pipe lies along the centre line of pipe and the flow taking place in positive Z-direction, you have to have a line (a form of surfaces) created along Z-axis. Then you can select Plot Direction (X=0,Y=0,Z=1), X-axis function direction vector, and the line surface. Note that the Plot Direction and the line surface selected are complementory to each other. Alternately, you can use Curve Length as the X-axis function.

About your other question: Yes, you can select more than one surface.

Prasad
  Reply With Quote

Old   May 23, 2004, 09:48
Default Re: How to save data file in ascii after each iter
  #8
jay
Guest
 
Posts: n/a
Hey, Prasad Thank you for your fast response. My case is 2-D axisymmetric prob. The center line of pipe is x-axis. I wanna get a series of x vs pressure (or velocity) after each time step. The surface and the direction is not perpendicular but parallel. Right now, I have no idea so I saved the x-position vs pressure plot after simulation using saved cas. and dat. files. It is really cumbersome. Thanks in advance. Have a great weekend.

Jay
  Reply With Quote

Old   May 23, 2004, 14:47
Default Re: How to save data file in ascii after each iter
  #9
jay
Guest
 
Posts: n/a
Hi, Prasad.

This is Jay. Actually, I can plot x-position vs pressure using Plot>>xy Plot tap using cas. and dat. files. (Option settings -> Options Node values ON, position x-axis ON, Plot direction x:1, y:0, and X-axis function : Direction vector).

As far as I know, I made the same setting as above when I set the options under Animate>>Define.. tap.

Can you give another advice?

Thanks Jay
  Reply With Quote

Old   May 25, 2004, 05:43
Default Re: How to save data file in ascii after each iter
  #10
Prasad Dudhgaonkar
Guest
 
Posts: n/a
Jay, I am trying myself that thing. Will be back as soon as as I get the solution.

Prasad
  Reply With Quote

Old   May 25, 2004, 10:40
Default Re: How to save data file in ascii after each iter
  #11
jay
Guest
 
Posts: n/a
Hi, Prasad.

I think I can get some xy-plot using "execute command" menu. Thanks a lot.

Jay
  Reply With Quote

Old   May 26, 2004, 05:05
Default Re: How to save data file in ascii after each iter
  #12
Prasad Dudhgaonkar
Guest
 
Posts: n/a
Dear Jay,

It looks ok. Hope that should have served your purpose.

When I tried using my own methodology, it turned out to be a fiasco. I got the similar error

Prasad

  Reply With Quote

Old   February 1, 2011, 05:44
Default Dear: Prasad
  #13
New Member
 
freeday's Avatar
 
freeday
Join Date: Aug 2010
Location: Indonesia
Posts: 17
Rep Power: 16
freeday is on a distinguished road
I am junior in fluent. But, I do project about sloshing tank. Postprocessing is very important for my project. I don't have much time. But want capture total pressure every member/wall in my case. Can I get the data automatically when iterate the program?
And I want writing process in XY plotting automatically every iteration or time step. Because in my case need a history in every second..
May I use the Execude Commands? How I write the command? Thank you very much.
freeday is offline   Reply With Quote

Old   December 18, 2017, 16:42
Default
  #14
New Member
 
Join Date: Jul 2014
Posts: 10
Rep Power: 12
bmahnic is on a distinguished road
Quote:
Originally Posted by jay
;112709
Hey, Prasad.. I have one more question. I changed the setting as you recommended. After every iteration time step, however, the following warning generates. -------------------------------------------------- (ani-monitor-update 1 #t #t) Warning: surface-integrate: empty surface cx-solution-plot: No data points in range.() -------------------------------------------------- I have no idea what's going on. Do you have any idea about that? Thanks. Jay
Check the axes properties. Maybe you have defined certain range that does not let you to plot something that is outside that range.
bmahnic 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
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 08:11
Installation of OpenFOAM-1.6 on Ubuntu 9.10 marval OpenFOAM Installation 2 March 17, 2010 09:33
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50
Smallest binary file format to save large data Zonexo Main CFD Forum 2 June 2, 2008 21:25
How to save cell set post data in to a file Negin Siemens 1 January 27, 2006 04:41


All times are GMT -4. The time now is 20:29.