View Issue Details

IDProjectCategoryView StatusLast Update
0003807OpenFOAMBugpublic2022-02-18 16:36
Reporterpeksa Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSUbuntuOS Version18.04
Product Versiondev 
Fixed in Versiondev 
Summary0003807: userTime conversion and cut-plane sampling issue
DescriptionDear developers,

When utilising the userTime conversion in controlDict, the surface sampling fails to write at user-given time intervals.

The issue may rise due to usage of mesh based time name in sampledSurfaces.C ?
Steps To Reproduce- Copy kivaTest tutorial from tutorials/combustion/XiFoam/RAS/kivaTest

- add the following cuttingPlane function object to controlDict

/* ---------------------------------------------- */
    cuttingPlane
    {
        type surfaces;
        libs ("libsampling.so");
    
        writeControl runTime;

        //writeInterval 1e-5; // WORKS
        writeInterval 1; // DOES NOT WORK
    
        surfaceFormat vtk;
    
        fields ( p U );
    
        interpolationScheme cellPoint;
    
        surfaces
        (
            zNormal
            {
                type cuttingPlane;
                planeType pointAndNormal;
                point (0 0 0);
                normal (0 1 0);
                interpolate true;
            }
        );
    }
/* ---------------------------------------------- */


- Run by executing XiFoam
- No cutplanes are produced with 1 CAD time intervals
- change writeInterval to 1e-5 (relevant physical time) and run again.
- Now cut-planes are produced.
TagsNo tags attached.

Activities

henry

2022-02-18 16:36

manager   ~0012496

Resolved by commit 842a6021f7311fb728763fe2ece1cf6ab39c23f7

Issue History

Date Modified Username Field Change
2022-02-17 13:22 peksa New Issue
2022-02-18 16:36 henry Assigned To => henry
2022-02-18 16:36 henry Status new => resolved
2022-02-18 16:36 henry Resolution open => fixed
2022-02-18 16:36 henry Fixed in Version => dev
2022-02-18 16:36 henry Note Added: 0012496