|
[Sponsors] |
calculating distance between neighboring points |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Kuang-Wu Lee
Join Date: Aug 2020
Posts: 2
Rep Power: 0 ![]() |
Hello Foamers,
I have a very fundamental question: how can we calculate the distance between neighboring mesh points (not the distance from mesh point to surface.) can someone help me?? thanks Jeff |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 793
Rep Power: 14 ![]() |
What do you mean by "neighboring mesh points"? Do you mean the distance between the centre of a cell and the centre of its neighbouring cells? Since this is an unstructured mesh, then you need to start by getting the cell numbers of the neighbouring cells, and their cell centres, and then it's simple trigonometry to get the separation distance. Is that what you are after?
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Invalid Normals for source face to target face while making AMI? | Sorabh | OpenFOAM Meshing & Mesh Conversion | 1 | August 3, 2021 07:35 |
[snappyHexMesh] layer not added | Rasmusiwersen | OpenFOAM Meshing & Mesh Conversion | 1 | January 2, 2020 10:43 |
[snappyHexMesh] SHM Layer Addition Phase | dickcruz | OpenFOAM Meshing & Mesh Conversion | 4 | November 1, 2018 08:05 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
snappyhexmesh remove blockmesh geometry | philipp1 | OpenFOAM Running, Solving & CFD | 2 | December 12, 2014 11:58 |