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

adaptive mesh refinement in parallel runs

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By clapointe

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2019, 04:11
Default adaptive mesh refinement in parallel runs
  #1
Senior Member
 
kandelabr's Avatar
 
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 196
Rep Power: 9
kandelabr is on a distinguished road
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?
__________________
www.damogranlabs.com
kandelabr is offline   Reply With Quote

Old   February 18, 2019, 04:20
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
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
clapointe is offline   Reply With Quote

Old   February 18, 2019, 04:36
Default
  #3
Senior Member
 
kandelabr's Avatar
 
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 196
Rep Power: 9
kandelabr is on a distinguished road
That's regarding parallel cases, but you do run AMR with unstructured meshes successfully? For me even the serial runs don't work.
__________________
www.damogranlabs.com
kandelabr is offline   Reply With Quote

Old   February 18, 2019, 04:45
Default
  #4
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
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
kandelabr likes this.
clapointe is offline   Reply With Quote

Old   October 6, 2019, 19:11
Default AMR - Parallel runs
  #5
Member
 
Thomas Flint
Join Date: Jan 2016
Posts: 60
Rep Power: 10
tom_flint2012 is on a distinguished road
Hi,


I have the same issue, my runs crash at the same increment on parallel. Did you have any joy addressing this?
tom_flint2012 is offline   Reply With Quote

Reply


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
[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


All times are GMT -4. The time now is 08:28.