CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Openfoam 1612 sampling problem (https://www.cfd-online.com/Forums/openfoam-solving/184878-openfoam-1612-sampling-problem.html)

anishtain4 March 13, 2017 13:40

Openfoam 1612 sampling problem
 
Hi,

I had to move on to openfoam 1612 due to some issues on 1606 for reconstructPar. Now I'm having more troubles with sampling. I've added the following to the controlDict to sample some planes on the run:
Code:

    sampledPlanes
    {
        type            surfaces;
        functionObjectLibs ("libsampling.so");
        writeControl    adjustableRunTime;
        writeInterval  0.002;
        surfaceFormat  raw;
        fields          (U p);

        interpolationScheme cellPointFace;

        surfaces
        (
// z constant planes (streamwise planes)
            zcm4
            {
                type            cuttingPlane;
                planeType      pointAndNormal;
                interpolate    true;
                triangulate    false;
                pointAndNormalDict
                {
                    point      (0.08 0.02 0.0093);
                    normal      (0 0 1);
                }
            }

Since the normal vector is in z direction all the z values should be constant (as it is in 1606) but after the run I'm having multiple parallel planes (other than z=0.0093). This happens on different directions too, for y normal planes for example.

This seems to be a bug, but I couldn't figure out how to report it as there's no "new issue" button on the bug report of the new system.

I couldn't find any other way to sample data at just one single plane in the new version. Does anyone has any suggestion?


All times are GMT -4. The time now is 16:34.