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

FoamerrorprintStack

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

Like Tree1Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   July 31, 2007, 15:13
Default Hi Bernhard, the the intern
  #21
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 11
braennstroem is on a distinguished road
Hi Bernhard,

the the internal p-field is set to 100000; that is not the problem!?

Regards!
Fabian

P.S. Nice PyFoam-Tool!
Do you plan further version with more features? I am looking for a small python-gui which handles bc, importing, cloning, etc. :-)
braennstroem is offline   Reply With Quote

Old   July 31, 2007, 16:05
Default sorry, for waisting your time.
  #22
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 11
braennstroem is on a distinguished road
sorry, for waisting your time...
but for 'compressible' I have to set the pressure outlets too. Stupid! Thanks for the help, it runs now ...
braennstroem is offline   Reply With Quote

Old   August 1, 2007, 09:53
Default Hi Fabian! Yep. Boundaries
  #23
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,920
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Fabian!

Yep. Boundaries too. That's what I meant with 'somewhere' ;)

@PyFoam: Thanks. I am adapting PyFoam constantly on a as-needed basis for my projects and plan to publish new versions on the Wiki. My emphasis is on stuff that helps me to automatize tasks (==scripting) so right now I have nothing planned GUI-wise (there is a graphical blockMesh-viewer, that might be in the next version, but apart from that: no)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   August 1, 2007, 12:31
Default Hi Bernhard, @PyFoam: I am
  #24
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 11
braennstroem is on a distinguished road
Hi Bernhard,

@PyFoam:
I am actually a big fan of scripting too, but as more scripts one is creating, as worse it gets to handle them ... and then a fast keyboard driven gui can help a lot. Especially Python is 'wonderful' in this sense; you can easily connect the existing scripts together. I actually use an own keyboard -driven file manager, written in python-gtk, for collecting my small scripts. Actually I started to integrate your pyfoam-scripts, but I don't have any idea, how I could handle the setup of boundary conditions... the FoamX approach is pretty much mouse-driven.

Regards!
Fabian
braennstroem is offline   Reply With Quote

Old   February 29, 2008, 12:54
Default Hi everybody, I'm a new Ope
  #25
Member
 
Leonardo Nettis
Join Date: Mar 2009
Posts: 72
Rep Power: 9
dinonettis is on a distinguished road
Hi everybody,

I'm a new OpenFoam user. I think I have a problem in my analysis on a naca profile, maybe with the turbulence model k-e, since I get this message on the terminal when I try to start the code:

.....
Creating turbulence model

Selecting turbulence model kEpsilon
#0 Foam::error::printStack(Foam:stream&) in "/home/nettis/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/nettis/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib64/libc.so.6"
#3 Foam::compressible::turbulenceModels::kEpsilon::kE psilon(Foam::GeometricField<do uble,> const&, Foam::GeometricField<foam::vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double,> const&, Foam::basicThermo&) in "/home/nettis/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libcompressibleTurbule nceModels.so"
#4 Foam::compressible::turbulenceModel::adddictionary ConstructorToTable<foam::compr essible::turbulencemodels::kepsilon>::New(Foam::Ge ometricField<double,> const&, Foam::GeometricField<foam::vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double,> const&, Foam::basicThermo&) in "/home/nettis/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libcompressibleTurbule nceModels.so"
#5 Foam::compressible::turbulenceModel::New(Foam::Geo metricField<double,> const&, Foam::GeometricField<foam::vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double,> const&, Foam::basicThermo&) in "/home/nettis/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libcompressibleTurbule nceModels.so"
#6 main in "/home/nettis/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/rhoTurbFo am"
#7 __libc_start_main in "/lib64/libc.so.6"
#8 Foam::regIOobject::readIfModified() in "/home/nettis/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/rhoTurbFo am"

Actually I do not know if everything is ok with the grid imported from gambit, but I'm not sure it
is the cause of this issue.
Thank you in advance.

Regards,

Dino
dinonettis is offline   Reply With Quote

Old   March 3, 2008, 06:36
Default Check whether this is a case o
  #26
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,920
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Check whether this is a case of "k or epsilon is zero on some boundary or as the initial condition and OF doesn't like this". That is a very popular mistake with beginners
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   March 6, 2008, 14:07
Default Hi Bernhard, you were right
  #27
Member
 
Leonardo Nettis
Join Date: Mar 2009
Posts: 72
Rep Power: 9
dinonettis is on a distinguished road
Hi Bernhard,

you were right!! but now I'm facing with another problem: which values of k and epsilon I have to set as initial condition?? Have you got some suggestions??
Thank you very much,

Dino
dinonettis is offline   Reply With Quote

Old   November 18, 2008, 19:51
Default Hi everyone I'm using interFo
  #28
New Member
 
Sara Schairer
Join Date: Mar 2009
Posts: 26
Rep Power: 9
sara is on a distinguished road
Hi everyone
I'm using interFoam. I turned off the adjustable timestep since it grew ridiculously small after some time and set it to 10e-4 (which was ok in Fluent). But after some time (0,09 seconds) the calculation stops giving this error message.

MULES: Solving for gamma
#0 Foam::error::printStack(Foam:stream&) in "/opt/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/opt/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 __restore_rt at sigaction.c:0
#3 void Foam::MULES::limiter<foam::onefield,>(Foam::Field< double>&, Foam::oneField const&, Foam::GeometricField<double,> const&, Foam::GeometricField<double,> const&, Foam::GeometricField<double,> const&, Foam::zeroField const&, Foam::zeroField const&, double, double, int) in "/opt/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#4 void Foam::MULES::explicitSolve<foam::onefield,>(Foam:: oneField const&, Foam::GeometricField<double,>&, Foam::GeometricField<double,> const&, Foam::GeometricField<double,>&, Foam::zeroField const&, Foam::zeroField const&, double, double) in "/opt/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#5 Foam::MULES::explicitSolve(Foam::GeometricField<do uble,>&, Foam::GeometricField<double,> const&, Foam::GeometricField<double,>&, double, double) in "/opt/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#6 main in "/opt/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/interFoam"
#7 __libc_start_main in "/lib64/libc.so.6"
#8 Foam::regIOobject::readIfModified() in "/opt/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/interFoam"
Floating point exception

I can't figure out where the problem is. Maybe it has something to do with the timestep, since, as I already said, it turned very small when it was adjustable. But the small timestep is of no use to me either (it was about 10e-30 s), that'w why I turned it off and set it to a fix value.
Can anyone help me?
Cheers, Sara
sara is offline   Reply With Quote

Old   January 2, 2010, 13:47
Default error
  #29
New Member
 
raul
Join Date: Nov 2009
Posts: 13
Rep Power: 8
rudy is on a distinguished road
Hi,
i am building a new solver for steady computation of electrohydrodynamic flow and for the purpose i have combined electrostatic solver and simpleFoam solver.I am getting the following error and i don't know how to solve it,so if anyone has any idea please let me know:
Starting iteration loop

Iteration = 1

smoothSolver: Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0
GAMG: Solving for p, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 0, global = 0, cumulative = 0
DICPCG: Solving for V, Initial residual = 1, Final residual = 0.192654, No Iterations 2
#0 Foam::error:rintStack(Foam::Ostream&) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam:ILUPreconditioner::calcReciprocalD(Foam::Fi eld<double>&, Foam::lduMatrix const&) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#4 Foam:ILUPreconditioner:ILUPreconditioner(Foam: :lduMatrix::solver const&, Foam::dictionary const&) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#5 Foam::lduMatrix:reconditioner::addasymMatrixCons tructorToTable<Foam:ILUPreconditioner>::New(Foam ::lduMatrix::solver const&, Foam::dictionary const&) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#6 Foam::lduMatrix:reconditioner::New(Foam::lduMatr ix::solver const&, Foam::dictionary const&) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#7 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#8 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libfiniteVolume.so"
#9 Foam::lduMatrix::solverPerformance Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/ehdFoam"
#10 main in "/home/rahul/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/ehdFoam"
#11 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#12 _start at /build/buildd/eglibc-2.10.1/csu/../sysdeps/i386/elf/start.S:122
Floating point exception

Previously I built an unsteady solver for the same problem and mesh,and it works fine,so there shouldn't be any mesh related trouble like aspect ratio...
thanks and regards,
rudy
rudy is offline   Reply With Quote

Old   January 7, 2010, 04:41
Default
  #30
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 303
Rep Power: 10
openfoam_user is on a distinguished road
Hi OF-users,

I have recently installed OpenFOAM-1.6.x with Linux 11.2.

I think that the installation is fine.

I am not able to run the MRFSimpleFoam solver. So I have decided to check with the mixervessel2D tutorial.

I have the following error message when running the mixer 2D tutorial :

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6.x-f3456b234025
Exec : MRFSimpleFoam
Date : Jan 06 2010
Time : 16:42:36
Host : cfs10
PID : 16108
Case : /shared/sanchi/mixerVessel2D
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Create mesh for time = 0

Reading field p

#0 Foam::error:rintStack(Foam::Ostream&) in "/shared/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/shared/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib64/libc.so.6"

Advices are welcome. Need help !

I need help to solve this problem.

Best regards,

Stephane
openfoam_user is offline   Reply With Quote

Old   January 7, 2010, 09:08
Default
  #31
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 303
Rep Power: 10
openfoam_user is on a distinguished road
Hi,

Inside the mixervessel2D directory when I do ./Allrun I get the following error message :

[170]cfs10-sanchi /shared/sanchi/mixerVessel2D_1.6.x % ./Allrun
+ m4
+ blockMesh
+ cellSet
+ setsToZones -noFlipMap
Running MRFSimpleFoam on /shared/sanchi/mixerVessel2D_1.6.x
/shared/OpenFOAM/OpenFOAM-1.6.x/bin/tools/RunFunctions: line 38: 13644 Segmentation fault $APP_RUN $* > log.$APP_NAME 2>&1

I hope that it could help to solve my problem !!!

Thanks,

Stephane
openfoam_user is offline   Reply With Quote

Old   January 8, 2010, 08:19
Default
  #32
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 303
Rep Power: 10
openfoam_user is on a distinguished road
Hi,

I discover the problem.

For OpenFOAM-1.6.x and OpenSUSE 11.2 I have to use the system compiler.

So I just have forgotten to recompile MRFSimpleFoam too.

cd ~/OpenFOAM/OpenFOAM-1.6.x/tutorials/incompressible/MRFSimpleFoam
wmake

and now MRFSimpleFoam works again.

Regards,

Stephane.
openfoam_user is offline   Reply With Quote

Old   January 13, 2010, 00:48
Default Same Problem with my solver
  #33
Member
 
sahm's Avatar
 
S. Ali H.M.
Join Date: Nov 2009
Location: Chicago
Posts: 76
Rep Power: 8
sahm is on a distinguished road
Send a message via Yahoo to sahm
Hi everybody,
I have same problem too. I have just developed my own reacting solver for a specific case( combustion). And I get the same floating point exception error. Can any body help me with this.
My solver is based on IcoFoam, plus there is one property transport equations for Temperature, and three different equations for N2, Fuel, O2. the heat source is based on Arrhenious formula for rate of reaction, and simmilar sink term for Fuel and O2, But I get the same error. Can any body tell me what the problem is, and how I can fix this. The mesh is 2d, and this error happens when the temperature rises and reaction happens, If I keep the temperature low, no reaction happens and There will be no error.
The Error message is:

#0 Foam::error:: printStack(Foam::Ostream&) in "/home/harish/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/harish/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted:
#3 ?? in "/lib/tls/i686/cmov/libm.so.6"
#4 pow in "/lib/tls/i686/cmov/libm.so.6"
#5 Foam:: pow(Foam::Field<double>&, Foam::UList<double> const&, double const&) in "/home/harish/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#6 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:ow<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::dimensioned<double> const&) in "/home/harish/OpenFOAM/harish-1.6/applications/bin/linuxGccDPOpt/MyIncombFoam"
#7 main in "/home/harish/OpenFOAM/harish-1.6/applications/bin/linuxGccDPOpt/MyIncombFoam"
#8 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#9 _start in "/home/harish/OpenFOAM/harish-1.6/applications/bin/linuxGccDPOpt/MyIncombFoam"
Floating point exception
sahm is offline   Reply With Quote

Old   October 17, 2010, 09:10
Default
  #34
New Member
 
poopak
Join Date: Jun 2010
Posts: 2
Rep Power: 0
poopak999 is on a distinguished road
Hi friends,
I try to run RANS. I input a 3D meshed geometry into Open-Foam.
after runing for few time step, it gives me eror.
I am a new user (OpenFoam 1.6x), pleas help me.

the errors are as follows:

Starting time loop

Time = 1

DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 0.000508485, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 0.000139666, No Iterations 1
DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 0.000140066, No Iterations 1
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.00925416, No Iterations 123
DICPCG: Solving for p, Initial residual = 0.012907, Final residual = 0.000126943, No Iterations 27
DICPCG: Solving for p, Initial residual = 0.00398529, Final residual = 3.14156e-05, No Iterations 116
DICPCG: Solving for p, Initial residual = 0.00182828, Final residual = 1.79837e-05, No Iterations 26
DICPCG: Solving for p, Initial residual = 0.00074565, Final residual = 6.59969e-06, No Iterations 114
DICPCG: Solving for p, Initial residual = 0.000358352, Final residual = 3.48877e-06, No Iterations 24
time step continuity errors : sum local = 3.17637e-05, global = -1.50157e-06, cumulative = -1.50157e-06
#0 Foam::error:rintStack(Foam::Ostream&) in "/home/azadeh/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/azadeh/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/home/azadeh/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/azadeh/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleRASModels.so"
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/azadeh/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleRASModels.so"
#6 Foam::incompressible::RASModels::kEpsilon::correct () in "/home/azadeh/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleRASModels.so"
#7 main in "/home/azadeh/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/simpleFoam"
#8 __libc_start_main in "/lib/libc.so.6"
#9 _start at /build/buildd/eglibc-2.10.1/csu/../sysdeps/x86_64/elf/start.S:116
Floating point exception
poopak999 is offline   Reply With Quote

Old   October 17, 2010, 09:31
Default
  #35
New Member
 
poopak
Join Date: Jun 2010
Posts: 2
Rep Power: 0
poopak999 is on a distinguished road
I FOUND IT
Just "k" ahouldn't be 0.
poopak999 is offline   Reply With Quote

Old   June 15, 2011, 06:35
Default
  #36
New Member
 
Join Date: May 2011
Location: Germany/Bosnia
Posts: 9
Rep Power: 7
almir is on a distinguished road
hi,
i have the same error message like some guys before me. I was reading in the forum, but i donīt understand the error.

poopak999 sayed that k donīt can be zero. When i go to the 0-Folder in the k-file my k has the value "uniform 3.75e-04". so it isenīt zero.

Maybe someone can help me?

greets

almir

Last edited by almir; June 18, 2011 at 10:01.
almir is offline   Reply With Quote

Old   November 24, 2011, 23:05
Default
  #37
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 154
Rep Power: 9
dancfd is on a distinguished road
Hello all,

I successfully ran a series of simulations using simpleFoam to set up my case, and now I want to complicate things by moving to sonicFoam. 9 iterations ran successfully, but #10 produced an impressive series of errors:

Code:
Time = 0.0001

Courant Number mean: 0.0141899 max: 0.421549
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver:  Solving for Ux, Initial residual = 5.99736e-05, Final residual = 8.86793e-11, No Iterations 21
smoothSolver:  Solving for Uy, Initial residual = 0.0549661, Final residual = 8.38165e-11, No Iterations 22
DILUPBiCG:  Solving for e, Initial residual = 0.000111588, Final residual = 7.1124e-09, No Iterations 3
[1] #0  Foam::error::printStack(Foam::Ostream&)[2] #0  Foam::error::printStack(Foam::Ostream&)[0] #0  Foam::error::printStack(Foam::Ostream&)[3] #0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[2] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[3] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #2   in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[2] #2   in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #2   in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[3] #2   in "/lib/x86_64-linux-gnu/libc.so.6" in "/lib/x86_64-linux-gnu/lib
[1] #3  c.so.6"
Later on it says "floating point exception".

That's not the half of it... I included the whole log file in the attachment. Can anyone suggest what the problem might be? After reviewing the previous posts, I have already verified that all of my turbulence coeffs and pressures are non-zero.

Thanks,

Dan
Attached Files
File Type: zip log.sonicFoam.zip (4.6 KB, 0 views)
dancfd is offline   Reply With Quote

Old   November 25, 2011, 15:35
Default
  #38
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,920
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by dancfd View Post
Hello all,

I successfully ran a series of simulations using simpleFoam to set up my case, and now I want to complicate things by moving to sonicFoam. 9 iterations ran successfully, but #10 produced an impressive series of errors:

Code:
Time = 0.0001

Courant Number mean: 0.0141899 max: 0.421549
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver:  Solving for Ux, Initial residual = 5.99736e-05, Final residual = 8.86793e-11, No Iterations 21
smoothSolver:  Solving for Uy, Initial residual = 0.0549661, Final residual = 8.38165e-11, No Iterations 22
DILUPBiCG:  Solving for e, Initial residual = 0.000111588, Final residual = 7.1124e-09, No Iterations 3
[1] #0  Foam::error::printStack(Foam::Ostream&)[2] #0  Foam::error::printStack(Foam::Ostream&)[0] #0  Foam::error::printStack(Foam::Ostream&)[3] #0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[2] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[3] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #2   in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[2] #2   in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #2   in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[3] #2   in "/lib/x86_64-linux-gnu/libc.so.6" in "/lib/x86_64-linux-gnu/lib
[1] #3  c.so.6"
Later on it says "floating point exception".

That's not the half of it... I included the whole log file in the attachment. Can anyone suggest what the problem might be? After reviewing the previous posts, I have already verified that all of my turbulence coeffs and pressures are non-zero.

Thanks,

Dan
On the meaning of the stack-trace and how to get more detailed information (by compiling a debug-version) see:
http://openfoamwiki.net/index.php/Ma...:Ostream.26.29
(and the point above it).

Anyway. You seem to have a parallel run there. Try running it in serial and see if the problem is also there.

Apart from that there is much I can tell you (maybe some kind soul has a look at your log-file)
gschaider is offline   Reply With Quote

Old   November 25, 2011, 23:58
Default
  #39
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 154
Rep Power: 9
dancfd is on a distinguished road
Thank you for your assistance, Bernhard. It turns out that the simulation ran just fine in serial. I implemented one change each to /etc/config/settings.sh and /etc/bashrc in accordance with the references below, and now it appears to run well.

Regards,

Dan

Ref 1: mpirun problems
Ref 2: Error Floating point exception
dancfd is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:22.