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

How to export time series of variables for one point?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 15, 2014, 05:08
Default How to export time series of variables for one point?
  #1
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 3
mary mor is on a distinguished road
Hi dear all
I would like to have the time series of several variables for one or several points of the field domain after solving the case. It's not important for me to have outputs of all points of the domain in writeTime intervals.
Is there any option or tool, I can set this option or any option in paraView that I get time series of variables for one point?

Thanks
Best regards
mary mor is offline   Reply With Quote

Old   February 15, 2014, 14:46
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,594
Rep Power: 24
ngj will become famous soon enoughngj will become famous soon enough
Hi Mary,

Have you tried the sample utility? It can be used both as runTime and post-processing utility.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is online now   Reply With Quote

Old   February 16, 2014, 15:31
Default
  #3
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 3
mary mor is on a distinguished road
Hi Niel,
I had a look at sampling section in user guide.
It says it writes the data in separate time files which is not my purpose. This way I have to look into every separate time step.
I want it to be written for a point in one single file.
Isn't there any other way?

Thanks
Best regards
mary mor is offline   Reply With Quote

Old   February 16, 2014, 15:36
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,594
Rep Power: 24
ngj will become famous soon enoughngj will become famous soon enough
Hi,

You can then either write your own utility or make a small post-processing tool, which concatenates the files from the outputted directories.

I am not aware of a utility, which outputs to a single file.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is online now   Reply With Quote

Old   February 16, 2014, 18:42
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,089
Rep Power: 19
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

There is probeLocations utility which exports values of a fields over time at a given set of points in one file.
alexeym is offline   Reply With Quote

Old   February 19, 2014, 12:08
Default
  #6
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 3
mary mor is on a distinguished road
Hi
Thanks Alexander. I found the utility and tried to use it after running the case.
This is how ProbeDict looks like:
Code:
// Fields to be probed. runTime modifiable!
fields
(
    pd
);

// Locations to be probed. runTime modifiable!
probeLocations
(
    (-0.375 -0.5 -0.01)
);
but after running command: "probeLocations" it writes the text blow without giving any variable for non of the time steps:

Code:
Create time

Create mesh for time = 0

Time = 0

Time = 0.02

Time = 0.04

Time = 0.06

Time = 0.08

Time = 0.1

Time = 0.12

Time = 0.14

Time = 0.16

Time = 0.18

Time = 0.2

Time = 0.22

Time = 0.24

Time = 0.26

Time = 0.28

Time = 0.3

Time = 0.32

Time = 0.34

Time = 0.4

Time = 0.6

Time = 0.8

Time = 1

Time = 1.2

Time = 1.4

Time = 1.6

Time = 1.8

Time = 2

Time = 2.2

Time = 2.4

Time = 2.6

Time = 2.8

Time = 3

Time = 3.2

Time = 3.4

Time = 3.6

Time = 3.8

Time = 4

Time = 4.2

Time = 4.4

Time = 4.6

Time = 4.8

Time = 5

Time = 5.2

Time = 5.4

Time = 5.6

Time = 5.8

Time = 6

End
Am I doing anything wrong?

Thanks
mary mor is offline   Reply With Quote

Old   February 19, 2014, 12:48
Default
  #7
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,089
Rep Power: 19
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

Probed values are in postProcessing/probes/<time>/<variable name> files.

In your case I guess time will be 0 (as you simulation starts at 0) and variable name will be pd.
alexeym is offline   Reply With Quote

Old   February 19, 2014, 16:56
Default
  #8
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 3
mary mor is on a distinguished road
Yes that was written in Probe folder
thanks so much...
mary mor 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
Sudden jump in Courant number NJG OpenFOAM Running, Solving & CFD 7 May 15, 2014 13:52
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 9 January 3, 2012 09:06
Time series of data at a point col16 OpenFOAM Post-Processing 41 April 11, 2011 07:06
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
Gmsh and samplesurface touf Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 December 10, 2007 03:27


All times are GMT -4. The time now is 10:02.