|
[Sponsors] |
[OpenFOAM] data saved via plot over line filter is not equal to number of cells along that line |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 10, 2016, 00:45 |
data saved via plot over line filter is not equal to number of cells along that line
|
#1 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Dear Fellows
Its a while that I am using Paraview for post-processing my Foam based results. However, I hadn't noticed this issue before, probably because I did not need it. I have made a roughly 1 dimensional grid with the length of 10 in X direction (desired direction). In blockMeshDict I have used the value of 1400 for the edge between first and last points in X direction. So, I expect each cell has the length of 10/400 ( =0.00714 ) in X direction. When I use the 'plot over line' filter in x direction for plotting a variable (for instance, phi), I expect to have 1400 data on my line. However, paraview just gives me 101 points, which is significantly lower than what I expect. Why this happens? Is there any way to exploit 1400 data along X axis as I have mentioned for the devisions between first and last point (1400 cells in X direction) in blockMeshDict file? This snippet in my blockMeshDict shows that I have 1400 cells in X direction: Code:
vertices #codeStream { codeInclude #{ #include "pointField.H" #}; code #{ pointField points(8); points[0] = point(0, 0, 0); points[1] = point(10, 0, 0); points[2] = point(10, 0.05, 0); points[3] = point(0, 0.05, 0); points[4] = point(0, 0, 0.05); points[5] = point(10, 0, 0.05); points[6] = point(10, 0.05, 0.05); points[7] = point(0, 0.05, 0.05); os << points; #}; }; blocks ( hex (0 1 2 3 4 5 6 7) (1400 7 1) simpleGrading (1 1 1) ); Any hint is appreciated. Regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 07:31 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
SigFpe when running ANY application in parallel | Pj. | OpenFOAM Running, Solving & CFD | 3 | April 23, 2015 14:53 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |