|
[Sponsors] |
access the information of the neighbour cell across a processor boundary? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 1, 2015, 08:18 |
access the information of the neighbour cell across a processor boundary?
|
#1 |
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Dear Bruno,
Is it possible to access the information of the neighbour cell across a processor boundary? I know how to do that if both owner and neighbour cell are on the same processor, however, I cannot do that if otherwise. I'm sure OpenFOAM swaps data on the processor boundary using syncTools and the like, but I don't know how to employ those functions in my own solver. What I want to realise is to know the value of alpha1 of the neighoubur cell across a processor boundary while I have the information of the face shared by its owner cell and neighbour cell, and I know the owner cell on the current processor. Therefore, I need to know the cell number of the neighbour cell on another processor. I am not sure if I can do that on the solver level of code. Could you share some hints on this please? Thanks for your time in advance. best Wishes, Sophie |
|
June 12, 2015, 19:57 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Sophie,
I've moved your post from the thread where you originally posted http://www.cfd-online.com/Forums/ope...-problems.html - since it was a bit out of context... i.e., this is a programming question. After a very brief Google search: Code:
site:www.cfd-online.com openfoam access neighbour across processor
Beyond this, I never needed this myself, so I have no idea how it can be implemented Best regards, Bruno
__________________
|
|
June 15, 2015, 17:53 |
|
#3 |
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Hello Bruno,
Thank you very much for your time indeed. That's very helpful to me. thanks, Sophie |
|
August 9, 2016, 15:05 |
|
#5 |
New Member
Join Date: Jan 2014
Posts: 7
Rep Power: 12 |
Hi, Sophie
I am also very interested in how the neighbor cell information is accessed during the parallel for cells with inter-processor interface. Have you found the solution? Colin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 03:36 |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 12:04 |
How to determine the direction of cell face vectors on processor patches | sebastian_vogl | OpenFOAM Running, Solving & CFD | 0 | October 27, 2009 09:47 |
how to access each cell of a face? (user fortran) | Katariina | CFX | 3 | January 28, 2008 10:16 |
about the information of cell or grid | zhou | FLUENT | 2 | September 18, 2003 10:35 |