Bad parallelization. Has this ever happened to you??? :O
2 Attachment(s)
Hi,
I was trying to solve the problem of a magnetically confined conductive fluid in a periodic cylinder. The results for a serial simulation gives resonable results... But when I run the simulation for 2 processors one can distinguish 2 zones in the cylinder (one per processor). If I am using 3 one can distinguish 3 zones. Same for 4. I suppose that there is a problem in the comunication between the cells at the boundaries of each processors zone. I am using scotch method. I tried (it did not work):
I suppose that the problem is in the solver that I am using (a mhdFoam slightly modified). mhdFoam works well with parallelization. But when one wants to add a external magnetic field one has to modify the equation for B (with , is the same for all t).
Maybe the problem is to sum B=BVble+BFixed in this way?? Attachment 73469 Attachment 73470 |
I tried the same case with the OF series solver for MHD. I used the same configuration and the same magnetic field profile but without an external magnetic field source at t> 0, that is, it is an MHD decay. The result has been the same as with the modified solver.
I have tried the same thing in a box with periodic conditions on the sides and I have not seen anything unusual. It seems that the quality of the parallelization in OF depends on how simple the mesh is. If it is a bit complicated it seems that parallelization does not work so well. If this is true is an OF internal issue and I cannot do anything. Am I right? |
yes you can. submit an issue ticket in gitlab repo.
|
Hi HPE,
Thanks for answering. I do not understand what you mean :( |
My apologies. I wrote that while I was in bed. :)
>> If this is true is an OF internal issue and I cannot do anything. I meant that if you think that there is an internal issue in OF, you can submit a bug ticket in gitlab repository, so that the developers can have a look at the issue, and evaluate it for you. |
All times are GMT -4. The time now is 17:58. |