|
[Sponsors] |
Foam::error::printStack(Foam::Ostream&) at ??:? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 19, 2019, 01:15 |
Foam::error::printStack(Foam::Ostream&) at ??:?
|
#1 |
New Member
Hafiz Ahmad
Join Date: May 2019
Location: Brunei
Posts: 19
Rep Power: 7 |
Initially, I was running a solver (laminarBuoyantPimpleSMOKE - a laminarSMOKE solver) in parallel and it ran just fine so I left it overnight and found this error on the next morning:
Code:
#0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib64/libpthread.so.0" #3 log in "/lib64/libm.so.6" #4 ? at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib64/libc.so.6" #7 ? at /home/abuild/rpmbuild/BUILD/glibc-2.26/csu/../sysdeps/x86_64/start.S:122 Floating point exception (core dumped) Code:
#0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib64/libpthread.so.0" #3 log in "/lib64/libm.so.6" #4 ? at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib64/libc.so.6" #7 ? at /home/abuild/rpmbuild/BUILD/glibc-2.26/csu/../sysdeps/x86_64/start.S:122 Floating point exception (core dumped) Side Note: I've listed my *relevant* files (incl. 0 folder) for reference. decomposeParDict: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // method simple; numberOfSubdomains 16; simpleCoeffs { n ( 1 1 16 ); delta 0.001; } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object C2H4; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 0; boundaryField { fuelInlet { type fixedValue; value uniform 1; } coflowInlet { type fixedValue; value uniform 0; } lowerWall { type zeroGradient; } outlet { type inletOutlet; inletValue uniform 0; value uniform 0; } front { type empty; } back { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object N2; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 0.768; boundaryField { fuelInlet { type fixedValue; value uniform 0; } coflowInlet { type fixedValue; value uniform 0.768; } lowerWall { type zeroGradient; } outlet { type inletOutlet; inletValue uniform 0.768; value uniform 0.768; } front { type empty; } back { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object O2; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 0.232; boundaryField { fuelInlet { type fixedValue; value uniform 0; } coflowInlet { type fixedValue; value uniform 0.232; } lowerWall { type zeroGradient; } outlet { type inletOutlet; inletValue uniform 0.232; value uniform 0.232; } front { type empty; } back { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 101325.; boundaryField { fuelInlet { type calculated; value $internalField; } coflowInlet { type calculated; value $internalField; } lowerWall { type calculated; value $internalField; } outlet { type calculated; value $internalField; } front { type empty; } back { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 101325.; boundaryField { fuelInlet { type fixedFluxPressure; value $internalField; } coflowInlet { type fixedFluxPressure; value $internalField; } lowerWall { type fixedFluxPressure; value $internalField; } outlet { type fixedFluxPressure; value $internalField; } front { type empty; } back { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 300.; boundaryField { fuelInlet { type fixedValue; value uniform 300.; } coflowInlet { type fixedValue; value uniform 300.; } lowerWall { type zeroGradient; } outlet { type inletOutlet; inletValue uniform 300.; value uniform 300.; } front { type empty; } back { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object zMix; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 1 0 0 0 0]; internalField uniform 0; boundaryField { fuelInlet { type fixedValue; value uniform 0.; } coflowInlet { type fixedValue; value uniform 0; } lowerWall { type zeroGradient; } outlet { type inletOutlet; inletValue uniform 0.; value uniform 0.; } front { type empty; } back { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0.15); boundaryField { fuelInlet { type fixedValue; value uniform (0 0 0.15); } coflowInlet { type fixedValue; value uniform (0 0 0.15); } lowerWall { type fixedValue; value uniform (0 0 0); } outlet { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } front { type empty; } back { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object N2; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 0; boundaryField { fuelInlet { type fixedValue; value uniform 0; } coflowInlet { type fixedValue; value uniform 0; } lowerWall { type zeroGradient; } outlet { type inletOutlet; inletValue uniform 0.; value uniform 0.; } front { type empty; } back { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object zMix; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 0; boundaryField { fuelInlet { type fixedValue; value uniform 1.; } coflowInlet { type fixedValue; value uniform 0; } lowerWall { type zeroGradient; } outlet { type inletOutlet; inletValue uniform 0.; value uniform 0.; } front { type empty; } back { type empty; } } // ************************************************************************* // Last edited by mdhfiz; September 19, 2019 at 01:16. Reason: Clarity |
|
September 19, 2019, 10:46 |
|
#2 |
New Member
Hafiz Ahmad
Join Date: May 2019
Location: Brunei
Posts: 19
Rep Power: 7 |
Update
I've managed to run the case successfully. The problem was that U was defined in z direction so I changed it to y direction. Error still persists here though. After that I changed the boundary conditions and use pressureInletOutletVelocity for left and right boundary (making a new set of faces) and after that I managed to run it both in parallel and serial! |
|
|
|