|
[Sponsors] |
how to make a mesh decomposition again when using interFoam/dynamicRefineFvMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 27, 2021, 08:08 |
how to make a mesh decomposition again when using interFoam/dynamicRefineFvMesh
|
#1 |
New Member
jianfeng zou
Join Date: Feb 2013
Posts: 6
Rep Power: 13 |
Dear all,
I'm working on OpenFOAM2012. I'm using a interFoam with dynamicRefineFvMesh to compute a gas/fluid interface. The mesh is decomposed at t=0 and the problem is solved for some time, like t=t0. To achieve a good load balance, I want to make a mesh decomposition again. The function 'redistributePar' has been tested in my study, but I failed to achieve a new mesh decomposition with right cells and interpolated solution on them. Will anyone tell me the right steps to work with 'redistributePar'? Thanks very much. |
|
June 27, 2021, 09:57 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Hi,
Any chance to elaborate on "The function 'redistributePar' has been tested in my study, but I failed to achieve a new mesh decomposition with right cells and interpolated solution on them" with a minimal working example, if possible? Thanks!
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
June 28, 2021, 22:06 |
|
#3 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
What you're looking for is commonly referred to as load balancing. This has been published e.g. by Rettenmaier et al for interFoam (https://github.com/ElsevierSoftwareX/SOFTX_2018_143). I think some derivative of their code may have even been integrated into v2012 -- check out dynamicRefineBalancedMesh.
Caelan
__________________
Public git repository : https://github.com/clapointe2011/public |
|
July 1, 2021, 10:05 |
|
#4 | |
Member
Rodrigo
Join Date: Mar 2010
Posts: 98
Rep Power: 16 |
Quote:
|
||
July 1, 2021, 16:36 |
|
#5 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
- No code has been implemented from Rettenmaier et al.'s work into any of OpenFOAM software, I'm afraid.
- Maybe this package can be useful: interIsoFoam + multiDimAMR.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
July 1, 2021, 16:45 |
|
#6 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
I must have misremembered and tried it myself, thanks for checking. If you check out the info provided with the other repo, though, you'll see they reference Rettenmaier et al as well and it looks like they have it available for e.g. v2012 (Henning Scheufler's code does appear to be available as of very recently : commit). Regardless of where it comes from, the load balancing code is available for recent versions of interFoam.
Caelan
__________________
Public git repository : https://github.com/clapointe2011/public |
|
July 1, 2021, 17:22 |
|
#7 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
multiDimAMR externally uses Rettenmaier et al.'s work which is not available in v20*. danke.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
foam-extend-4.1 release | hjasak | OpenFOAM Announcements from Other Sources | 19 | July 16, 2021 06:02 |
GeometricField -> mesh() Function | Tobi | OpenFOAM Programming & Development | 10 | November 19, 2020 12:33 |
compiling firefoam | Farshad_Noravesh | OpenFOAM | 27 | December 24, 2012 05:21 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |
[ICEM] How to make Pereodic Tetra mesh? | ale-kc | ANSYS Meshing & Geometry | 6 | November 15, 2010 15:23 |