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

Parallelizing decomposePar utility

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2022, 12:49
Default Parallelizing decomposePar utility
  #1
New Member
 
Doğukan Teber
Join Date: Jul 2022
Location: Izmir, Türkiye
Posts: 13
Rep Power: 4
dogukanteber is on a distinguished road
Hello, all.

I am a software engineering student and am pretty novice in terms of OpenFOAM and CFD. I am doing an internship to gain experience in HPC and parallel computation. My responsibility is to develop a utility that does the exact same thing as decomposePar does but in parallel so that the decomposition of meshes is performed as quickly as possible. Also, the initial version will only support simple decomposition method.

I know how to handle the parallelization stuff but I cannot understand the structure of a mesh. Since I do not understand a mesh, I do not know how to decompose a mesh. I have been reading the source code of decomposePar to understand how decomposition is done but without comprehending the concept of mesh, the code does not mean too much to me.

So my question is how can I decompose a mesh? In addition to that, can you recommend resources to understand the structure of a mesh expect this?

Thank you
dogukanteber is offline   Reply With Quote

Old   July 14, 2022, 18:38
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
The simplest would be to use "redistributePar -decompose", which sounds much like what you want. If there is something extra you need for it, follow up here or (if you have funding and a project) on develop.openfoam.com

I think you will find understanding the redistributePar code much more difficult than decomposePar. Not a realistic task as an internship at all.

BTW: redistributePar has been updated in the latest (OPENFOAM-V2206) release to support point fields and finiteArea fields.
olesen is offline   Reply With Quote

Old   July 18, 2022, 08:51
Default
  #3
New Member
 
Doğukan Teber
Join Date: Jul 2022
Location: Izmir, Türkiye
Posts: 13
Rep Power: 4
dogukanteber is on a distinguished road
Thank you for your reply olesen and sorry for the late response. I wanted to be sure before I wrote this post.

I have talked to my mentor, who said that he had already tried other options but on each try, the performance did not make so much difference compared to decomposePar. That is why we are developing this utility.

I am open to other suggestions though.
dogukanteber is offline   Reply With Quote

Old   July 18, 2022, 10:22
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
I noticed that you didn't mention which version of OpenFOAM you were using. See, for example, (https://develop.openfoam.com/Develop.../-/issues/1211) - which avoids triggering costly intermediate topological rebuilds. Might make sense to field through https://www.openfoam.com/products-se...ftware-support as a project to diagnose where your bottlenecks arise and what can be done about them. As I already mentioned, this is quite unrealistic as a project for an intern without prior and extensive OpenFOAM knowledge.
olesen is offline   Reply With Quote

Reply

Tags
decomposepar, mesh, parallel decomposition


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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! zfaraday OpenFOAM Post-Processing 0 February 5, 2015 17:47
DecomposePar utility hsing OpenFOAM Running, Solving & CFD 11 January 19, 2015 05:09
[Other] How to create uneven load for the processors using decomposePar utility. shinde.gopal OpenFOAM Meshing & Mesh Conversion 1 May 24, 2014 09:49
About the problem of decomposePar utility zou_mo OpenFOAM Running, Solving & CFD 3 July 27, 2005 19:18


All times are GMT -4. The time now is 14:07.