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

Error when sampling a symmTensor variable

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2021, 06:30
Default Error when sampling a symmTensor variable
  #1
Senior Member
 
Syavash Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Dear Foamers,

I am using OpenFOAM v2012. When I input a symmTensor quantity to be sampled via the command "postProcess -func samplePlanes -latestTime", I get the following error:

Code:
Executing functionObjects
--> FOAM Warning :
--> FOAM FATAL IO ERROR: (openfoam-2012)
Entry 'type' has 1 excess tokens in stream

    2(tensor symm)

file: fields.UPrime2Mean at line 0.

The UPrime2Mean is the quantity of interest. It exists in the database but apparently foam has some issues with it. I use the following dictionary in the "samplePlanes" file:


Code:
samplePlanes
{
    type            surfaces;
    libs            (sampling);
    surfaceFormat   ensight;
    writeControl    writeTime;
    fields          (U nut UMean nutMean UPrime2Mean);

    surfaces
    {
        symmPlanes
        {
            type        cuttingPlane;
            planeType   pointAndNormal;
            pointAndNormalDict
            {
                point   (0 0 0);  // slightly inside the domain
                normal  (0 0 1);
            }

//            offsets ( 500 1000 1500 2000 2500 3000 3500 4000 4500 );
        }
    }
}
As seen in the code above, there are other quantities for sampling. However, only UPrime2Mean is causing problem. I was wondering if this is a bug?

I appreciate any hint.

Sincerely,
syavash
syavash is offline   Reply With Quote

Reply


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
sampling interval and sampling frequency beauty FLUENT 13 November 9, 2022 08:23
[waves2Foam] surfaceElevation sampling utilities katakgoreng OpenFOAM Community Contributions 2 November 18, 2016 05:27
Modeling sampling valve in CONVEARGE williamchina CONVERGE 2 September 13, 2016 01:16
Possible bug or limitation in stl-generated surface for sampling analysis Ali Blues OpenFOAM Post-Processing 3 April 27, 2016 09:30
sampling Data during calculation JimKnopf OpenFOAM Post-Processing 0 May 27, 2011 04:10


All times are GMT -4. The time now is 05:12.