Running mapFields with Parallel Source and Parallel Target
Hello Foamers,
Basically my problem is that I want to decompose a case, run it out for a certain number of iterations, refine where needed using a cellSet by field and then refineMesh (both with -parallel), map the coarse mesh's fields onto the finer mesh and then continue, I was hoping to do all of this without reconstructing the mesh. (By the way I'm working in OF 1.7.1.) My only sticking point so far is the fact that when I run mapFields with the -parallelSource and -parallelTarget flags the command throws some warnings (see output below) and nothing is written out in the target directory. It looks to me like each of the source processor directories tries to map to each of the target processor directories, which doesn't make sense. I make the call like this from the target case directory... Code:
mapFields ../test1 -parallelTarget -consistent -sourceTime latestTime -parallelSource Does anyone have any experience working with mapFields in parallel? I have no clue what I'm doing wrong! Thanks. Code:
Create databases as time |
Updates!
I don't want to be one of those people that solve the problem and don't tell anyone else how they did it...
Basically what I did was rather than use the -parallelSource and -parallelTarget flags, I ran map fields on each processor directory individually. So the call from the source case directory was: Code:
mapFields ../TargetCase/processorX -case processorX -sourceTime latestTime -consistent The odd thing is that I would assume this is exactly how it would work if both the -parallelSource and -parallelTarget flags were set. Anyone know if this is a bug in the OF 1.7.1 code? |
Similar problem here. I tried
Code:
mapFields ../H12 -sourceTime 8.3 -parallelSource Code:
Source time: 8.3 |
Hi David!
I got the same problem as described in the post, and I tried your method which is to reconstruct the source case. Then the warnings did disappeared, however, nothing was written into processor folders. The command I used is Code:
mapFields ../test_parallel -parallelTarget -consistent Code:
Create databases as time Do you have any idea why this happens? Thanks in advance! |
Sorry, it's been too long and there were many changes in OF since 2011 so I'm not up to date in this matter. If parallel mapping is still not working as intented, you could create a small test case and submit it to the bug tracker.
Cheers, David |
All times are GMT -4. The time now is 18:10. |