CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   reactingFoam running error (https://www.cfd-online.com/Forums/openfoam-solving/182714-reactingfoam-running-error.html)

tubois January 17, 2017 10:49

reactingFoam running error
 
1 Attachment(s)
I tried to set up the Tutorial Eleven reacting foam found http://www.cfd.at/downloads/2014_OFoam_Tut_Complete.pdf

I got the error as below. Can someone help me?

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1612+ |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : v1612+
Exec : reactingFoam
Date : Jan 17 2017
Time : 16:47:09
Host : "belledonne"
PID : 6002
Case : /home/gao/OpenFOAM/gao-v1612+/run/counterFlowFlame2D_v2
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0


PIMPLE: Operating solver in PISO mode

Creating reaction model

Selecting combustion model laminar<psiChemistryCombustion>
Selecting chemistry type
{
chemistrySolver EulerImplicit;
chemistryThermo psi;
}

Selecting thermodynamics package
{
type hePsiThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}

Selecting chemistryReader foamChemistryReader
elements not defined in "/home/gao/OpenFOAM/gao-v1612+/run/counterFlowFlame2D_v2/constant/reactions"
chemistryModel: Number of species = 5 and reactions = 1
using integrated reaction rate
Reading field U

Reading/calculating face flux field phi

Creating turbulence model.

Selecting turbulence model type laminar
Selecting laminar stress model Stokes
Creating field dpdt

Creating field kinetic energy K

No MRF models present

No finite volume options present

Courant Number mean: 2.99581e-08 max: 1.72209e-05

Starting time loop

Courant Number mean: 2.99581e-08 max: 1.72209e-05
deltaT = 1.2e-06
Time = 1.2e-06

diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
PIMPLE: iteration 1
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#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 ??:?
#4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) at ??:?
#5 Foam::fluidThermo::nu() const at ??:?
#6 Foam::laminarModels::Stokes<Foam::ThermalDiffusivi ty<Foam::CompressibleTurbulenceModel<Foam::fluidTh ermo> > >::nuEff() const at ??:?
#7 Foam::linearViscousStress<Foam::laminarModel<Foam: :ThermalDiffusivity<Foam::CompressibleTurbulenceMo del<Foam::fluidThermo> > > >::divDevRhoReff(Foam::GeometricField<Foam::Vector <double>, Foam::fvPatchField, Foam::volMesh>&) const at ??:?
#8 ? at ??:?
#9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10 ? at ??:?
Exception en point flottant (core dumped)

tubois January 18, 2017 05:27

The tutorial is prepared with OF 2.3.0
So I run this case with my old version OF 2.4.0 with three small adaptions, the case starts running.

So I am wondering when did OF introduce some bugs here?

Can someone help me to fix the bug? I am new to OF.


Quote:

Originally Posted by tubois (Post 633612)
I tried to set up the Tutorial Eleven reacting foam found http://www.cfd.at/downloads/2014_OFoam_Tut_Complete.pdf

I got the error as below. Can someone help me?

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1612+ |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : v1612+
Exec : reactingFoam
Date : Jan 17 2017
Time : 16:47:09
Host : "belledonne"
PID : 6002
Case : /home/gao/OpenFOAM/gao-v1612+/run/counterFlowFlame2D_v2
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0


PIMPLE: Operating solver in PISO mode

Creating reaction model

Selecting combustion model laminar<psiChemistryCombustion>
Selecting chemistry type
{
chemistrySolver EulerImplicit;
chemistryThermo psi;
}

Selecting thermodynamics package
{
type hePsiThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}

Selecting chemistryReader foamChemistryReader
elements not defined in "/home/gao/OpenFOAM/gao-v1612+/run/counterFlowFlame2D_v2/constant/reactions"
chemistryModel: Number of species = 5 and reactions = 1
using integrated reaction rate
Reading field U

Reading/calculating face flux field phi

Creating turbulence model.

Selecting turbulence model type laminar
Selecting laminar stress model Stokes
Creating field dpdt

Creating field kinetic energy K

No MRF models present

No finite volume options present

Courant Number mean: 2.99581e-08 max: 1.72209e-05

Starting time loop

Courant Number mean: 2.99581e-08 max: 1.72209e-05
deltaT = 1.2e-06
Time = 1.2e-06

diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
PIMPLE: iteration 1
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#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 ??:?
#4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) at ??:?
#5 Foam::fluidThermo::nu() const at ??:?
#6 Foam::laminarModels::Stokes<Foam::ThermalDiffusivi ty<Foam::CompressibleTurbulenceModel<Foam::fluidTh ermo> > >::nuEff() const at ??:?
#7 Foam::linearViscousStress<Foam::laminarModel<Foam: :ThermalDiffusivity<Foam::CompressibleTurbulenceMo del<Foam::fluidThermo> > > >::divDevRhoReff(Foam::GeometricField<Foam::Vector <double>, Foam::fvPatchField, Foam::volMesh>&) const at ??:?
#8 ? at ??:?
#9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10 ? at ??:?
Exception en point flottant (core dumped)


ghazal_1989 February 21, 2017 09:20

reactingFoam solver errors
 
Hi all,

As a openFoam beginner, I've run a simulation in reactingFoam and unfortunately I just got these codes with No iteration ! Is there anyone who would help me please?


.
.
.

Time = 2.46472e-05

diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
PIMPLE: iteration 1
DILUPBiCG: Solving for O2, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for H2O, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for CH4, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for CO2, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for h, Initial residual = 7.83352e-07, Final residual = 7.83352e-07, No Iterations 0
min/max(T) = 358.241, 1499.98
DICPCG: Solving for p, Initial residual = 5.76649e-07, Final residual = 5.76649e-07, No Iterations 0
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 7.65015e-07, global = -2.09684e-17, cumulative = -0.00201457
rho max/min : 2.50857 2.33323e-06
DICPCG: Solving for p, Initial residual = 5.76649e-07, Final residual = 5.76649e-07, No Iterations 0
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 7.65015e-07, global = -2.08342e-17, cumulative = -0.00201457
rho max/min : 2.50857 2.33323e-06
ExecutionTime = 118.72 s ClockTime = 120 s

Courant Number mean: 6.95254e-05 max: 0.399999
deltaT = 9.51118e-12
Time = 2.46472e-05

diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
PIMPLE: iteration 1
DILUPBiCG: Solving for O2, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for H2O, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for CH4, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for CO2, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for h, Initial residual = 7.83341e-07, Final residual = 7.83341e-07, No Iterations 0
min/max(T) = 358.241, 1499.98
DICPCG: Solving for p, Initial residual = 5.76649e-07, Final residual = 5.76649e-07, No Iterations 0
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 7.65015e-07, global = 3.51658e-18, cumulative = -0.00201457
rho max/min : 2.50857 2.33323e-06
DICPCG: Solving for p, Initial residual = 5.76649e-07, Final residual = 5.76649e-07, No Iterations 0
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 7.65015e-07, global = 3.58657e-18, cumulative = -0.00201457
rho max/min : 2.50857 2.33323e-06
ExecutionTime = 118.77 s ClockTime = 120 s

Courant Number mean: 6.95254e-05 max: 0.399999
deltaT = 9.51119e-12
.
.
.


All times are GMT -4. The time now is 18:47.