|
[Sponsors] |
February 18, 2019, 04:11 |
adaptive mesh refinement in parallel runs
|
#1 |
Senior Member
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 196
Rep Power: 9 |
Hello,
I have been struggling to use adaptive mesh refinement but I couldn't get it running. I added a dynamicMeshDict to damBreak tutorial at first where it only ran on a single processor. If I decompose the case, it either crashes silently without any error messages or throws a floating point exception with no clear message as to what happened. The same thing happens on my own case on a snappy mesh but crashes in any case. I tried both cases on linux and Linux subsystem for Windows and it's the same (someone suggested it's an I/O issue). checkMesh doesn't report any errors. Do I have to add any other settings than constant/dynamicMeshDict? Any other ideas where to start troubleshooting? |
|
February 18, 2019, 04:20 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
I cannot speak to the snappy error, as I mostly run it in serial. However, my experience with OF amr is that decomposition method plays a large role in success (or failure) of a run. hierarchical or simple decomposition -- while not necessarily the most efficient -- have proven to be the most stable for me. Additionally, the number of processors also plays a role. The method/number can depend on the case, so it might take some trial and error. I know that others have looked into runTime load balancing to address decomposition method(s)/problems, but that is a whole other problem.
Caelan |
|
February 18, 2019, 04:36 |
|
#3 |
Senior Member
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 196
Rep Power: 9 |
That's regarding parallel cases, but you do run AMR with unstructured meshes successfully? For me even the serial runs don't work.
|
|
February 18, 2019, 04:45 |
|
#4 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
I generally begin with a structured mesh, but have also started with unstructured meshes in the past. Both produced fine results. That said, an unstructured mesh is a consequence of the amr, so you'll be using one anyway.
Caelan |
|
October 6, 2019, 19:11 |
AMR - Parallel runs
|
#5 |
Member
Thomas Flint
Join Date: Jan 2016
Posts: 60
Rep Power: 10 |
Hi,
I have the same issue, my runs crash at the same increment on parallel. Did you have any joy addressing this? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Multi Region Mesh of a car filter | Zephiro88 | OpenFOAM Meshing & Mesh Conversion | 3 | September 11, 2019 20:34 |
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! | divergence | OpenFOAM Meshing & Mesh Conversion | 0 | January 23, 2019 05:17 |
Does adaptive mesh refinement always give better result? | hokhay | Main CFD Forum | 5 | May 26, 2017 00:46 |
sprayFoam with adaptive mesh refinement not working in parallel | aicwebb | OpenFOAM | 0 | May 31, 2015 01:42 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |