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

How to export time series of variables for one point?

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

Like Tree1Likes
  • 1 Post By linyanx

Reply
 
LinkBack Thread Tools Search this Thread 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: 12
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: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
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 offline   Reply With Quote

Old   February 16, 2014, 15:31
Default
  #3
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12
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: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
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 offline   Reply With Quote

Old   February 16, 2014, 18:42
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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: 12
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,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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: 12
mary mor is on a distinguished road
Yes that was written in Probe folder
thanks so much...
mary mor is offline   Reply With Quote

Old   July 19, 2017, 11:54
Question can't recognize the probesDict while using 'postProcess -func probes'
  #9
Member
 
Linyan X
Join Date: Dec 2015
Posts: 43
Rep Power: 10
linyanx is on a distinguished road
Dear all,

I am trying to command 'probeLocations' to plot some variables along time series, but the system complains that

PHP Code:
probeLocations has been superceded by the postProcess utility:
    
postProcess -func probes
or
    
postProcess -func 'probes(p, U)' 
Therefore, I tried to command 'postProcess -func probes' in order to get the probes at several specific locations. However, the result is not exactly what I expected, it was totally a different story, plotting p and U at a (0,0,0) location(seems to plot these out by default). It seems like the probesDict in the system isn't recognized while commanding the'postProcess -func probes'.

Afterwhile, I was trying to command 'postProcess -func 'probes(U, I_overall)'. It gives me the desired field but, again, at the default location(0,0,0) instead of the location that I settled in the probesDict.

Could any one please tells me how to specify the location while command in the terminal? Or explains the reason for failing to recognize the probesDict?

Best,
Linyan
Saideep likes this.
linyanx is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40
Sudden jump in Courant number NJG OpenFOAM Running, Solving & CFD 7 May 15, 2014 14:52
Time series of data at a point col16 OpenFOAM Post-Processing 41 April 11, 2011 08:06
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 03:27


All times are GMT -4. The time now is 03:25.