|
[Sponsors] |
[foam-extend 4.1] dynamicTopoFvMesh fails to run in parallel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 27, 2022, 08:16 |
[foam-extend 4.1] dynamicTopoFvMesh fails to run in parallel
|
#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:
|
||
April 10, 2022, 08:48 |
|
#2 |
New Member
Pengcheng Zhang
Join Date: Aug 2021
Posts: 14
Rep Power: 5 |
Can anyone help me, please?
Thanks in adavance. |
|
April 10, 2022, 09:18 |
|
#3 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 21 |
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.
|
|
April 12, 2022, 07:20 |
|
#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. |
||
April 18, 2022, 18:13 |
|
#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.
|
|
April 20, 2022, 04:02 |
|
#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. |
|
August 22, 2022, 00:22 |
|
#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? |
|
August 22, 2022, 09:16 |
|
#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.
|
|
May 31, 2023, 02:06 |
|
#9 | |
New Member
Dezhu Chen
Join Date: Nov 2019
Posts: 2
Rep Power: 0 |
Quote:
|
||
Tags |
dynamictopofvmesh, foam-extend, parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM benchmarks on various hardware | eric | Hardware | 820 | November 20, 2024 13:37 |
parallel run error cma-permission-denied | supvato | OpenFOAM Running, Solving & CFD | 3 | October 10, 2022 05:48 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 12:58 |
[mesh manipulation] Cannot get refineMesh to run in parallel | smschnob | OpenFOAM Meshing & Mesh Conversion | 2 | June 3, 2014 12:20 |