CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Missing cells in surface sampling output (https://www.cfd-online.com/Forums/openfoam-post-processing/239045-missing-cells-surface-sampling-output.html)

NotDrJeff October 18, 2021 07:19

Missing cells in surface sampling output
 
1 Attachment(s)
Hello!

I defined a surface sample in my controlDict and saved the output in VTK format. When looking at one of the outputs in paraview, I found that one of the surfaces has cells missing. The other surfaces I sampled did not have this problem. The difference (as far as I can tell) with this surface is that it aligns perfectly with the cell faces (I'm using a uniform hexahedral mesh).

Any ideas why this might be? Could this be because of my interpolation scheme?

https://www.cfd-online.com/Forums/at...1&d=1634555781

I'm using OF 2.4.x

Here is my sampling sub-dictionary:

Code:

      sliceDataInstantaneous
      {
          type                surfaces;
          functionObjectLibs  ("libsampling.so");

          enabled              true;

          outputControl        adjustableTime;
          //outputInterval        1; //when using timeStep
          writeInterval        100; //when using asjustableTime

          //timeStart            18000;
          //timeEnd              20000;

          surfaceFormat        vtk;

          interpolationScheme  cellPoint;

          fields
          (
              U
              ...
          );

          surfaces
          (
              ...
              slice_hub_centre
              {
                  type        plane;
                  basePoint    (1500 1500 90);
                  normalVector (0 0 1);
                  triangulate  false;
              }
              ...
          );
      }



All times are GMT -4. The time now is 08:41.