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

postProcessing with topoSetDict using planeToFaceZone

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2022, 20:33
Default postProcessing with topoSetDict using planeToFaceZone
  #1
New Member
 
Join Date: Aug 2013
Posts: 7
Rep Power: 13
perao is on a distinguished road
Hi all,


I have a topoSetDict with the following instructions:


Code:
actions
(
    {
        name    nozzleOutFaceZone;
        type    faceZoneSet;
        action  new;
        source  planeToFaceZone;
        sourceInfo
        {
           include closest;
           point (0.016 0.00606 0);
           normal (1 0 0);
        }
    }
);
By running topoSet, I know that the instructions above are correct as I get in the terminal:

Code:
Created faceZoneSet nozzleOutFaceZone
    Applying source planeToFaceZone
    Adding faces which form a plane at (0.016 0.00606 0) with normal (1 0 0)
    Found 1 contiguous regions with 1(150) faces
    Selecting region 0 with 150 faces as the closest to point (0.016 0.00606 0)
     faceZoneSet nozzleOutFaceZone now size 150

However, I get an error when trying to use the newly created faceZone for postProcessing with - e.g. pressure:


Code:
solver -postProcess -func "faceZoneAverage(name=nozzleOutFaceZone, p)"
Error:

Code:
--> FOAM FATAL ERROR: 
surfaceFieldValue faceZoneAverage(name=nozzleOutFaceZone,field=p): faceZone(nozzleOutFaceZone):
     Unable to process internal faces for volume field p
and, as a consequence, the result for areaAverage(p) is not written into the postProcessing folder.

Any suggestions on how to fix it? It would be also acceptable an alternative answer using a functionObject instead, which I also could use with -postProcessing.

Using v9.

Kind regards,
perao is offline   Reply With Quote

Reply

Tags
planetofacezone, postprocessing, toposetdict


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
using fieldAverage library to average postprocessing eelcovv OpenFOAM Programming & Development 32 May 17, 2022 10:55
Creating an Angled, Smooth Wall with topoSetDict JakeAC OpenFOAM Pre-Processing 1 July 25, 2020 22:37
Issue with topoSetDict file MarineAiry OpenFOAM Running, Solving & CFD 2 September 4, 2019 14:13
The sampled data is not restricted to the defined zone in topoSetDict jiaodanuma OpenFOAM Post-Processing 1 August 14, 2018 08:25
topoSetDict error JohnJohn8 OpenFOAM Pre-Processing 1 August 3, 2016 06:20


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