|
[Sponsors] |
[foam-extend 4.1] dynamicTopoFvMesh fails to run in parallel |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 | |
New Member
Pengcheng Zhang
Join Date: Aug 2021
Posts: 14
Rep Power: 5 ![]() |
Hi Foamers,
I'm using dynamicTopoFvMesh with mesquite(motion solver) in [foam-extend 4.1] to realize dynamic mesh with topo change. I choose the two tutorials named "circCylinder3d" and "Balltranslation" to test. They both run well in serial, however, in parallel they both crash at the first time step. From serial to parallel, All I did was the following: 1. Getting a decomposeParDict(using method scotch). 2. Running decomposePar. 3. Running moveDynamicMesh with mpirun. My cases and logs are attached. I don't know if I made a mistake or it is a bug. Does anyone have the same problem with me? Any suggestions would be greatly appreciated! Best regard, Zane ---------------------------------------------------------------------------------- Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Pengcheng Zhang
Join Date: Aug 2021
Posts: 14
Rep Power: 5 ![]() |
Can anyone help me, please?
Thanks in adavance. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 20 ![]() |
Topology changes aren't easily parallelized. If you have topology changes on the boundary between processors the solver won't know what it should couple to. Or if you delete all cells on a processor it can't solve anything anymore. I am uncertain about foam extend, but the topology changing solvers inside openfoam in general do not like that. Tools like load balancing and so on exist, but in all likely-hood you have to integrate those yourself and the solvers won't use those out of the box. The easiest way is to make sure that all your topology changes are happening inside the processor domain and that you do not delete to much of the processors cells.
|
|
![]() |
![]() |
![]() |
![]() |
#4 | |
New Member
Pengcheng Zhang
Join Date: Aug 2021
Posts: 14
Rep Power: 5 ![]() |
Hi Bloerb,
First, thanks to your kind reply! You're right. Changing topology in parallel is complicated, but I think dynamicTopoFvMesh in foam-extend is capable of doing that. Because when I checked the code of dynamicTopoFvMesh, I saw some words like "in parallel", "multiThread" and "loadBalancing". Therefore, I just copied a tutorials using dynamicTopoFvMesh and ran it in parallel, but somehow I failed (it crashed in the very beginning). Quote:
![]() Best regard. |
||
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 ![]() |
I haven't maintained this code for years now, so it's quite likely that recent changes in the foam-extend code have caused things to go awry. If you're willing to revert to OpenFOAM-2.3.x (the last maintained version that I know worked in parallel), you're welcome to try the Port-2.3.x branch on github.com/smenon. Unfortunately, I don't have the time to keep up with recent API changes an maintain it for newer versions.
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Pengcheng Zhang
Join Date: Aug 2021
Posts: 14
Rep Power: 5 ![]() |
Hi Sandeep,
Thank you very much for your reply and your code implementation. I will try dynamicTopoFvMesh in OpenFOAM-2.3.x in the near future. If I succeed, I will reply in this thread later. |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Mike Tree
Join Date: Feb 2016
Location: Charlotte, NC
Posts: 37
Rep Power: 10 ![]() |
Zane,
I take it you were never able to successfully use dynamicTopoFvMesh in parallel with OpenFOAM-2.3.x? I'm currently using foam-extend 4.0 on a heart valve simulation that requires mesh deformation and am wondering if it's worth switching versions around and trying again. Any update? |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Pengcheng Zhang
Join Date: Aug 2021
Posts: 14
Rep Power: 5 ![]() |
I’m sorry I didn't try to use dynamicTopoFvMesh in parallel in OpenFOAM-2.3.x, and I have given up, because it's time-consuming for me now. So I can't answer your question, you'll have to try it yourself.
|
|
![]() |
![]() |
![]() |
![]() |
#9 | |
New Member
Dezhu Chen
Join Date: Nov 2019
Posts: 2
Rep Power: 0 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
Tags |
dynamictopofvmesh, foam-extend, parallel |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM benchmarks on various hardware | eric | Hardware | 794 | Yesterday 12:04 |
parallel run error cma-permission-denied | supvato | OpenFOAM Running, Solving & CFD | 3 | October 10, 2022 04:48 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 11:58 |
[mesh manipulation] Cannot get refineMesh to run in parallel | smschnob | OpenFOAM Meshing & Mesh Conversion | 2 | June 3, 2014 11:20 |