|
[Sponsors] |
How to save data file in ascii after each iteratio |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 20, 2004, 15:16 |
How to save data file in ascii after each iteratio
|
#1 |
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 |
|
May 20, 2004, 15:43 |
Re: How to save data file in ascii after each iter
|
#2 |
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 |
|
May 20, 2004, 17:10 |
Re: How to save data file in ascii after each iter
|
#3 |
Guest
Posts: n/a
|
I really appreaciated it. Perfect !!!
|
|
May 21, 2004, 11:14 |
Re: How to save data file in ascii after each iter
|
#4 |
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
|
|
May 21, 2004, 17:56 |
Re: How to save data file in ascii after each iter
|
#5 |
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 |
|
May 22, 2004, 20:23 |
Re: How to save data file in ascii after each iter
|
#6 |
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 |
|
May 23, 2004, 07:47 |
Re: How to save data file in ascii after each iter
|
#7 |
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 |
|
May 23, 2004, 09:48 |
Re: How to save data file in ascii after each iter
|
#8 |
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 |
|
May 23, 2004, 14:47 |
Re: How to save data file in ascii after each iter
|
#9 |
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 |
|
May 25, 2004, 05:43 |
Re: How to save data file in ascii after each iter
|
#10 |
Guest
Posts: n/a
|
Jay, I am trying myself that thing. Will be back as soon as as I get the solution.
Prasad |
|
May 25, 2004, 10:40 |
Re: How to save data file in ascii after each iter
|
#11 |
Guest
Posts: n/a
|
Hi, Prasad.
I think I can get some xy-plot using "execute command" menu. Thanks a lot. Jay |
|
May 26, 2004, 05:05 |
Re: How to save data file in ascii after each iter
|
#12 |
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 |
|
February 1, 2011, 05:44 |
Dear: Prasad
|
#13 |
New Member
freeday
Join Date: Aug 2010
Location: Indonesia
Posts: 17
Rep Power: 16 |
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. |
|
December 18, 2017, 16:42 |
|
#14 | |
New Member
Join Date: Jul 2014
Posts: 10
Rep Power: 12 |
Quote:
|
||
|
|
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 |