How to find face area of each cell in a boundary patch?
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 |
Quote:
Code:
// mesh is a fvMesh, patchI is a label 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 |
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? |
Quote:
|
All times are GMT -4. The time now is 00:14. |