|
[Sponsors] |
March 1, 2017, 17:56 |
flowRatePatch error: Region has no faces
|
#1 |
New Member
Join Date: Mar 2017
Posts: 1
Rep Power: 0 |
Hi:
I am working with OpenFoam 4 and I am using simpleFoam to simulate the flow in an open channel. I am using cyclic boundary conditions in the inlet and outlet patches. I am trying to use flowRatePatch to calculate the discharge in the inlet or outlet patch, but I am getting this error: surfaceRegion flowRatePatch: patch(outlet): Region has no faces I don't know if I am doing something wrong or it is because flowRatePatch don't work with cyclic patches. Any help would be appreciated |
|
July 5, 2017, 03:49 |
|
#2 |
New Member
Michael Pusterhofer
Join Date: Feb 2017
Posts: 1
Rep Power: 0 |
Hi guys!
Is there any solution for this error message "Region has no faces"? I've got the error when i used volFlowRateSurface. It worked on similar cases, but how ever in my last case the flow calculation broke, no idea why... Mike |
|
September 8, 2017, 23:44 |
|
#3 |
New Member
Harrison Nobis
Join Date: May 2017
Location: Sydney, Australia
Posts: 3
Rep Power: 8 |
I'm Having the same problem for a decomposed case when one processor doesn't contain the patch I'm trying to calculate flow rate from:
[0] [0] [0] --> FOAM FATAL ERROR: [1] [1] [1] --> FOAM FATAL ERROR: [1] [0] surfaceRegion flowRatePatch(name=left_BC): patch(left_BC): Region has no faces [0] [0] From function void Foam::functionObjects::fieldValues::surfaceRegion: :initialise(const Foam::dictionary&) [0] in file surfaceRegion flowRatePatch(name=left_BC): patch(left_BC): Region has no faces [1] [1] From function void Foam::functionObjects::fieldValues::surfaceRegion: :initialise(const Foam::dictionary&) [1] in file fieldValues/surfaceRegion/surfaceRegion.C at line 457. [1] FOAM parallel run exiting [1] fieldValues/surfaceRegion/surfaceRegion.C at line 457. [0] FOAM parallel run exiting [0] Has anyone solved this problem? |
|
September 9, 2017, 03:39 |
|
#4 |
New Member
Harrison Nobis
Join Date: May 2017
Location: Sydney, Australia
Posts: 3
Rep Power: 8 |
Hey just fixed my problem so I figured I would post my solution:
My issue was I had decomposed my mesh in such a way that the faces I was trying to measure the flow rate across where also the boundaries between processors. My fix was to include: preservePatches (left_BC front) in my decomposeParDict hope this helps someone with a similar problem. |
|
September 4, 2018, 13:50 |
|
#5 |
New Member
Join Date: Aug 2018
Posts: 1
Rep Power: 0 |
Yes, it was. The right input at the right moment!
|
|
Tags |
flowratepatch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 09:23 |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 91 | December 21, 2022 04:50 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 09:42 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 03:21 |
snappyhexmesh remove blockmesh geometry | philipp1 | OpenFOAM Running, Solving & CFD | 2 | December 12, 2014 10:58 |