|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Ho Hsing
Join Date: Mar 2009
Posts: 13
Rep Power: 6 ![]() |
I am going to run a curved slim pipe flow in cluster. The idea decompose method would be evenly cutting the whole domain along the length direction.
How to set the "manualCoeffs" if I am going to try manual method? Thanks! |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,695
Rep Power: 17 ![]() |
Manual requires you to prepare a file giving a processor number for each cell in the mesh, (starting from 0). Once you do that, choose the
method manual; in system/decomposeParDict and under manualCoeffs { dataFile "HERE!!!"; } give the name of the file you have prepared. However, I am pretty certain that automatic methods (say, metis) will give you a decent decomposition as well. Enjoy, Hrv
__________________
Hrvoje Jasak |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Ho Hsing
Join Date: Mar 2009
Posts: 13
Rep Power: 6 ![]() |
Thanks Hrv,
I have tried the metis method, but the result is not good. Metis method assigns number of grid to each cluster node with regard to the weight value I setted, but it decomposed the domain in both width and length directions which resulted in a huge number of grid in the shared face. Can I control it to decompose the curved domain in length direction only? |
|
|
|
|
|
|
|
|
#4 |
|
New Member
Attila Schwarczkopf
Join Date: Mar 2009
Posts: 7
Rep Power: 6 ![]() |
Hi Hrv,
I understand how to force the manual decomposition in system/decomposeParDict, but unfortunatelly I could not manage to prepare the "cellDecomposition" file, although I read carefully what you wrote in your last post. A simple example of this file's structure would be very-very useful, indeed. Thanks, Schwarczi |
|
|
|
|
|
|
|
|
#5 |
|
Member
Join Date: Sep 2009
Posts: 45
Rep Power: 5 ![]() |
Hi all,
I'm not sure but is that right if we use decomposePar before using mapFields? or do we need to do the reverse order ? Thanks! |
|
|
|
|
|
|
|
|
#6 |
|
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 345
Rep Power: 12 ![]() |
The cellDecomposition file is basically a labelIOList, so you create an object in whatever utility you are using to write the file. An example might be:
Code:
labelIOList flameMeshManualCoeffs
(
IOobject
(
"flameMeshManualCoeffs",
runTime.time().constant(),
mesh,
IOobject::NO_READ,
IOobject::NO_WRITE
),
cellToProcessorList
);
flameMeshManualCoeffs.write();
__________________
Laurence R. McGlashan :: Website |
|
|
|
|
|
|
|
|
#7 |
|
Member
Join Date: Sep 2009
Posts: 45
Rep Power: 5 ![]() |
Dear FOAMers,
What is the main reason to use decomposePar unlike to use pisoFoam (for instance) within a cluster using the same numer of processors as decomposePar ? I know the main difference is that decomposePar breaks up the domain to solve each domain "separately", but why the choice toward this latter seems to be considered as the best solution? I've seen in the User Guide that is a "fairly economic solution" but I'd like to know why it is so. Thanks for your help!
|
|
|
|
|
|
|
|
|
#8 |
|
Senior Member
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 112
Rep Power: 4 ![]() |
Hello all,
I'm heavily interested on how to use a manual decomposition. However, the workout of Laurence isn't clear enough for me yet. Could someone give more tips on how to get a manual decomposition? FYI: I want to preserve a group of cells on a certain distance form my object of interest. The object is allowed to move and right now it seems that at the decomposition patches some errors occur because my move object is right on such a patch. So I want to prevent that my object is in two decompositions. Thanks for your help! Update: with "decomposePar -cellDist" it's possible to create the file for manual input...now I have to find a way to create this field! Ralph
__________________
CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html Last edited by Ralph M; November 18, 2012 at 11:29. |
|
|
|
|
|
|
|
|
#9 |
|
Senior Member
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 301
Rep Power: 5 ![]() |
Hi Ralph. Sorry to have missed you at mets. To do what you want thwre ia an option in the decomposepardict to preserve thw patches in a subdomain. If it might be viable i'll sig in my notes to find how to do so.
Sorry for the typos, replyong from mobile |
|
|
|
|
|
|
|
|
#10 | |
|
Senior Member
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 112
Rep Power: 4 ![]() |
Quote:
Next time we should have each others phone number Did you liked the METS?I guess that you're working with OF20 since there's a bug in OF21? I got the warning message that preservePatches only works for cyclic patches? Cheers, Ralph
__________________
CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html |
||
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DecomposePar | jadavis1 | OpenFOAM Running, Solving & CFD | 0 | January 28, 2009 15:07 |
| decomposePar hierarchicalCoeffs | maka | OpenFOAM Running, Solving & CFD | 1 | August 14, 2008 17:39 |
| DecomposePar and sets | jhierroa | Open Source Meshers: Gmsh, Netgen, CGNS, ... | 7 | January 25, 2008 09:48 |
| DecomposePar and sets | jhierroa | Open Source Meshers: Gmsh, Netgen, CGNS, ... | 0 | January 2, 2007 21:32 |
| About the problem of decomposePar utility | zou_mo | OpenFOAM Running, Solving & CFD | 3 | July 27, 2005 18:18 |