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

MRFSimpleFoam generates stack overflow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2012, 07:19
Default MRFSimpleFoam generates stack overflow
  #1
Senior Member
 
Daniel Witte
Join Date: Nov 2011
Posts: 148
Rep Power: 15
danny123 is on a distinguished road
Hi,

I have problem on MRFSimpleFoam. The calculation starts just fine. After some iterations, it generates the following error:


Time = 0.435

smoothSolver: Solving for Ux, Initial residual = 0.000747915, Final residual = 8.79793e-06, No Iterations 4
smoothSolver: Solving for Uy, Initial residual = 0.000770294, Final residual = 9.06574e-06, No Iterations 4
smoothSolver: Solving for Uz, Initial residual = 0.00062951, Final residual = 7.33717e-06, No Iterations 4
GAMG: Solving for p, Initial residual = 0.00230964, Final residual = 9.97597e-05, No Iterations 3
time step continuity errors : sum local = 2.99323e-09, global = -9.6741e-22, cumulative = 8.70791e-20
ExecutionTime = 797.74 s ClockTime = 798 s

Time = 0.4375

#0 Foam::error:rintStack(Foam::Ostream&) in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::tmp<Foam::Field<Foam:uterProduct<Foam::Vec tor<double>, Foam::Vector<double> >::type> > Foam:perator*<Foam::Vector<double>, Foam::Vector<double> >(Foam::UList<Foam::Vector<double> > const&, Foam::tmp<Foam::Field<Foam::Vector<double> > > const&) in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#4 Foam::fv::gaussGrad<Foam::Vector<double> >::correctBoundaryConditions(Foam::GeometricField< Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Tensor<double>, Foam::fvPatchField, Foam::volMesh>&) in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#5 Foam::fv::gaussGrad<Foam::Vector<double> >::calcGrad(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#6 Foam::fv::gradScheme<Foam::Vector<double> >::grad(Foam::GeometricField<Foam::Vector<double >, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#7 Foam::tmp<Foam::GeometricField<Foam:uterProduct< Foam::Vector<double>, Foam::Vector<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::grad<Foam::Vector<double> >(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#8 Foam::tmp<Foam::GeometricField<Foam:uterProduct< Foam::Vector<double>, Foam::Vector<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::grad<Foam::Vector<double> >(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#9 Foam::incompressible::RASModels::laminar::divDevRe ff(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>&) const in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#10
in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/bin/MRFSimpleFoam"
#11 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#12
in "/home/dw/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/bin/MRFSimpleFoam"
Speicherzugriffsfehler

It seems to me that error appears when OpenFoam is about to write the 0.45 time folder. The error seems reproducible. The total time is set to 2 s. My system is Ubuntu 11.4 on Intel I7 980 (6 dual core).

Is there anybody who can help?

Thanks,

Daniel
danny123 is offline   Reply With Quote

Old   March 7, 2012, 11:43
Default get around
  #2
Senior Member
 
Daniel Witte
Join Date: Nov 2011
Posts: 148
Rep Power: 15
danny123 is on a distinguished road
It seems that nobody is really interested in this. Meanwhile I found a workaround. I ran the case in parallel using my 12 CPU that I have. This worked fine. Recomposing the case brought up a minor error in the 0.5 directory U field. One caracter was wrong (removed it).

So, it seems that running parallel is more stable.
danny123 is offline   Reply With Quote

Reply

Tags
error, mrfsimplefoam, printstack


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
MRFSimpleFoam Tutorial bastil OpenFOAM Running, Solving & CFD 48 August 1, 2012 11:00
Stack Overflow imrannazir Main CFD Forum 7 July 9, 2011 02:53
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37
Stack overflow MING Main CFD Forum 10 October 20, 2004 15:02
Stack frame size, Origin 2000, fortran, a question. Sergei Chernyshenko Main CFD Forum 4 February 22, 1999 15:24


All times are GMT -4. The time now is 15:43.