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

New Solver error Foam::error::printStack

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 11, 2016, 22:43
Default New Solver error Foam::error::printStack
  #1
New Member
 
Upuli
Join Date: Feb 2016
Posts: 23
Rep Power: 2
upuli is on a distinguished road
Dear members
I developed a new solver based on reactingFoam. It was compiled without errors. But when the case was prepared and run It gave the following error. Can someone please help me to solve this.

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : myreactingFoam
Date : May 12 2016
Time : 07:54:22
Host : "niranjan-To-be-filled-by-O-E-M"
PID : 3627
Case : /home/niranjan/OpenFOAM/niranjan-2.3.0/run/particle
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0


Reading g
Reading physicalProperties

Reading field rho

Reading field p

Reading field U

Reading field k

Reading field epsilon

Reading field alphat

Reading/calculating face flux field phi

Creating field dpdt

Creating field kinetic energy K

Reading field G

Reading field Tg

Reading field Ts

Reading field mMoisture

Reading field mcellulose

Reading field mhemicellulose

Reading field mlignin

Reading field mWood

Reading field mchar

Reading field mash

Reading field mO2

Reading field mH2

Reading field mCO2

Reading field mCO

Reading field mH2O

Reading field mCH4

Reading field mN2

No finite volume options present

#0 Foam::error:rintStack(Foam::Ostream&) at ~/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/printStack.C:221
#1 Foam::sigFpe::sigHandler(int) at ~/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/signals/sigFpe.C:108
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ~/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/fields/Fields/scalarField/scalarField.C:114
#4 Foam:perator/(Foam::UList<double> const&, Foam::UList<double> const&) at ~/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/fields/Fields/scalarField/scalarField.C:114
#5
at ~/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude/compressibleCourantNo.H:41
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7
in "/home/niranjan/OpenFOAM/niranjan-2.3.0/platforms/linux64GccDPDebug/bin/myreactingFoam"
Floating point exception (core dumped)
upuli is offline   Reply With Quote

Old   May 11, 2016, 23:17
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 180
Rep Power: 4
Antimony is on a distinguished road
Hi,

The error message indicates that it is a floating point exception. I am tempted to say that this is because you are dividing by zero somewhere in your initial calculations.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   May 12, 2016, 01:29
Default
  #3
New Member
 
Upuli
Join Date: Feb 2016
Posts: 23
Rep Power: 2
upuli is on a distinguished road
Hi

Thank You Very Much
I solved the problem. Some boundary field values were set to zero. I corrected the mistake.
upuli 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent Adjoint Solver? ex10148 FLUENT 15 July 21, 2015 01:13
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 09:52
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03
3d vof Smaras FLUENT 2 February 19, 2013 07:58
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


All times are GMT -4. The time now is 01:40.