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

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Sophie,

I've moved your post from the thread where you originally posted Parallel Running With Problems - 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: 4
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

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 0 April 27, 2015 18:25
Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Mesh Utilities 57 February 1, 2015 09:25
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 09:35


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