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/)
-   -   Slice Sampling (interpolation)on ANSAgenerated mesh fails (glibc free),ok on SHM mesh (https://www.cfd-online.com/Forums/openfoam-post-processing/144212-slice-sampling-interpolation-ansagenerated-mesh-fails-glibc-free-ok-shm-mesh.html)

matteoL November 10, 2014 10:23

Slice Sampling (interpolation)on ANSAgenerated mesh fails (glibc free),ok on SHM mesh
 
Hello,
I am using OF2.2 and I am having trouble running a sampling slice when working with a volume mesh generated with ANSA.

Here is my functionIncludeDict:

slices
{
type surfaces;
storeFilter false;
functionObjectLibs ( "libsampling.so" );
outputControl timeStep;
outputInterval 100;
setFormat raw;
surfaceFormat vtk;
interpolationScheme cellPoint;
fields U;
surfaces
(
X_Movie_0
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
normalVector (1.000000 0.000000 0.000000);
basePoint (-1.000000 -0.000000 -0.000000);
}
interpolate true;
mergeTol 1e-8;
}
);
}

When I run it (with execFlowFunctionObjects -latestTime ) I get the following error:
urfaces slices: Reading surface description:
X_Movie_0

*** glibc detected *** execFlowFunctionObjects: double free or corruption (!prev): 0x00000000112848d0 ***
*** glibc detected *** execFlowFunctionObjects: free(): invalid next size (normal): 0x0000000010fe17e0 ***
*** glibc detected *** execFlowFunctionObjects: double free or corruption (!prev): 0x000000001087acd0 ***
*** glibc detected *** execFlowFunctionObjects: double free or corruption (!prev): 0x0000000013098d00 ***
*** glibc detected *** execFlowFunctionObjects: free(): invalid next size (normal): 0x00000000136d0880 ***
*** glibc detected *** execFlowFunctionObjects: double free or corruption (!prev): 0x0000000012675d60 ***
*** glibc detected *** execFlowFunctionObjects: double free or corruption (!prev): 0x0000000011f10520 ***
*** glibc detected *** execFlowFunctionObjects: malloc(): memory corruption: 0x0000000010bb2400 ***
*** glibc detected *** execFlowFunctionObjects: free(): invalid next size (normal): 0x00000000120b4550 ***
*** glibc detected *** execFlowFunctionObjects: free(): invalid next size (normal): 0x0000000013f0ea50 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x750c6)[0x2b08c8f590c6]

Notice that:
1)The same dictionary works perfectly on a SnappyHexMesh generated mesh.
2)This dictionary works if I change the flag interpolate to false.

I have tried the other interpolation schemes options but those fail as well..

Any idea?

thanks,
matteo

p.s.: ANSA mesh is a mix tets,pyramids,hexa.


All times are GMT -4. The time now is 10:25.