CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[ImmersedBoundary] Immersed Boundary foam-ext 3.2 Parallelization for higher amount of MPI tasks

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2016, 04:50
Default Immersed Boundary foam-ext 3.2 Parallelization for higher amount of MPI tasks
Senior Member
Join Date: Jan 2014
Posts: 178
Rep Power: 9
hxaxtma is on a distinguished road
Hi guys,

I observed a little bug regarding the IB Method of Jasak and its parallelization.
Meanwhile the immersed boundary region is not decomposed over different cores, the IB implementation runs in parallel. Nevertheless, if the Immersed Boundary regionis decomposed over different cores, an error occurs.

Create time

Create mesh for time = 0

Create immersed boundary cell mask
Create immersed boundary face mask
Found immersed boundary patch 0 named ibCylinder
[3] Number of IB cells: 0
[6] Number of IB cells: 0
[7] Number of IB cells: 0
External flow
[2] Number of IB cells: 0
[5] Number of IB cells: 0
[4] Number of IB cells: 0
[0] Number of IB cells: 63666
[1] Number of IB cells: 81786
Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi

Starting time loop

Time = 5e-05

Courant Number mean: 0.00304818143 max: 1.81649312 velocity magnitude: 2.35556273
*** Error in `icoIbFoam': free(): invalid next size (normal): 0x000000002468a800 ***
======= Backtrace: =========
At the moment I do overcome this by creating a zone and preserving this faceZone on one processor, with this workaround, the IB method also runs for higher rates of mpi tasks in parallel,

Nevertheless I would like to fix this bug, the problem is, I do not really know where to start. I had a deeper look in the Immersed Boundary Implementation files, but somehow I am missing the important part.

Any hint would be appreciated and maybe Prof Jasak has an advice.

hxaxtma is offline   Reply With Quote

Old   October 12, 2019, 10:34
New Member
Join Date: Sep 2019
Posts: 15
Rep Power: 4
courant_numero_uno is on a distinguished road
Hello hxaxtma, I know this post is old now, but I am running into the same issue you suggested (crashing when the immersed boundary crosses between processors).

Could you please let me know how you were able to create a faceZone to get around this problem? Thanks!
courant_numero_uno is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 11:20
segmentatio fault using cyclic boundary conditions in FOAM extend 3.2 GFarello OpenFOAM Running, Solving & CFD 2 January 18, 2017 06:27
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 03:21
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55

All times are GMT -4. The time now is 13:30.