|
[Sponsors] |
[OpenFOAM 3.0.1] DPMFoam domain decomposition bug |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 8, 2016, 13:45 |
[OpenFOAM 3.0.1] DPMFoam domain decomposition bug
|
#1 |
Member
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10 |
Hi All,
I am currently experiencing a weird bug whereby my case is freezing after attempting to update the kinematic cloud, but only when decomposing my mesh in a certain way. My case study models a particulate flow down a pipe, with cyclic boundary conditions placed at the ends and the LES-WALE turbulence model. When running in serial there are no errors and the solution seems reasonable. However, when decomposing the mesh (scotch or simple) in the z-direction the output file freezes at 'evolving kinematic cloud'. When decomposing the mesh in the (r,theta) directions the solver works again, but this seems like a very inefficient way to parallelise my pipe, especially when I start splitting it into 64 processors. My case directory can be found on this dropbox link: https://www.dropbox.com/s/qz9wpb5wt7...PM.tar.gz?dl=0 and I have attached the output file below. I have changed the case file slightly so that it runs (with the same issues) on the standard DPMFoam solver rather than my altered one. If someone could take a look at this I would be very grateful! Thanks, Charlie |
|
April 16, 2016, 18:35 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Charlie,
The solution is simple, you need to use preservePatches in "system/decomposeParDict": Code:
preservePatches (C1 C2); numberOfSubdomains 4; method simple; simpleCoeffs { n (4 1 1); delta 0.0001; } For more details/examples, check the main example dictionary file, whose path is given by the following command: Code:
echo $FOAM_UTILITIES/parallelProcessing/decomposePar/decomposeParDict Bruno
__________________
|
|
April 18, 2016, 07:40 |
|
#3 |
Member
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10 |
Hi Bruno,
I had tried the preservePatch feature before but clearly I got the notation wrong because your fix worked straight away! Thanks for the help, Charlie |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain decomposition method | Bram | OpenFOAM | 5 | November 28, 2017 05:42 |
Domain Decomposition | ertan | Main CFD Forum | 2 | September 1, 2009 13:22 |
CFX - domain decomposition. Urgent!!!! | Elena Saldaeva | CFX | 4 | June 30, 2008 08:18 |
CFX Solver Memory Error | mike | CFX | 1 | March 19, 2008 08:22 |
Domain decomposition | rajesh | Main CFD Forum | 2 | August 31, 1999 05:22 |