CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

access the information of the neighbour cell across a processor boundary?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2015, 07:18
Default access the information of the neighbour cell across a processor boundary?
  #1
Member
 
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 13
sophie_l is on a distinguished road
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
sophie_l is offline   Reply With Quote

Old   June 12, 2015, 18:57
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
I got these:


Beyond this, I never needed this myself, so I have no idea how it can be implemented


Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 15, 2015, 16:53
Default
  #3
Member
 
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 13
sophie_l is on a distinguished road
Hello Bruno,

Thank you very much for your time indeed. That's very helpful to me.

thanks,
Sophie
sophie_l is offline   Reply With Quote

Old   April 5, 2016, 03:20
Default
  #4
Member
 
Kai
Join Date: May 2010
Location: Shanghai
Posts: 61
Blog Entries: 1
Rep Power: 15
kaifu is on a distinguished road
Hi Sophie

Have you found the solution yet? I am also interested.

//Kai
__________________
Kai
kaifu is offline   Reply With Quote

Old   August 9, 2016, 14:05
Default
  #5
New Member
 
Join Date: Jan 2014
Posts: 7
Rep Power: 12
IColin is on a distinguished road
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
IColin is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 02:36
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 11:04
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Running, Solving & CFD 0 October 27, 2009 08:47
how to access each cell of a face? (user fortran) Katariina CFX 3 January 28, 2008 09:16
about the information of cell or grid zhou FLUENT 2 September 18, 2003 09:35


All times are GMT -4. The time now is 07:02.