|
[Sponsors] |
March 27, 2016, 10:33 |
THREAD_T0 in parallel
|
#1 |
New Member
Join Date: Aug 2012
Posts: 5
Rep Power: 13 |
hi,everyone. I am now using THREAD_T0 to access the adjacent face of a interior face. while it does not work when the number of cpu over 8.does anybody know why?
|
|
March 28, 2016, 09:45 |
|
#2 |
New Member
Join Date: Aug 2012
Posts: 5
Rep Power: 13 |
the problem now is solved,it is caused by the code itself, mainly because of the message passing between node 0 and the remain nodes
|
|
April 15, 2020, 02:04 |
|
#3 |
New Member
Jerónimo Guarco
Join Date: Aug 2018
Posts: 2
Rep Power: 0 |
Hello. Would you care to ellaborate how exactly you solved this? Thank you very much
|
|
April 15, 2020, 14:59 |
Thread
|
#4 |
Senior Member
|
All the functions that access anything related to mesh, such as, THREAD_T0, can only be accessed by nodes and not by host when Fluent runs in parallel. Since new versions always run in parallel, even when Serial is selected at the launcher, you need to use this and other similar functions or macros within either
#if !RP_HOST #endif or #if RP_NODE #endif The precompiler directives ensure that there is no segmentation violation.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 11:58 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 18:45 |
simpleFoam in parallel issue | plucas | OpenFOAM Running, Solving & CFD | 3 | July 17, 2013 11:30 |
parallel Grief: BoundaryFields ok in single CPU but NOT in Parallel | JR22 | OpenFOAM Running, Solving & CFD | 2 | April 19, 2013 16:49 |