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

Getting data of a specific point

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2016, 06:03
Default Getting data of a specific point
  #1
Member
 
Almond Wong
Join Date: May 2016
Posts: 68
Rep Power: 9
BakedAlmonds is on a distinguished road
Hi,

I would like to know how to get the data at a specific location in paraView if that is possible.

For an example, lets use the cavity tutorial with a slight change in the dimensions:
vertices
(
(0 0 0)
(1 0 0)
(1 1 0)
(0 1 0)
(0 0 1)
(1 0 1)
(1 1 1)
(0 1 1)
);

Then after blockMesh > icoFoam> paraFoam, the results will be out. But say I want to get the velocity result at point (0.5 0.5 0.5), is it possible and how? I am interest in the magnitude and direction of the velocity at this point.

I am new to OpenFOAM and would really appreciate any help provided!
Thanks in advance!!! =)
BakedAlmonds is offline   Reply With Quote

Old   May 24, 2016, 07:11
Default
  #2
New Member
 
G.Bevensee
Join Date: Mar 2016
Posts: 3
Rep Power: 10
Gubevens is on a distinguished road
Hi,

i can show you how i got temperature at specific points of my simulations out:

post this (its called function object) at the end of your ControlDict file



functions
{

probes
{
type probes;
functionObjectLibs ("libsampling.so");
enabled true;
outputControl timeStep;
outputInterval 1;

fields
(
T
);

probeLocations
(
(-0.5 -3 0.75)
(-0.5 -3 2.95)
(-2 -3 0.75)
(-2 -3 2.95)
);

}

}


then run the Solver. During the Simulation a folder will be created with a textdocument. (path is CASE/postprocessing/probes) There you find the values of the wished parameter for each timestep

You can plot these with gnuplot for example to see how the values changes and reach a value during the simulation for convergence view.

I hope thats what you are searching for

best regards
Gubevens is offline   Reply With Quote

Old   May 24, 2016, 09:33
Default
  #3
Member
 
Almond Wong
Join Date: May 2016
Posts: 68
Rep Power: 9
BakedAlmonds is on a distinguished road
thank you for the reply!!! it works!!!
Really appreciate it!!
BakedAlmonds is offline   Reply With Quote

Old   June 2, 2016, 08:14
Default
  #4
Member
 
Almond Wong
Join Date: May 2016
Posts: 68
Rep Power: 9
BakedAlmonds is on a distinguished road
Hi Gabevens,

Hope you can help me on another issue. I want to get the velocity factor out at specific points where I used the example you showed. Is there anyway to get a scalar velocity data instead of a vector data?
BakedAlmonds is offline   Reply With Quote

Old   June 2, 2016, 08:21
Default
  #5
New Member
 
G.Bevensee
Join Date: Mar 2016
Posts: 3
Rep Power: 10
Gubevens is on a distinguished road
Hi,

well look at this: http://cfd.direct/openfoam/user-guide/function-objects/
there is a object "calcMag" maybe this one could help

best regards
Gubevens is offline   Reply With Quote

Old   June 2, 2016, 08:58
Default
  #6
Member
 
Almond Wong
Join Date: May 2016
Posts: 68
Rep Power: 9
BakedAlmonds is on a distinguished road
Thanks again for the fast response. I will try it out.
BakedAlmonds 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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
[General] Point data Or Cell data chenxizh ParaView 4 October 28, 2013 07:44
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
error message cuteapathy CFX 14 March 20, 2012 06:45
report data at a specific point in 3D domain augursal STAR-CCM+ 1 August 26, 2009 04:15


All times are GMT -4. The time now is 14:09.