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

New Solver error Foam::error::printStack

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2016, 23:43
Default New Solver error Foam::error::printStack
  #1
Member
 
Upuli
Join Date: Feb 2016
Posts: 68
Rep Power: 10
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 12, 2016, 00:17
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
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, 02:29
Default
  #3
Member
 
Upuli
Join Date: Feb 2016
Posts: 68
Rep Power: 10
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

Old   November 13, 2016, 20:45
Default
  #4
Member
 
Vedamt Chittlangia
Join Date: Feb 2016
Posts: 64
Rep Power: 9
vcvedant is an unknown quantity at this point
Hi Upuli,

Can you tell me what did you do to correct it?

Thanks
vcvedant is offline   Reply With Quote

Old   May 11, 2018, 02:43
Default
  #5
Member
 
Upuli
Join Date: Feb 2016
Posts: 68
Rep Power: 10
upuli is on a distinguished road
Hi

I added some small value 1e-25 to the variables which are divided by volume scalar fields.
upuli is offline   Reply With Quote

Reply


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
Fluent Adjoint Solver? ex10148 FLUENT 16 September 28, 2018 09:11
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10: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 15:08


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