CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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 Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2016, 03:50
Default Immersed Boundary foam-ext 3.2 Parallelization for higher amount of MPI tasks
  #1
Senior Member
 
Join Date: Jan 2014
Posts: 179
Rep Power: 12
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.

Code:
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: =========
/lib64/libc.so.6(+0x7410f)[0x2b80e90ea10f]
/lib64/libc.so.6(+0x7996e)[0x2b80e90ef96e]
/lib64/libc.so.6(+0x7a647)[0x2b80e90f0647]
/home/iagaxtma/opt/foam/foam-extend-3.2/lib/linux64GccDPOpt/libfiniteVolume.so(_ZN4Foam4ListINS_4PairIiEEE7setSizeEi+0x42)[0x2b80e59ded72]
/home/iagaxtma/opt/foam/foam-extend-3.2/lib/linux64GccDPOpt/libimmersedBoundary.so(_ZNK4Foam23immersedBoundaryFvPatch15makeIbCellCellsEv+0x1c38)[0x2b80e72526b8]
/home/iagaxtma/opt/foam/foam-extend-3.2/lib/linux64GccDPOpt/libimmersedBoundary.so(_ZNK4Foam23immersedBoundaryFvPatch11ibCellCellsEv+0x1d)[0x2b80e7252a0d]
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.

Thanks
hxaxtma is offline   Reply With Quote

Old   October 12, 2019, 09:34
Default
  #2
New Member
 
Join Date: Sep 2019
Posts: 17
Rep Power: 6
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

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


All times are GMT -4. The time now is 06:24.