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

Memory allocation error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2012, 10:36
Default Memory allocation error
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
Dear All,

when I try to compile my solver I get this error:

Code:
lab@lab-laptop:~/Documenti/cases_OF/OF_case09_steady_vs_unsteady/unsteady_new_solver$ buoyantPimpleFoam_Epta 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec   : buoyantPimpleFoam_Epta
Date   : Apr 04 2012
Time   : 16:04:24
Host   : "lab-laptop"
PID    : 8695
Case   : /home/lab/Documenti/cases_OF/OF_case09_steady_vs_unsteady/unsteady_new_solver
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


Reading g
Reading thermophysical properties

Selecting thermodynamics package hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>
Reading field U

Reading/calculating face flux field phi

Creating turbulence model

Selecting turbulence model type RASModel
Selecting RAS turbulence model kEpsilon
--> Upgrading k to employ run-time selectable wall functions
    Backup original k to k.old
    Writing updated k
--> Upgrading epsilon to employ run-time selectable wall functions
    Backup original epsilon to epsilon.old
    Writing updated epsilon
--> Creating mut to employ run-time selectable wall functions
    Writing new mut
--> Creating alphat to employ run-time selectable wall functions
    Writing new alphat
kEpsilonCoeffs
{
    Cmu             0.09;
    C1              1.44;
    C2              1.92;
    C3              -0.33;
    sigmak          1;
    sigmaEps        1.3;
    Prt             1;
}

Calculating field g.h

Reading field p_rgh

Creating field dpdt

Creating field kinetic energy K

Creating field source list from sourcesProperties

Selecting source model type vectorExplicitSetValue
    Source: air_infinite
    - selecting cells using cellSet air_infinite
    - selected 2730 cell(s) with volume 1.2

Courant Number mean: 0.00561315 max: 5.02789

PIMPLE: no residual control data found. Calculations will employ 2 corrector loops


Starting time loop

Courant Number mean: 0.000837302 max: 0.75
deltaT = 0.0298336
Time = 0.0298336

diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
PIMPLE: iteration 1
DILUPBiCG:  Solving for Ux, Initial residual = 1, Final residual = 0.00790783, No Iterations 9
DILUPBiCG:  Solving for Uy, Initial residual = 1, Final residual = 0.00680865, No Iterations 9
DILUPBiCG:  Solving for Uz, Initial residual = 1, Final residual = 0.00501205, No Iterations 4
DILUPBiCG:  Solving for Ux, Initial residual = 0.862811, Final residual = 0.00698018, No Iterations 9
DILUPBiCG:  Solving for Uy, Initial residual = 0.9982, Final residual = 0.00717148, No Iterations 6
DILUPBiCG:  Solving for Uz, Initial residual = 1, Final residual = 0.00669064, No Iterations 4
DILUPBiCG:  Solving for h, Initial residual = 1, Final residual = 0.00623696, No Iterations 9
GAMG:  Solving for p_rgh, Initial residual = 0.784028, Final residual = 0.00782346, No Iterations 26
GAMG:  Solving for p_rgh, Initial residual = 0.309003, Final residual = 0.00297538, No Iterations 4
GAMG:  Solving for p_rgh, Initial residual = 0.013951, Final residual = 0.000138292, No Iterations 15
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 2.73457e-06, global = 6.01253e-07, cumulative = 6.01253e-07
GAMG:  Solving for p_rgh, Initial residual = 0.36485, Final residual = 0.00335559, No Iterations 23
GAMG:  Solving for p_rgh, Initial residual = 0.372822, Final residual = 0.00354448, No Iterations 4
GAMG:  Solving for p_rgh, Initial residual = 0.0297191, Final residual = 0.000291083, No Iterations 14
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 2.18813e-06, global = 4.60073e-07, cumulative = 1.06133e-06
GAMG:  Solving for p_rgh, Initial residual = 0.211612, Final residual = 0.00193563, No Iterations 21
GAMG:  Solving for p_rgh, Initial residual = 0.101935, Final residual = 0.000883467, No Iterations 6
GAMG:  Solving for p_rgh, Initial residual = 0.00600616, Final residual = 5.97428e-05, No Iterations 16
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 2.85086e-07, global = 6.20084e-08, cumulative = 1.12333e-06
Sono qui: file .C

Ora sono qui: file .C. Sempre tutto ok!

PIMPLE: iteration 2
DILUPBiCG:  Solving for Ux, Initial residual = 0.575807, Final residual = 6.74872e-10, No Iterations 32
DILUPBiCG:  Solving for Uy, Initial residual = 0.483661, Final residual = 9.24265e-10, No Iterations 31
DILUPBiCG:  Solving for Uz, Initial residual = 0.821023, Final residual = 8.99823e-10, No Iterations 27
*** glibc detected *** buoyantPimpleFoam_Epta: corrupted double-linked list: 0x00000000029df480 ***
======= Backtrace: =========
/lib/libc.so.6(+0x77806)[0x7fe9170b2806]
/lib/libc.so.6(+0x7c5e4)[0x7fe9170b75e4]
/lib/libc.so.6(__libc_malloc+0x6e)[0x7fe9170b77de]
/usr/lib/libstdc++.so.6(_Znwm+0x1d)[0x7fe91792324d]
/usr/lib/libstdc++.so.6(_Znam+0x9)[0x7fe917923369]
buoyantPimpleFoam_Epta(_ZNK4Foam7fvPatch18patchInternalFieldIdEENS_3tmpINS_5FieldIT_EEEERKNS_5UListIS4_EE+0xbc)[0x43536c]
buoyantPimpleFoam_Epta(_ZNK4Foam12fvPatchFieldIdE18patchInternalFieldEv+0x15)[0x435435]
buoyantPimpleFoam_Epta(_ZNK4Foam12fvPatchFieldIdE6snGradEv+0x41)[0x451dc1]
/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam2fv9gaussGradIdE25correctBoundaryConditionsERKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERNS3_INS_6VectorIdEES4_S5_EE+0x237)[0x7fe918c72ba7]
/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZNK4Foam2fv9gaussGradIdE8calcGradERKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERKNS_4wordE+0x96)[0x7fe918c86346]
buoyantPimpleFoam_Epta(_ZNK4Foam2fv10gradSchemeIdE4gradERKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERKNS_4wordE+0xfe)[0x45580e]
/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZNK4Foam2fv15correctedSnGradIdE18fullGradCorrectionERKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEE+0x1ba)[0x7fe91905861a]
/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZNK4Foam2fv15correctedSnGradIdE10correctionERKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEE+0x9)[0x7fe9190523c9]
/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZNK4Foam2fv12snGradSchemeIdE6snGradERKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEE+0x104)[0x7fe919053d54]
buoyantPimpleFoam_Epta(_ZN4Foam3fvc6snGradIdEENS_3tmpINS_14GeometricFieldIT_NS_13fvsPatchFieldENS_11surfaceMeshEEEEERKNS3_IS4_NS_12fvPatchFieldENS_7volMeshEEERKNS_4wordE+0x4d)[0x448d4d]
buoyantPimpleFoam_Epta(_ZN4Foam3fvc6snGradIdEENS_3tmpINS_14GeometricFieldIT_NS_13fvsPatchFieldENS_11surfaceMeshEEEEERKNS3_IS4_NS_12fvPatchFieldENS_7volMeshEEE+0x6e)[0x448eae]
buoyantPimpleFoam_Epta[0x4231ce]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7fe917059c4d]
buoyantPimpleFoam_Epta[0x4207e9]
======= Memory map: ========
00400000-004a6000 r-xp 00000000 08:01 2363070                            /home/lab/OpenFOAM/lab-2.1.0/platforms/linux64GccDPOpt/bin/buoyantPimpleFoam_Epta
006a6000-006a8000 r--p 000a6000 08:01 2363070                            /home/lab/OpenFOAM/lab-2.1.0/platforms/linux64GccDPOpt/bin/buoyantPimpleFoam_Epta
006a8000-006a9000 rw-p 000a8000 08:01 2363070                            /home/lab/OpenFOAM/lab-2.1.0/platforms/linux64GccDPOpt/bin/buoyantPimpleFoam_Epta
01c22000-0c25d000 rw-p 00000000 00:00 0                                  [heap]
7fe90c000000-7fe90c021000 rw-p 00000000 00:00 0 
7fe90c021000-7fe910000000 ---p 00000000 00:00 0 
7fe911490000-7fe912c35000 rw-p 00000000 00:00 0 
7fe912e41000-7fe9139fe000 rw-p 00000000 00:00 0 
7fe9139fe000-7fe913a0a000 r-xp 00000000 08:01 1838542                    /lib/libnss_files-2.11.1.so
7fe913a0a000-7fe913c09000 ---p 0000c000 08:01 1838542                    /lib/libnss_files-2.11.1.so
7fe913c09000-7fe913c0a000 r--p 0000b000 08:01 1838542                    /lib/libnss_files-2.11.1.so
7fe913c0a000-7fe913c0b000 rw-p 0000c000 08:01 1838542                    /lib/libnss_files-2.11.1.so
7fe913c0b000-7fe913c15000 r-xp 00000000 08:01 1838528                    /lib/libnss_nis-2.11.1.so
7fe913c15000-7fe913e14000 ---p 0000a000 08:01 1838528                    /lib/libnss_nis-2.11.1.so
7fe913e14000-7fe913e15000 r--p 00009000 08:01 1838528                    /lib/libnss_nis-2.11.1.so
7fe913e15000-7fe913e16000 rw-p 0000a000 08:01 1838528                    /lib/libnss_nis-2.11.1.so
7fe913e16000-7fe913e1e000 r-xp 00000000 08:01 1838527                    /lib/libnss_compat-2.11.1.so
7fe913e1e000-7fe91401d000 ---p 00008000 08:01 1838527                    /lib/libnss_compat-2.11.1.so
7fe91401d000-7fe91401e000 r--p 00007000 08:01 1838527                    /lib/libnss_compat-2.11.1.so
7fe91401e000-7fe91401f000 rw-p 00008000 08:01 1838527                    /lib/libnss_compat-2.11.1.so
7fe91401f000-7fe914042000 r-xp 00000000 08:01 1973877                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libthermophysicalFunctions.so
7fe914042000-7fe914242000 ---p 00023000 08:01 1973877                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libthermophysicalFunctions.so
7fe914242000-7fe914243000 r--p 00023000 08:01 1973877                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libthermophysicalFunctions.so
7fe914243000-7fe914244000 rw-p 00024000 08:01 1973877                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libthermophysicalFunctions.so
7fe914244000-7fe914334000 r-xp 00000000 08:01 1973780                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libliquidProperties.so
7fe914334000-7fe914534000 ---p 000f0000 08:01 1973780                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libliquidProperties.so
7fe914534000-7fe914537000 r--p 000f0000 08:01 1973780                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libliquidProperties.so
7fe914537000-7fe914538000 rw-p 000f3000 08:01 1973780                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libliquidProperties.so
7fe914538000-7fe914547000 r-xp 00000000 08:01 1973861                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libsolidProperties.so
7fe914547000-7fe914747000 ---p 0000f000 08:01 1973861                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libsolidProperties.so
7fe914747000-7fe914748000 r--p 0000f000 08:01 1973861                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libsolidProperties.so
7fe914748000-7fe914749000 rw-p 00010000 08:01 1973861                    /opt/openfoam210/platforms/linux64GccDPOpt/lib/libsolidProperties.soAborted
. I think it is linked with memory allocation.

Do you know, by chance, the possible reasons of this message..

Thanks a lot,

Sam
samiam1000 is offline   Reply With Quote

Reply

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
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
compile errors of boundary condition "expDirectionMixed" liying02ts OpenFOAM Bugs 2 February 1, 2010 20:11
POSDAT problem piotka STAR-CD 4 June 12, 2009 08:43
attach/detach (valve opening/closing) phsieh2005 OpenFOAM Running, Solving & CFD 2 March 21, 2009 05:18
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08


All times are GMT -4. The time now is 21:10.