|
[Sponsors] |
Hydrodynamic Coupling - "malloc: corrupted top size" error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
September 7, 2022, 03:32 |
Hydrodynamic Coupling - "malloc: corrupted top size" error
|
#1 |
New Member
Felix Daddo
Join Date: Aug 2022
Location: Sydney, Australia
Posts: 25
Rep Power: 3 |
Hi Kamath,
I have recently been able to access a linux machine to run my simulations with a lot more memory so I was hoping that I would not have the malloc() error when running DiveMESH for the CFD module. My machine has the following parameters: MemTotal: 65866644 kB So I was not expecting the error, and am confused as to why this is still happening given it is only a 2D simulation. Do you have any ideas what may be causing the issue? I have attached the files I am trying to run. The FNPF simulation runs very quickly now and I have no issues with running it. |
|
September 7, 2022, 04:39 |
|
#2 |
New Member
Felix Daddo
Join Date: Aug 2022
Location: Sydney, Australia
Posts: 25
Rep Power: 3 |
If it helps at all, the only directory that wasn't empty after I got the error is the DIVEMesh_Decomp directory, which contained teh text file DIVEMesh-Decomposition.txt
I wasn't able to copy the text file out of my linux machine however I took a screenshot of the contents hoping that it might reveal something problematic that I am not seeing. I've attached the screenshot and hopefully it can be of some help! Cheers, Felix |
|
September 7, 2022, 06:24 |
|
#3 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13 |
There has been another round of RAM usage optimisation in the DiveMESH RC about a couple of days back.
Could you compile that version and see if the problem still persists?
__________________
Arun X years with REEF3D |
|
September 11, 2022, 14:20 |
|
#4 |
Member
Felix S.
Join Date: Feb 2021
Location: Germany, Braunschweig
Posts: 85
Rep Power: 6 |
Hey Felix,
I just had a look at your files and think that you have to change P40 from 1 to 2 in the FNPF simulation. With P40 1 you only have a single file printout for the latest time/iteration step (P41 P42). However, the CFD-module needs the continuous state-file prints as input data. The temporal resolution is then based on your print-out frequency (again P41 P42). Time steps in between are interpolated in some way, I guess. Maybe Arun can confirm this (if this solves the problem, you can ignore the private messages). Cheers, Felix |
|
September 12, 2022, 02:52 |
|
#5 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13 |
@Felix S. When I last tested P 40 1 and 2 give the same result so technically not a problem though you are correct in that P 40 1 would be the "correct" input.
However, if that affects the memory allocation, I am not sure. I find it hard to replicate the memory overload
__________________
Arun X years with REEF3D |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam openfoam 7 installation problem | Andrea23 | OpenFOAM Community Contributions | 1 | February 17, 2020 18:11 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 09:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 09:17 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 06:42 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 06:25 |