|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Apr 2022
Posts: 8
Rep Power: 5 ![]() |
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;
}
);
|
|
|
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Apr 2022
Posts: 8
Rep Power: 5 ![]() |
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?
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|