|
[Sponsors] |
How to get global cell index in parallel computation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 10, 2024, 03:33 |
How to get global cell index in parallel computation
|
#1 |
New Member
zzt
Join Date: Dec 2021
Posts: 7
Rep Power: 5 |
I am writing my own solvers. I have encountered some probelms in parallel computation.
1. How to get global cell index in parallel computation? 2. How to convert between global cell index and local cell index? 3. When doing some computations in cells, should I use global cell index or local cell index? Could someone give some advice? The available methods I found are outdated |
|
October 13, 2024, 16:12 |
|
#2 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22 |
1. How to get global cell index in parallel computation?
2. How to convert between global cell index and local cell index? see: https://www.openfoam.com/documentati...x.html#details examples: https://github.com/mattijsjanssens/m.../amgclSolver.C Question about globalindex 3. When doing some computations in cells, should I use global cell index or local cell index? In general OpenFOAM uses local indices, the global index may be required e.g. when linking OpenFOAM to external libraries. |
|
Tags |
global index, local index, parallel computation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 6, 2023 00:48 |
Fluent UDF wrong number of cells in parallel - correct in serial | dralexpe | Fluent UDF and Scheme Programming | 7 | May 17, 2018 09:26 |
Doubt about parallel processing | vishwesh | OpenFOAM Programming & Development | 0 | November 10, 2017 07:20 |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 15:06 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |