View Issue Details

IDProjectCategoryView StatusLast Update
0000666OpenFOAMBugpublic2012-11-01 10:56
Reporterprojectionist Assigned Touser21 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinux 64bitOSUbuntuOS Version12.04
Summary0000666: sample utility does not sample fields on surfaces
DescriptionI tried to sample values on a plane in my domain. My domain is 0.2 x 0.05 x 0.6 metres. My sample plane is defined by basePoint and normalVector.

When using OF2.1.x sample creates a folder named "surfaces" and sub-folders containing the time steps. However, nothing is written to These sub-folders.

When using OF2.0.x sample works as expected.

My versions are

Build : 2.1.x-4da5ad7fc542
Build : 2.0.x-5ae28021cd90
Steps To Reproduce// my sampleDict
setFormat raw;
surfaceFormat raw;

formatOptions
{
    ensight
    {
        format ascii;
    }
}

interpolationScheme cell;//PointFace;

fields
(
    Ub
);

surfaces
(
    sampleSurface
    {
        type plane; // always triangulated
        planeType pointAndNormal;
        basePoint (0.1 0.025 0.4);
        normalVector (0 0 1);
        /*pointAndNormalDict
        {
            basePoint (0.1 0.025 0.4);
            normalVector (0 0 1);
        }*/
        interpolate true;

        //- Optional: restrict to a particular zone
        // zone zone1;
    }
);
TagsNo tags attached.

Activities

jacob

2012-10-31 16:57

reporter   ~0001760

I can confirm this. It seems to me that is the 32f9812c3ce9... commit that is to be blamed, https://github.com/OpenFOAM/OpenFOAM-2.1.x/commit/32f9812c3ce92c7a9d1d175166e15d29788a4229 , from Aug 28. The previous commit works flawlessly.

user21

2012-11-01 10:56

  ~0001761

Thanks for the report.
The bug was fixed in commit:
323adf949037f2bdfb5aeff628a66879587c82d3

Issue History

Date Modified Username Field Change
2012-10-23 12:01 projectionist New Issue
2012-10-31 16:57 jacob Note Added: 0001760
2012-11-01 10:56 user21 Note Added: 0001761
2012-11-01 10:56 user21 Status new => resolved
2012-11-01 10:56 user21 Resolution open => fixed
2012-11-01 10:56 user21 Assigned To => user21