directMappedFixedValue in parallel foam-extend 3.2
Hi,
I'm looking to use directMappedFixedValue for LES simulations in foam-extend 3.2. However, I have come across a problem when working in parallel (which has been discussed before). The mapped boundary condition doesn't decompose properly. I have tried decomposing with different methods (scotch, metis, hierarchial) and with different number of processors. It seems to decompose up to 6, but anything beyond this it gives me the following error. Code:
--> FOAM FATAL ERROR: I am looking to use at least 60 or 120 processors, so at the moment it is not looking promising. Any help would be great! N.B. I have also tried on foam-extend 4.1 and it does the same. |
Quote:
put the patch in question in one single processor. You can do that in decomposeParDict. |
Quote:
Try OFplus versions. |
Quote:
|
Quote:
Entended uses many codes and many funtionalities which are not fully debugged, like immersed boundary, and many dynamic meshes. The BC that you are using may work in extended version but for sure it comes from foundation version. |
I have used other OpenFOAM versions (OF5) and used the mapped condition on that version without any issues.
However, I am using specific solvers only in foam-extend 3.2, hence why I am using this over the 'standard' versions. |
Quote:
|
Quote:
Remember, IO during runtime is better done by one single process. In OpenFOAM (foundation, etc) they have created buffered commnications, which avoid race conditions, but make the code slower. In extend there us no such thing, so it puts a bit more responsibility on the user... |
Quote:
|
Hi Santiago,
Quote:
Quote:
I will definitely give it a try, and get back to you. |
Quote:
I had recently exactly the same problem. There can be three reasons for that: 1. The mapped direction should be always decomposed in one core. So, if you mapped in x-direction then decompose parameters should be like that: simpleCoeffs { n ( 1 y z); delta 1e-16; } where y and z are varied parameters. 2. Reducing the delta parameter to e-16 can also help. 3. Sometimes if the division result of the number of cores in a specific direction by the amount of the mesh nodes in that direction is not an integer you will get the error. To cut a long story short - if you split z-direction into 6 cores and the amount of mesh nodes in the z-direction is 10 then it is possible to get errors (the amount of cores should be 2 or 5 in that case). I hope it helps. Regards, Artem |
Hi Artem,
Thank you for your suggestions. I gave them all a go, but still no luck with get it to decompose properly. None of your suggestions seem to work for both the pitzDailyDirectMapped tutorial case and my own cases. Thanks anyway Nat |
Quote:
I just checked pitzDailyDirectMappedtutorial and decomposed it for 4 domains without any trouble. I am using foam-extend 4.0 Tutorial decomposition seems to be okay for me.. Did you change something in the tutorial? regards, Artem |
Hi Artem,
Yes that tutorial works fine decomposing up to 6 processors. However, I will be using over 60 CPUs so it looks like this will not work for my cases. Thanks |
All times are GMT -4. The time now is 23:57. |