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

OF23x: Decomposing a patch into N similar parts

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2014, 09:16
Default OF23x: Decomposing a patch into N similar parts
  #1
Member
 
Join Date: Jul 2011
Posts: 54
Rep Power: 14
A_Pete is on a distinguished road
I want to decompose my simulation domain based on one of the patches in my domain. The patch should be equally distributed to all the processors since I do some calculations on it, which take a lot longer than the flow simulation itself. So my main objective is to equally decompose this patch. Is there a way to decompose a domain based on the decomposition of one specific patch?

Thanks,
Andreas
A_Pete is offline   Reply With Quote

Old   November 17, 2014, 11:02
Default
  #2
Senior Member
 
zandi's Avatar
 
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 17
zandi is on a distinguished road
There are 4 methods for decomposing:
simple
hierarechical
scotch
manual

see this page:
http://openfoamwiki.net/index.php/DecomposePar

and I see "metis" instead of "scotch" but I know in OF 2.3.0 and 2.2.0 the second one is presented.
zandi is offline   Reply With Quote

Old   November 18, 2014, 01:35
Default
  #3
Member
 
Join Date: Jul 2011
Posts: 54
Rep Power: 14
A_Pete is on a distinguished road
Thanks. I know about these methods for decomposition in OF. The question is, which method I should use to decompose a domain based on the equal distribution of a patch to the number of processors.
A_Pete is offline   Reply With Quote

Old   November 18, 2014, 03:21
Default
  #4
Senior Member
 
zandi's Avatar
 
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 17
zandi is on a distinguished road
hi
what you mean by decompose a patch?
what is the patch?
what is the geometry?
in above methods there is a way to distribute the domain in equal parts.
zandi is offline   Reply With Quote

Old   November 18, 2014, 03:35
Default
  #5
Member
 
Join Date: Jul 2011
Posts: 54
Rep Power: 14
A_Pete is on a distinguished road
I want to decompose the cells on a patch so that each processor gets the same amount of cells from that patch. But I think that I found a workaround.

I am doing some manual decomposition. I create the decomposition file using setFields and define the processors for each cell based on their coordinates. This was described here before: http://www.cfd-online.com/Forums/ope...computing.html
A_Pete is offline   Reply With Quote

Old   November 18, 2014, 03:48
Default
  #6
Senior Member
 
zandi's Avatar
 
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 17
zandi is on a distinguished road
Quote:
Originally Posted by A_Pete View Post
I want to decompose the cells on a patch so that each processor gets the same amount of cells from that patch.
scotch is recomended

Quote:
Originally Posted by A_Pete View Post
I am doing some manual decomposition. This was described here before: http://www.cfd-online.com/Forums/ope...computing.html
the link above is recommended

good luck
zandi is offline   Reply With Quote

Reply


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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 15:33
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) Aadhavan OpenFOAM Meshing & Mesh Conversion 2 March 8, 2018 01:47
[Gmsh] Single volume Mesh gmsh PeteH OpenFOAM Meshing & Mesh Conversion 9 August 6, 2013 08:54
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51


All times are GMT -4. The time now is 05:17.