|
[Sponsors] |
May 11, 2016, 23:43 |
New Solver error Foam::error::printStack
|
#1 |
Member
Upuli
Join Date: Feb 2016
Posts: 68
Rep Power: 10 |
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) |
|
May 12, 2016, 00:17 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
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 |
|
May 12, 2016, 02:29 |
|
#3 |
Member
Upuli
Join Date: Feb 2016
Posts: 68
Rep Power: 10 |
Hi
Thank You Very Much I solved the problem. Some boundary field values were set to zero. I corrected the mistake. |
|
November 13, 2016, 20:45 |
|
#4 |
Member
Vedamt Chittlangia
Join Date: Feb 2016
Posts: 64
Rep Power: 9 |
Hi Upuli,
Can you tell me what did you do to correct it? Thanks |
|
May 11, 2018, 02:43 |
|
#5 |
Member
Upuli
Join Date: Feb 2016
Posts: 68
Rep Power: 10 |
Hi
I added some small value 1e-25 to the variables which are divided by volume scalar fields. |
|
|
|
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 |