|
[Sponsors] |
Trying to figure out how the data-sampling works in OpenFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2014, 11:16 |
Trying to figure out how the data-sampling works in OpenFOAM
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18 |
Dear Foamers,
I am trying to figure out how the data-sampling works in OpenFOAM. I am attaching a very simple case. What I am doing is to compare the point value for the velocity both using the sample function and using paraview (save data). As far as the sampling is concerned, please refer to the following: Points: Code:
9 ( (0 1 0) (0 1 0.5) (0.5 1 0.5) (0.5 1 0) (0 1 1) (0.5 1 1) (1 1 0.5) (1 1 0) (1 1 1) ) Code:
9 ( (2.50406934788e-07 0.0333363500503 2.03689961884e-07) (2.20364168892e-07 0.0500041590215 3.01401880378e-07) (4.32465092261e-07 0.100007811468 2.92313951714e-07) (3.71477651481e-07 0.050004098157 1.5028844484e-07) (4.34119570677e-08 0.0333358619783 1.98179211954e-07) (6.09874407803e-08 0.050003713311 1.42025506874e-07) (2.12100923369e-07 0.0500036524465 -9.08792866413e-09) (2.4489660052e-07 0.0333357808257 -3.30536876394e-09) (3.79046306393e-08 0.0333357557697 -8.8118694549e-09) ) Code:
"U:0","U:1","U:2","Points:0","Points:1","Points:2" 7.5122e-07,0.10001,6.1107e-07,0,1,0 4.4073e-07,0.10001,6.028e-07,0,1,0.5 4.3247e-07,0.10001,2.9231e-07,0.5,1,0.5 7.4296e-07,0.10001,3.0058e-07,0.5,1,0 1.3024e-07,0.10001,5.9454e-07,0,1,1 1.2197e-07,0.10001,2.8405e-07,0.5,1,1 4.242e-07,0.10001,-1.8176e-08,1,1,0.5 7.3469e-07,0.10001,-9.9161e-09,1,1,0 1.1371e-07,0.10001,-2.6436e-08,1,1,1 Thanks for help, Samuele. |
|
July 22, 2014, 16:22 |
|
#2 |
Member
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 13 |
Hi Samuelle,
I saw that in your sampleDict file you have turned on interpolation. I am not sure but that might be causing the difference between the sampled values and one obtained from paraView. -Animesh |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 14:06 |
studying a valve case | mina.basta | OpenFOAM | 33 | August 30, 2013 04:46 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 10:52 |
using topographical data in openfoam | kerim | OpenFOAM | 2 | June 27, 2010 08:45 |
Abt: Schlieren figure in Tecplot using data | jinwon park | Tecplot | 2 | December 27, 2007 06:48 |