|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 ![]() |
Dear all,
I would like to use two OpenFoam features at the same time: Multiple regions (meshes) and parallelization.. Before I start to dig in the code, I would like to ask if this is actually feasible and if you have any hint on how to do that.. I can decomposePar each mesh ( and I guess recomposePar as well ) but I am not sure then if the code can handle the two mesh partitions in a "quite" easy way... Regards, Daniele |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 ![]() |
This sounds quite hard. You'll have to run two mpirun jobs (one for each region) and somehow do the communication between the two jobs yourself.
Running both regions in the same mpirun job is not possible. E.g. reduce's (used in the linear solver) are over all processors so you would not be able to solve different equations on different processors. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 ![]() |
I would like to use the LES solution of a simple periodic pipe flow as the inlet condition of another more complex pipe flow with heat transfer.
at the beginning I made 2 regions and I passed the value from a section of the first region (periodic pipe) to the inlet of the second region (pipe with heat transfer). I was solving the equations in both regions at the same time.. This works fine with one processor but it seems that cannot be done in parallel.. but what about just reading a previous solution at each time step from another already solved case? In short, I would like to run coodles in parallel but at the beginning of each time step the program should use as inlet value the inlet values of another old computation.. is there any easy way to do that in parallel? Please give a hint, Daniele |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flow region with multiple exits | Dimitris | CFX | 4 | December 1, 2008 08:49 |
Solving parallel on 2 PCs | kar | OpenFOAM Running, Solving & CFD | 3 | February 11, 2008 13:53 |
Solving magnetic field multiple domains in same mesh | kar | OpenFOAM | 2 | January 30, 2008 07:54 |
Nonconvergence in a multiple region Laplacian problem | kmurphy | OpenFOAM Running, Solving & CFD | 4 | June 8, 2006 04:40 |
parallel solving | Ivan | CFX | 2 | November 1, 2005 01:27 |