View Issue Details

IDProjectCategoryView StatusLast Update
0003321OpenFOAMBugpublic2019-12-04 11:52
ReporterGreatTuna Assigned Towill  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformGNU/LinuxOSUbuntuOS Version15.04
Summary0003321: wallHeatFlux sampling or other derived fields
DescriptionHi,

It appears that the command line post-processing tool does not like derived fields, such as wallHeatFlux, wallShearStress, yPlus.

I have used chtMultiRegionFoam, but I assume it will be true for the rest as well..

--> FOAM Warning :
    From function Foam::label Foam::sampledSurfaces::classifyFields()
    in file sampledSurface/sampledSurfaces/sampledSurfacesGrouping.C at line 75
    Cannot find registered field matching wallHeatFlux

The surfaces script itself I used is:
/*--------------------------------*- C++ -*----------------------------------*\
  ========= |
  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
   \\ / O peration | Website: https://openfoam.org
    \\ / A nd | Version: 6
     \\/ M anipulation |
-------------------------------------------------------------------------------
Description
    Writes out surface files with interpolated field data in VTK format, e.g.
    cutting planes, iso-surfaces and patch boundary surfaces.

    This file includes a selection of example surfaces, each of which the user
    should configure and/or remove.

\*---------------------------------------------------------------------------*/
type surfaces;
libs ("libsampling.so");
region fluid;
writeControl writeTime;

surfaceFormat raw;
interpolationScheme face;

fields (p T wallHeatFlux);
surfaces
(
    CAD
    {
        type patch;
        patches (fluid_to_solid);
        interpolate false;
        
    }
);


// ************************************************************************* //
Steps To Reproducerun a tutorial.
foamGet wallHeatFlux

run my script
TagsNo tags attached.

Activities

will

2019-12-04 11:52

manager   ~0010956

Confirmed as working both in 6 and dev if an additional command is used to actually run the wallHeatFlux function (not just "get" it).

Issue History

Date Modified Username Field Change
2019-07-31 12:56 GreatTuna New Issue
2019-12-04 11:52 will Assigned To => will
2019-12-04 11:52 will Status new => closed
2019-12-04 11:52 will Resolution open => no change required
2019-12-04 11:52 will Note Added: 0010956