|
[Sponsors] |
September 4, 2022, 06:12 |
sample refined surface and keep cell order
|
#1 |
New Member
Join Date: Apr 2022
Posts: 8
Rep Power: 3 |
Hey,
I have a refined mesh after using snappyHexMesh and I want to sample data from a surface of that mesh with one sample each cell. But the samples are in a different order than the real cell order of the surface. Is there any way to preserve the right cell order? This is my surface file: Code:
type surfaces; libs ("libsampling.so"); writeControl writeTime; surfaceFormat raw; fields ( U); interpolationScheme cellPoint; surfaces ( surface { type cuttingPlane; planeType pointAndNormal; pointAndNormalDict { point (1 0 0); normal (1 0 0); } interpolate false; } ); |
|
September 7, 2022, 04:13 |
|
#2 |
New Member
Join Date: Apr 2022
Posts: 8
Rep Power: 3 |
Or , to put the question in a different way: Is it possible with this surfaces file to get an extra column with the cell id number?
|
|
|
|