|
[Sponsors] |
May 3, 2021, 08:09 |
Error in obtaining faceIndex
|
#1 | ||
Member
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 7 |
Dear All,
I am trying to obtain the face IDs of a particular patch in the geometry. I am using Openfoam 5 version. I wrote this code shown below. Code:
code #{ const fvPatch& mesh = this->patch(); //const vectorField& Cf = mesh.Cf(); const fvBoundaryMesh& boundaryMesh = mesh.boundaryMesh(); forAll(mesh.boundaryMesh()[patch], facei) { const label& face = boundaryMesh[patch].start() + facei; // Face index } #}; Error 1: Quote:
Quote:
Any leads will with appreciated. Regards, Sunag R A. |
|||
Tags |
code stream, controldict, openfoam, post process |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Obtaining a clean post production contour plot | Lapis1 | ANSYS | 2 | June 22, 2017 06:46 |
Problem obtaining normal vectors on blade loading line | francois louw | CFX | 10 | April 26, 2016 05:47 |
Obtaining results from simulation | geod | FLUENT | 3 | February 27, 2015 10:44 |
Failing to obtaining the shadow wall | Bright | ANSYS | 0 | September 26, 2013 04:50 |
Obtaining Nu result from internal fin channel | andrew | FLUENT | 2 | March 1, 2007 22:38 |