|
[Sponsors] |
How to find face area of each cell in a boundary patch? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 31, 2013, 02:58 |
How to find face area of each cell in a boundary patch?
|
#1 |
Member
Hale
Join Date: May 2013
Posts: 53
Rep Power: 13 |
Hi,
Is there any way to find the face area of each cell belonging to a boundary patch? Is it possible to find them after the simulation is finished? thanks Hale |
|
September 4, 2018, 18:03 |
|
#2 | |
Senior Member
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12 |
Quote:
Code:
// mesh is a fvMesh, patchI is a label mesh.magSf().boundaryField()[patchI]; //1 mesh.boundary()[patchI].magSf(); //2 mag(mesh.boundaryMesh()[patchI].faceAreas()); //3 I tested the CPU time for each of these lines in one example. The result I got for this particular example was, normalized to the first one: 1: 1 2: 1.28 3: 37.4 <= One of the reasons why this is higher may be the fact that 76% of the faces in the example were in empty patches, so this line was calculating the area of 4.2 times more faces. Kind regards, Thomas |
||
April 15, 2019, 11:33 |
|
#3 | |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 9 |
Quote:
This is useful for, say using this data internally during calculations. However, I'd like to use the data for postprocessing. I tried to find something of this sort in OpenFOAM or through filters in paraview but reached a dead end. Is there any way I can find the individual cell areas of a patch by some postprocessing command? |
||
August 6, 2019, 08:06 |
|
#4 | |
New Member
Join Date: Apr 2017
Posts: 1
Rep Power: 0 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Fluent msh and cyclic boundary | cfdengineering | OpenFOAM Meshing & Mesh Conversion | 49 | November 29, 2024 22:16 |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |