|
[Sponsors] |
March 12, 2011, 18:05 |
Writing results to a .txt or .dat file
|
#1 |
Member
Robert
Join Date: Mar 2011
Location: Warsaw
Posts: 62
Rep Power: 15 |
Does anyone know how to write results from a specific location to a .txt or .dat file?
For example how to write a static temperature (or another property) from pressure outlet (or wall) in function of time - in unsteady simulation. It should report results after each time step. Is there any easy way to do this? Maybe it easer to report a value from an exact cell? |
|
March 13, 2011, 07:18 |
|
#2 |
New Member
Morteza
Join Date: Nov 2009
Posts: 9
Rep Power: 17 |
Dear Robert
You should go to file>export. in the first left column u find different file type. and in the second column you can select places (surfaces) that you want to report the data. |
|
March 14, 2011, 01:15 |
|
#3 |
Member
Join Date: Apr 2009
Location: Pune
Posts: 37
Rep Power: 17 |
you can set up a surface monitor. with checking print, plot and write you can get the required values in printed in the simulation data panal also you can monitor the values in GUI and you will get a text file in the simulation folder of your case.
|
|
March 14, 2011, 13:53 |
|
#4 |
Member
Robert
Join Date: Mar 2011
Location: Warsaw
Posts: 62
Rep Power: 15 |
Thanks "monitor->surface" method works very well. There is only a problem when I want to get data from a defined point but from surface it works well.
|
|
March 14, 2011, 14:28 |
|
#5 |
New Member
Join Date: Mar 2011
Posts: 5
Rep Power: 15 |
When you work in unsteady state and when you combine that with working with monitor surfaces, make sure you specify your contours before the simulation. When you don't do that upfront, your simulation will end up with default settings for those monitor surfaces...
|
|
March 19, 2011, 08:24 |
|
#6 |
Member
Robert
Join Date: Mar 2011
Location: Warsaw
Posts: 62
Rep Power: 15 |
I still run up against some problems to report a static temperature from a specific cell. Does anyone know how to define a cell exactly and write results to a file?
|
|
March 20, 2011, 18:52 |
|
#7 |
Member
Join Date: Apr 2010
Location: Pisa / Italy
Posts: 62
Rep Power: 16 |
Hi Kwiaci,
if you want you can define a point in your domain (surface ---> point menu), then from the "monitor surface" panel you can plot temperature in that point and save it in a txt file. I'm using fluent 13 but i think it should work on previous versions |
|
Tags |
.dat, .txt, writing data |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wmake compiling new solver | mksca | OpenFOAM Programming & Development | 14 | June 22, 2018 07:29 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 21:51 |
PHI file structure | Eugene | Phoenics | 9 | November 2, 2001 23:00 |