CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

how to use Sample utility on surfaceField

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2020, 22:42
Default how to use Sample utility on surfaceField
  #1
New Member
 
Join Date: May 2016
Posts: 11
Rep Power: 9
samwong is on a distinguished road
Hi everyone,

I used sample utility for volScalarField without any problem.
However when I use it on volScalarField data today, the field data is not being process and the std output is "Reading fields: surfaceScalarField: Eflux" and "No fields to sample", which confused me.
I tried to change interpolationScheme from cellPoint to cellPointFace but nothing changes.

Any help would be appreciated. thank you.

Std output as below.

Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Overriding DebugSwitches according to controlDict
    SolverPerformance 0;

Create mesh mesh for time = 3000

Reading set description:
    data

Time = 3000

Reading fields:
    surfaceScalarField: Eflux

Executing functionObjects
No fields to sample

End
My sampleDict is as below.

Code:
FoamFile
{
  version 2.0;
  format  ascii;
  class   dictionary;
  object  sampleDict;
}

libs ("libsampling.so");
type sets;

interpolationScheme cellPointFace;
setFormat       raw;
sets
(
    data
    {
        type    uniform;
        axis    z;
        start   (0 0 0);
        end     (0 0 1);
        nPoints 50;
    }
);

fields          (  Eflux );
samwong is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sample utility bug? For many cloud points in the sampleDict, some are neglected! brandius OpenFOAM Post-Processing 10 August 22, 2022 09:56
Sample Utility not working in OpenFoam 1.6 titio OpenFOAM Post-Processing 6 November 15, 2014 18:04
Sample utility not working properly titio OpenFOAM 2 June 9, 2010 10:45
Understanding the coordinates of sample utility vishwa OpenFOAM Post-Processing 4 March 25, 2010 12:51
Sample Utility not working in OpenFoam 1.6 titio OpenFOAM Post-Processing 0 February 5, 2010 12:12


All times are GMT -4. The time now is 11:51.