View Issue Details

IDProjectCategoryView StatusLast Update
0003321OpenFOAMBugpublic2019-07-31 12:56
ReporterGreatTunaAssigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformGNU/LinuxOSUbuntuOS Version15.04
Product Version6 
Fixed in Version 
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

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-07-31 12:56 GreatTuna New Issue