|
[Sponsors] |
May 24, 2016, 06:03 |
Getting data of a specific point
|
#1 |
Member
Almond Wong
Join Date: May 2016
Posts: 68
Rep Power: 9 |
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!!! =) |
|
May 24, 2016, 07:11 |
|
#2 |
New Member
G.Bevensee
Join Date: Mar 2016
Posts: 3
Rep Power: 10 |
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 |
|
May 24, 2016, 09:33 |
|
#3 |
Member
Almond Wong
Join Date: May 2016
Posts: 68
Rep Power: 9 |
thank you for the reply!!! it works!!!
Really appreciate it!! |
|
June 2, 2016, 08:14 |
|
#4 |
Member
Almond Wong
Join Date: May 2016
Posts: 68
Rep Power: 9 |
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? |
|
June 2, 2016, 08:21 |
|
#5 |
New Member
G.Bevensee
Join Date: Mar 2016
Posts: 3
Rep Power: 10 |
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 |
|
June 2, 2016, 08:58 |
|
#6 |
Member
Almond Wong
Join Date: May 2016
Posts: 68
Rep Power: 9 |
Thanks again for the fast response. I will try it out.
|
|
|
|
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 |