CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Area of patch

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

Like Tree10Likes
  • 1 Post By eivind
  • 9 Post By alexeym

LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2017, 11:29
Default Area of patch
New Member
Eivind Sønnesyn Willmann
Join Date: Jan 2017
Posts: 5
Rep Power: 7
eivind is on a distinguished road
I need to know the area of my inlet patch in order to be able to specify the average velocity from a giver flow rate.
I'm using the mappedPatch BC for the inlet with an average velocity, and a snappyHexMesh-ed mesh.

Is there a neat way to find the area of a patch?

Luttappy likes this.
eivind is offline   Reply With Quote

Old   April 6, 2017, 16:52
Senior Member
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 37
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym

If you have field, which is constant over the patch, you can use

postProcess -func 'patchIntegrate(name=inlet,field)'
Or you can open case in paraview, select inlet patch in 'Mesh regions' and use Integrate Variables filter. In SpreadSheetView, you select Attribute 'Cell Data', and there is column Area with area of the patch.
alexeym is offline   Reply With Quote


area calculation, patch

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
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 08:30
Non overlap area fractions saisanthoshm88 CFX 11 September 17, 2015 19:42
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 03:01
Multicomponent fluid Andrea CFX 2 October 11, 2004 06:12

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