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

postProcess functionality in openFOAM 4 and total(p)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mnikku

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 26, 2017, 06:39
Default postProcess functionality in openFOAM 4 and total(p)
  #1
Member
 
LVDH's Avatar
 
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16
LVDH is on a distinguished road
Hi,
currently I am adapting some of my software to work with OF 4.1. The new post processing functionality is giving me a hard time though.
If I for example run the motorBike tutorial and create a total pressure field using:
Code:
mpirun -np 6 postProcess -func 'totalPressureIncompressible(U,p)' -parallel -latestTime
I get a new field in the 500 folder called "total(p)".
If I now modify the cuttingPlane stuff to this to include the total pressure:
Code:
cuttingPlane
{
    type            surfaces;
    libs ("libsampling.so");
    writeControl    writeTime;

    surfaceFormat   vtk;
    fields          ( p U total(p));

    interpolationScheme cellPoint;

...
I will later not get the expected cutting planes but this message:
Code:
--> FOAM Warning : 
    From function Foam::label Foam::sampledSurfaces::classifyFields()
    in file sampledSurface/sampledSurfaces/sampledSurfacesGrouping.C at line 75
    Cannot find registered field matching total(p)
In older OF versions I simply renamed the field with brackets to something new and it worked. If I do that now it does not help. The funny thing is that in 4.1 using total(p) as a field to create an isosurface does work.
So as I prefer not to change anything in the OF code I am wondering what I can do. I tried casting the brackets with all kinds of tricks but it never helped.

Does anyone have an idea?
__________________
www.MantiumCAE.com
LVDH is offline   Reply With Quote

 


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
a reconstructPar issue immortality OpenFOAM Post-Processing 8 June 16, 2013 11:25


All times are GMT -4. The time now is 01:31.