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

flowRatePatch error: Region has no faces

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

Like Tree1Likes
  • 1 Post By Harrison Nobis

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2017, 17:56
Default flowRatePatch error: Region has no faces
  #1
gea
New Member
 
Join Date: Mar 2017
Posts: 1
Rep Power: 0
gea is on a distinguished road
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
gea is offline   Reply With Quote

Old   July 5, 2017, 03:49
Default
  #2
New Member
 
Michael Pusterhofer
Join Date: Feb 2017
Posts: 1
Rep Power: 0
Mike_Pusti is on a distinguished road
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
Mike_Pusti is offline   Reply With Quote

Old   September 8, 2017, 23:44
Default
  #3
New Member
 
Harrison Nobis
Join Date: May 2017
Location: Sydney, Australia
Posts: 3
Rep Power: 6
Harrison Nobis is on a distinguished road
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?
Harrison Nobis is offline   Reply With Quote

Old   September 9, 2017, 03:39
Default
  #4
New Member
 
Harrison Nobis
Join Date: May 2017
Location: Sydney, Australia
Posts: 3
Rep Power: 6
Harrison Nobis is on a distinguished road
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.
AGhi likes this.
Harrison Nobis is offline   Reply With Quote

Old   September 4, 2018, 13:50
Default
  #5
New Member
 
Join Date: Aug 2018
Posts: 1
Rep Power: 0
AGhi is on a distinguished road
Yes, it was. The right input at the right moment!
AGhi is offline   Reply With Quote

Reply

Tags
flowratepatch

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
Decomposing meshes Tobi OpenFOAM Pre-Processing 20 October 1, 2021 10:51
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 90 October 3, 2019 07:01
[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


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