|
[Sponsors] |
August 5, 2021, 16:13 |
Usage of isRegionPatch
|
#1 |
New Member
Saumava Dey
Join Date: Sep 2020
Posts: 29
Rep Power: 6 |
I am trying to access the patch values of the field 'h' for a region from it's coupled patches. The snippet of the code looks like this:
forAll(mesh.boundaryMesh(), patchID) { if (isRegionPatch(patchID)) { forAll(h.boundaryField()[patchID], faceID) { qINT[faceID] = qINT[faceID] + h.boundaryField()[patchID][faceID]; } } } I think the use of the function 'isRegionPatch' is incorrect. Can anyone provide me with the correct usage of the function 'isRegionPatch'? |
|
Tags |
coupled boundary, multiregions |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Large memory usage for steady simulation | Wenqiang | SU2 | 2 | May 15, 2020 14:40 |
[ANSYS Meshing] is my memory usage normal? | Renold | ANSYS Meshing & Geometry | 2 | April 9, 2019 15:09 |
New workstation for different usage scenarios - CPU and RAM | natem | Hardware | 6 | August 7, 2013 03:47 |
Boosting CPU usage | earlybird | FLUENT | 2 | November 2, 2012 11:32 |
OpenFOAM Solver/BC usage description | murrayjc | OpenFOAM | 3 | August 25, 2009 05:48 |