|
[Sponsors] | |||||
How to find the number of points in a boundary? |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Dominic
Join Date: May 2016
Posts: 27
Rep Power: 11 ![]() |
Hello, I was wondering if someone could help me with a simple problem - I'm looking to be able to obtain the total number of points in a certain boundary (say, "wall"). I know to obtain the total number of points one needs, say:
Code:
int nPoints = mesh.nPoints(); Last edited by Verse; August 18, 2016 at 09:59. |
|
|
|
|
|
|
|
|
#2 | |
|
Member
Jerry
Join Date: Oct 2013
Location: Salt Lake City, UT, USA
Posts: 52
Rep Power: 14 ![]() |
Hi Verse,
The following is my idea, I hope it can help you. Quote:
|
||
|
|
|
||
|
|
|
#3 |
|
New Member
Dominic
Join Date: May 2016
Posts: 27
Rep Power: 11 ![]() |
Thanks Jerry! Works perfectly, really appreciate it.
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
| Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
| Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 10:23 |
| decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
| [blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |