CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

DecomposePar: assign patch to processor

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2019, 11:44
Default DecomposePar: assign patch to processor
  #1
New Member
 
Join Date: Dec 2016
Posts: 21
Rep Power: 6
Dozer_94 is on a distinguished road
Hi all,

I would like to know how to set up decomposeParDict in such a way that cells adjacent to a patch (i.e. owners of the patch faces) are all assigned to one processor. Consider this:

patch0
patch1
patch2
patch3

processor0: patch0, patch1
processor1: patch2, patch3

Thanks in advance,
Dozer_94 is offline   Reply With Quote

Old   July 31, 2019, 06:22
Default
  #2
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 177
Rep Power: 5
Carlo_P is on a distinguished road
Hey,
if you want, you can take a look into the DecomposeParDict file here:
https://github.com/OpenFOAM/OpenFOAM...composeParDict


I think that in your case, you have to put the patch in preservePatches.


If the geometry is simple (such as a pipe), you can enforce the division in geoemtrical divisions using


method simple;


simpleCoeffs{ n (divisionInXDirection divisionInYDirection divisionInZDirection); delta 0.001; }
I would like to suggest to use the more coplex command only if you are very familiar with parallel computation. In the 99% the scoth method gives very good results
Carlo_P is offline   Reply With Quote

Reply

Tags
decomposepar, parallel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 07:30
decomposePar 4-core warning/error? Boloar OpenFOAM Bugs 23 April 8, 2014 08:57
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 22:59.