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

Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel

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

Like Tree11Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2013, 15:19
Default
  #21
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 296
Rep Power: 11
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Hi Gschaider and Bruno,
I have problems solving my case in parallel. my case doesn't have any problems solving in serial.
Here is what i get when I am trying to solve it in parallel:
(FYI: Ubuntu 12.10, OF 2.1, simpleFoam)

Quote:
[0] #0 [1] #0 [2] Foam::error:: printStack(Foam::Ostream&)Foam::error:: printStack(Foam::Ostream&)#0 Foam::error:: printStack(Foam::Ostream&) at ??:?
[0] #1 Foam::sigFpe::sigHandler(int) at ??:?
[2] #1 Foam::sigFpe::sigHandler(int) at ??:?
[1] #1 Foam::sigFpe::sigHandler(int) at ??:?
[0] #2 at ??:?
[2] # at ??:?
[1] #2 2 in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #3 Foam:: dILUPreconditioner::calcReciprocalD(Foam::Field<do uble>&, Foam::lduMatrix const&) in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #3 Foam:: dILUPreconditioner::calcReciprocalD(Foam::Field<do uble>&, Foam::lduMatrix const&) in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #3 Foam:: dILUPreconditioner::calcReciprocalD(Foam::Field<do uble>&, Foam::lduMatrix const&) at ??:?
[0] #4 Foam:: dILUPreconditioner:: dILUPreconditioner(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[2] #4 Foam:: dILUPreconditioner:: dILUPreconditioner(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[1] #4 Foam:: dILUPreconditioner:: dILUPreconditioner(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[0] #5 Foam::lduMatrix:: preconditioner::addasymMatrixConstructorToTable<Fo am:: dILUPreconditioner>::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[2] #5 Foam::lduMatrix:: preconditioner::addasymMatrixConstructorToTable<Fo am:: dILUPreconditioner>::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[1] #5 Foam::lduMatrix:: preconditioner::addasymMatrixConstructorToTable<Fo am:: dILUPreconditioner>::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[0] #6 Foam::lduMatrix:: preconditioner::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[1] #6 Foam::lduMatrix:: preconditioner::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[2] #6 Foam::lduMatrix:: preconditioner::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[0] #7 Foam:: pBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[1] #7 Foam:: pBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[2] #7 Foam:: pBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[1] #8 Foam::fvMatrix<double>::solve(Foam:: dictionary const&) at ??:?
[0] #8 Foam::fvMatrix<double>::solve(Foam:: dictionary const&) at ??:?
[2] #8 Foam::fvMatrix<double>::solve(Foam:: dictionary const&) at ??:?
[0] #9 Foam::fvMatrix<double>::solve() at ??:?
[1] #9 Foam::fvMatrix<double>::solve() at ??:?
[2] #9 Foam::fvMatrix<double>::solve() at ??:?
[2] #10 Foam::lduMatrix::solverPerformance Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:?
[1] #10 Foam::lduMatrix::solverPerformance Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:?
[0] #10 Foam::lduMatrix::solverPerformance Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:?
[2] #11 Foam::incompressible::RASModels::kEpsilon::correct () at ??:?
[1] #11 Foam::incompressible::RASModels::kEpsilon::correct () at ??:?
[0] #11 Foam::incompressible::RASModels::kEpsilon::correct () at ??:?
[1] #12 at ??:?
[2] #12 at ??:?
[0] #12

[2] at ??:?
[2] #13 __libc_start_main[1] at ??:?
[1] #13 __libc_start_main
in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #14 in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #14 [0] at ??:?
[0] #13 __libc_start_main

in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #14[2] at ??:?
[onixa-Aspire-V3-571G:17077] *** Process received signal ***
[onixa-Aspire-V3-571G:17077] Signal: Floating point exception (8)
[onixa-Aspire-V3-571G:17077] Signal code: (-6)
[onixa-Aspire-V3-571G:17077] Failing at address: 0x3e8000042b5
[1] at ??:?
[onixa-Aspire-V3-571G:17076] *** Process received signal ***
[onixa-Aspire-V3-571G:17076] Signal: Floating point exception (8)
[onixa-Aspire-V3-571G:17076] Signal code: (-6)
[onixa-Aspire-V3-571G:17076] Failing at address: 0x3e8000042b4
[onixa-Aspire-V3-571G:17076] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f9bbd9814a0]
[onixa-Aspire-V3-571G:17076] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f9bbd981425]
[onixa-Aspire-V3-571G:17076] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f9bbd9814a0]
[onixa-Aspire-V3-571G:17076] [ 3] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18DILUPreconditioner15calcR eciprocalDERNS_5FieldIdEERKNS_9lduMatrixE+0xa3) [0x7f9bbe9ed293]
[onixa-Aspire-V3-571G:17076] [ 4] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18DILUPreconditionerC2ERKNS _9lduMatrix6solverERKNS_10dictionaryE+0x66) [0x7f9bbe9ed3e6]
[onixa-Aspire-V3-571G:17076] [ 5] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam9lduMatrix14preconditioner3 1addasymMatrixConstructorToTableINS_18DILUPrecondi tionerEE3NewERKNS0_6solverERKNS_10dictionaryE+0x3c ) [0x7f9bbe9ed54c]
[onixa-Aspire-V3-571G:17076] [ 6] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam9lduMatrix14preconditioner3 NewERKNS0_6solverERKNS_10dictionaryE+0x312) [0x7f9bbe9e2202]
[onixa-Aspire-V3-571G:17076] [ 7] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdE ERKS2_h+0x60a) [0x7f9bbe9e656a]
[onixa-Aspire-V3-571G:17076] [ 8] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS _10dictionaryE+0x10b) [0x7f9bbfb2badb]
[onixa-Aspire-V3-571G:17076] [ 9] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam8fvMatrixIdE 5solveEv+0x91) [0x7f9bc0801911]
[onixa-Aspire-V3-571G:17076] [10] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam5solveIdEENS _9lduMatrix17solverPerformanceERKNS_3tmpINS_8fvMat rixIT_EEEE+0x2c) [0x7f9bc08019ec]
[onixa-Aspire-V3-571G:17076] [11] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible9RASModels8kEpsilon7correctEv+0x3f2) [0x7f9bc07fd202]
[onixa-Aspire-V3-571G:17076] [12] simpleFoam() [0x41fc7a]
[onixa-Aspire-V3-571G:17076] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f9bbd96c76d]
[onixa-Aspire-V3-571G:17076] [14] simpleFoam() [0x421e8d]
[onixa-Aspire-V3-571G:17076] *** End of error message ***
[onixa-Aspire-V3-571G:17077] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f24953ea4a0]
[onixa-Aspire-V3-571G:17077] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f24953ea425]
[onixa-Aspire-V3-571G:17077] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f24953ea4a0]
[onixa-Aspire-V3-571G:17077] [ 3] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18DILUPreconditioner15calcR eciprocalDERNS_5FieldIdEERKNS_9lduMatrixE+0xa3) [0x7f2496456293]
[onixa-Aspire-V3-571G:17077] [ 4] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18DILUPreconditionerC2ERKNS _9lduMatrix6solverERKNS_10dictionaryE+0x66) [0x7f24964563e6]
[onixa-Aspire-V3-571G:17077] [ 5] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam9lduMatrix14preconditioner3 1addasymMatrixConstructorToTableINS_18DILUPrecondi tionerEE3NewERKNS0_6solverERKNS_10dictionaryE+0x3c ) [0x7f249645654c]
[onixa-Aspire-V3-571G:17077] [ 6] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam9lduMatrix14preconditioner3 NewERKNS0_6solverERKNS_10dictionaryE+0x312) [0x7f249644b202]
[onixa-Aspire-V3-571G:17077] [ 7] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdE ERKS2_h+0x60a) [0x7f249644f56a]
[onixa-Aspire-V3-571G:17077] [ 8] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS _10dictionaryE+0x10b) [0x7f2497594adb]
[onixa-Aspire-V3-571G:17077] [ 9] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam8fvMatrixIdE 5solveEv+0x91) [0x7f249826a911]
[onixa-Aspire-V3-571G:17077] [10] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam5solveIdEENS _9lduMatrix17solverPerformanceERKNS_3tmpINS_8fvMat rixIT_EEEE+0x2c) [0x7f249826a9ec]
[onixa-Aspire-V3-571G:17077] [11] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible9RASModels8kEpsilon7correctEv+0x3f2) [0x7f2498266202]
[onixa-Aspire-V3-571G:17077] [12] simpleFoam() [0x41fc7a]
[onixa-Aspire-V3-571G:17077] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f24953d576d]
[onixa-Aspire-V3-571G:17077] [14] simpleFoam() [0x421e8d]
[onixa-Aspire-V3-571G:17077] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 17076 on node onixa-Aspire-V3-571G exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
Thank you.
Mojtaba.a is offline   Reply With Quote

Old   March 11, 2013, 18:12
Default
  #22
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,127
Rep Power: 45
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Mojtaba.a View Post
Hi Gschaider and Bruno,
I have problems solving my case in parallel. my case doesn't have any problems solving in serial.
Here is what i get when I am trying to solve it in parallel:
(FYI: Ubuntu 12.10, OF 2.1, simpleFoam)



Thank you.
Don't know why you're addressing me about this. It doesn't fall into my field of expertise.

Looks like k is 0 somewhere. Check k and epsilon in the decomposed cases. See if the tutorial cases for simpleFoam fail in the same way. If they don't check what is different to your case

That is all I can say about this
wyldckat, Mojtaba.a and Gerhard like this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   March 11, 2013, 18:15
Default
  #23
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,957
Blog Entries: 43
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by Mojtaba.a View Post
Hi Gschaider and Bruno,
I have problems solving my case in parallel. my case doesn't have any problems solving in serial.
Here is what i get when I am trying to solve it in parallel:
(FYI: Ubuntu 12.10, OF 2.1, simpleFoam)
What are the boundary conditions, "fvSchemes", "fvSolution" and "controlDict" you are using for your case?
Mojtaba.a likes this.
__________________
wyldckat is offline   Reply With Quote

Old   March 12, 2013, 04:15
Default
  #24
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 296
Rep Power: 11
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by gschaider View Post
Don't know why you're addressing me about this. It doesn't fall into my field of expertise.

Looks like k is 0 somewhere. Check k and epsilon in the decomposed cases. See if the tutorial cases for simpleFoam fail in the same way. If they don't check what is different to your case

That is all I can say about this
Thank you gschaider, I will try that.
right now I think you are right in someways. here are my K and epsilon boundary conditions:

For Processor0:

k
Quote:
velocity_inlet.2
{
type fixedValue;
value uniform 1;
}
epsilon
Quote:
velocity_inlet.2
{
type fixedValue;
value uniform 1;
}
For Processor1:

k
Quote:
velocity_inlet.2
{
type fixedValue;
value nonuniform 0();
}
epsilon
Quote:
velocity_inlet.2
{
type fixedValue;
value nonuniform 0();
}
Quote:
Originally Posted by wyldckat View Post
What are the boundary conditions, "fvSchemes", "fvSolution" and "controlDict" you are using for your case?
Dear bruno here are my "fvSchemes", "fvSolution" and "controlDict":

controlDict
Quote:
application simpleFoam;

startFrom latestTime;

startTime 0;

stopAt endTime;

endTime 10000;

deltaT 1;

writeControl timeStep;

writeInterval 50;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression off;

timeFormat general;

timePrecision 6;

runTimeModifiable true;

libs (
"libOpenFOAM.so"
"libsimpleSwakFunctionObjects.so"
"libswakFunctionObjects.so"
"libgroovyBC.so"
);
fvSchemes
Quote:
ddtSchemes
{
default steadyState;
}

gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
grad(U) Gauss linear;
}

divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,R) Gauss upwind;
div(R) Gauss linear;
div(phi,nuTilda) Gauss upwind;
div((nuEff*dev(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
default none;
laplacian(nuEff,U) Gauss linear corrected;
laplacian((1|A(U)),p) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DREff,R) Gauss linear corrected;
laplacian(DnuTildaEff,nuTilda) Gauss linear corrected;
}

interpolationSchemes
{
default linear;
interpolate(U) linear;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default no;
p ;
}
fvSolution
Quote:
solvers
{
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.01;
}

U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

R
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

nuTilda
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
}

SIMPLE
{
nNonOrthogonalCorrectors 0;

residualControl
{
p 1e-2;
U 1e-3;
"(k|epsilon|omega)" 1e-3;
}
}

relaxationFactors
{
fields
{
p 0.3;
}
equations
{
U 0.7;
k 0.7;
epsilon 0.7;
R 0.7;
nuTilda 0.7;
}
}
Thank you in advance.
Mojtaba.a is offline   Reply With Quote

Old   March 18, 2013, 17:56
Default
  #25
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,957
Blog Entries: 43
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
@Mojtaba: Unfortunately, this isn't enough information. Without knowing more about the complete information about the "k" and "epsilon" fields, it's almost impossible to diagnose what might be wrong.

In addition, it could be related to:
  • The mesh, if it has bad cells/faces, which are somehow handled OK in serial, but not in parallel. To check this, run:
    Code:
    checkMesh -allTopology -allGeometry
  • Having cyclic patches can lead to issues as well, specially in parallel.
  • Knowing what was the output right before the crash, can tell a lot about the error itself!


As for the following line:
Code:
value           nonuniform 0();
This is normal in decomposed cases. It indicates an empty list of values, because this patch is not present in this processor.


Best regards,
Bruno
Mojtaba.a likes this.
__________________
wyldckat is offline   Reply With Quote

Old   March 19, 2013, 10:02
Default
  #26
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 296
Rep Power: 11
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by wyldckat View Post
@Mojtaba: Unfortunately, this isn't enough information. Without knowing more about the complete information about the "k" and "epsilon" fields, it's almost impossible to diagnose what might be wrong.

In addition, it could be related to:
  • The mesh, if it has bad cells/faces, which are somehow handled OK in serial, but not in parallel. To check this, run:
    Code:
    checkMesh -allTopology -allGeometry
  • Having cyclic patches can lead to issues as well, specially in parallel.
  • Knowing what was the output right before the crash, can tell a lot about the error itself!


As for the following line:
Code:
value           nonuniform 0();
This is normal in decomposed cases. It indicates an empty list of values, because this patch is not present in this processor.


Best regards,
Bruno
Thank you so much bruno,
well I tried checkMesh utility before and I got no error. everything was fine. but while I was trying to solve the case, k & epsilon residuals had some strange behaviors. so I tried decreasing relaxation factors from 0.7 to 0.3 for both of them and it solved the problem.
anyway thanks, I didn't know about cyclic patches and 0 values in decomposed cases.

Bests
mojtaba
wyldckat and Mehdi Rami like this.
Mojtaba.a is offline   Reply With Quote

Old   August 5, 2013, 10:24
Default
  #27
New Member
 
M Bay
Join Date: Jun 2013
Location: Germany
Posts: 10
Rep Power: 8
mbay101 is on a distinguished road
Hi everybody,

I m having as it seems the same Probleme . I m using chtMultiRegionSimpleFoam in OP 2.2.0 to simulate a solid Region and a Fluid Region Tempratur Transfer. The Boundary Condition were taking from the OF example HeatTransfert and i did the same with the Files in system. I m using Salome to create my mesh after that i use mappedWall in Boundary to connect the Region.

Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 
at sigaction.c:0
#3 Foam::polyMeshTetDecomposition::findFaceBasePts(Foam::polyMesh const&, double, bool) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 Foam::polyMesh::tetBasePtIs() const in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5 Foam::mappedPatchBase::facePoints(Foam::polyPatch const&) const in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libmeshTools.so"
#6 Foam::mappedPatchBase::calcMapping() const in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libmeshTools.so"
#7 void Foam::mappedPatchBase::distribute<double>(Foam::List<double>&) const in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#8 Foam::compressible::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs() in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libcompressibleTurbulenceModel.so"
#9 Foam::mixedFvPatchField<double>::evaluate(Foam::UPstream::commsTypes) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#10 Foam::mixedEnergyFvPatchScalarField::updateCoeffs() in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so"
#11 Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
#12 
in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
#13 
in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
#14 __libc_start_main in "/lib64/libc.so.6"
#15 
in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
./solve: line 5: 10011 Segmentation fault (core dumped) chtMultiRegionSimpleFoam
I attached to this message my system and my 0 directory.
Please!! Please!! take a look at them and if you have any idea what so ever that can help me understand the reason then please shared with me.

In working a Project and i don t have any support from my Team. This is my only option for me to get same Tipps and Help.

Thank you!!
best Regards
Attached Files
File Type: zip 0.zip (4.4 KB, 15 views)
File Type: zip system.zip (6.4 KB, 16 views)

Last edited by wyldckat; August 17, 2013 at 09:16. Reason: Added [CODE][/CODE]
mbay101 is offline   Reply With Quote

Old   August 19, 2013, 12:42
Default Problem in parallel running..
  #28
Member
 
Alpesh Vora
Join Date: Jan 2011
Location: Cottbus, Germany
Posts: 47
Rep Power: 11
alvora is on a distinguished road
Hello everyone,

I implemented multiregion solver with new boundary condition..
But, I have problems solving my case in parallel. my case doesn't have any problems solving in serial.
Here is what I got when I was trying to solve in parallel...

Code:
[6] #0  Foam::error::printStack(Foam::Ostream&)[5] #0  Foam::error::printStack(Foam::Ostream&) in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
 in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
[5] #1  Foam::sigSegv::sigHandler(int)[6] #1  Foam::sigSegv::sigHandler(int) in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
 in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
[5] #2  [6] #2  __restore_rt__restore_rt at sigaction.c:0
[6] #3  Foam::thermionicFieldEmissionFvPatchScalarField::updateCoeffs() at sigaction.c:0
[5] #3  Foam::thermionicFieldEmissionFvPatchScalarField::updateCoeffs() in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libcompressibleTurbulenceModel.so"
[6] #4   in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libcompressibleTurbulenceModel.so"
[5] #4  Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&)Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[6] #5  Foam::fv::gaussConvectionScheme<double>::fvmDiv(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[5] #5  Foam::fv::gaussConvectionScheme<double>::fvmDiv(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libfiniteVolume.so"
 in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libfiniteVolume.so"
[5] #6  [6] #6  Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::div<double>(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&)Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::div<double>(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[5] #7   in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[6] #7  mainmain in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[6] #8  __libc_start_main in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[5] #8  __libc_start_main in "/lib64/libc.so.6"
 in "/lib64/libc.so.6"
[6] #9  [5] #9  Foam::regIOobject::writeObject(Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) constFoam::regIOobject::writeObject(Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
 in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
./start_calc.sh: line 3: 18701 Segmentation fault      TestingFoam -case $PWD -parallel > output.txt
PSIlogger: Child with rank 5 exited with status 139.
./start_calc.sh: line 3: 18698 Segmentation fault      TestingFoam -case $PWD -parallel > output.txt
PSIlogger: Child with rank 6 exited with status 139.
Error seems to be similar as discussed in this thread, so I posted here with a hope to get some reply.

Kind Regards

Last edited by wyldckat; August 19, 2013 at 13:44. Reason: Added [CODE][/CODE]
alvora is offline   Reply With Quote

Old   August 25, 2013, 08:45
Default
  #29
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,957
Blog Entries: 43
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

mbay101's problem is being addressed here: http://www.cfd-online.com/Forums/ope...egionfoam.html


@alvora: You're not providing enough information to work with. It could be due to bad schemes, bad mesh, bad decomposition, bad boundary conditions...
Please provide more information about your case, as explained here: How to give enough info to get help

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 29, 2014, 23:02
Smile
  #30
New Member
 
Carl Liu
Join Date: Apr 2014
Posts: 3
Rep Power: 7
gohome is on a distinguished road
Quote:
Originally Posted by Mojtaba.a View Post
Thank you so much bruno,
well I tried checkMesh utility before and I got no error. everything was fine. but while I was trying to solve the case, k & epsilon residuals had some strange behaviors. so I tried decreasing relaxation factors from 0.7 to 0.3 for both of them and it solved the problem.
anyway thanks, I didn't know about cyclic patches and 0 values in decomposed cases.

Bests
mojtaba
“I tried decreasing relaxation factors from 0.7 to 0.3 for both of them and it solved the problem”

Similar problem happens in my case (ubuntu 12.04, OF 230, pimpleDyMFoam/propeller). It also solved my problem!
Thank you so much!
gohome is offline   Reply With Quote

Old   May 19, 2016, 16:38
Default The costume code works in serial mode but not in parallel
  #31
New Member
 
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 29
Rep Power: 11
ehsan_am86 is on a distinguished road
Hi everyone,

I am experiencing the same bug which was discussed earlier here but I could not manage to overcome the floating bus in parallel.

In fact, I have recently developed my solver (Add a class to original twoPhaseEulerFoam (populationBalance class) in OF 2.3.0). My solver works in serial mode properly but when I want to use that with mpirun or mpiexec it is crashed. Any idea or comments for debugging, even short ones will be pretty much useful and appreciated. Thanks in advance.

P.S: This is short version of log file (complete one is attached):

Code:
[10]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26984] *** Process received signal ***
[cp0233:26984] Signal: Floating point exception (8)
[cp0233:26984] Signal code:  (-6)
[cp0233:26984] Failing at address: 0x2e5f5200006968
[cp0233:26984] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26984] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26984] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26984] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b2df41df6a8]
[cp0233:26984] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b2df2dc6e2f]
[cp0233:26984] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26984] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26984] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b2df1ea287b]
[cp0233:26984] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26984] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26984] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26984] *** End of error message ***

[8]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26982] *** Process received signal ***
[cp0233:26982] Signal: Floating point exception (8)
[cp0233:26982] Signal code:  (-6)
[cp0233:26982] Failing at address: 0x2e5f5200006966
[cp0233:26982] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26982] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26982] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26982] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b4704ab96a8]
[cp0233:26982] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b47036a0e2f]
[cp0233:26982] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26982] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26982] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b470277c87b]
[cp0233:26982] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26982] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26982] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26982] *** End of error message ***
[22]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26996] *** Process received signal ***
[cp0233:26996] Signal: Floating point exception (8)
[cp0233:26996] Signal code:  (-6)
[cp0233:26996] Failing at address: 0x2e5f5200006974
[cp0233:26996] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26996] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26996] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26996] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2ad914abd6a8]
[cp0233:26996] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2ad9136a4e2f]
[cp0233:26996] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26996] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26996] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2ad91278087b]
[cp0233:26996] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26996] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26996] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26996] *** End of error message ***
[16]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26990] *** Process received signal ***
[cp0233:26990] Signal: Floating point exception (8)
[cp0233:26990] Signal code:  (-6)
[cp0233:26990] Failing at address: 0x2e5f520000696e
[cp0233:26990] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26990] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26990] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26990] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b6109d8f6a8]
[cp0233:26990] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b6108976e2f]
[cp0233:26990] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26990] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26990] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b6107a5287b]
[cp0233:26990] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26990] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26990] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26990] *** End of error message ***
[19]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26993] *** Process received signal ***
[cp0233:26993] Signal: Floating point exception (8)
[cp0233:26993] Signal code:  (-6)
[cp0233:26993] Failing at address: 0x2e5f5200006971
[cp0233:26993] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26993] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26993] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26993] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b63ca79b6a8]
[cp0233:26993] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b63c9382e2f]
[cp0233:26993] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26993] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26993] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b63c845e87b]
[cp0233:26993] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26993] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26993] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26993] *** End of error message ***
[6]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26980] *** Process received signal ***
[cp0233:26980] Signal: Floating point exception (8)
[cp0233:26980] Signal code:  (-6)
[cp0233:26980] Failing at address: 0x2e5f5200006964
[cp0233:26980] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26980] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26980] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26980] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b31916f46a8]
[cp0233:26980] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b31902dbe2f]
[cp0233:26980] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26980] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26980] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b318f3b787b]
[cp0233:26980] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26980] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26980] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26980] *** End of error message ***
[3]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26977] *** Process received signal ***
[cp0233:26977] Signal: Floating point exception (8)
[cp0233:26977] Signal code:  (-6)
[cp0233:26977] Failing at address: 0x2e5f5200006961
[cp0233:26977] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26977] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26977] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26977] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b309cb346a8]
[cp0233:26977] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b309b71be2f]
[cp0233:26977] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26977] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26977] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b309a7f787b]
[cp0233:26977] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26977] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26977] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26977] *** End of error message ***
[20]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26994] *** Process received signal ***
[cp0233:26994] Signal: Floating point exception (8)
[cp0233:26994] Signal code:  (-6)
[cp0233:26994] Failing at address: 0x2e5f5200006972
[cp0233:26994] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26994] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26994] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26994] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2ab939a6d6a8]
[cp0233:26994] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2ab938654e2f]
[cp0233:26994] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26994] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26994] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2ab93773087b]
[cp0233:26994] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26994] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26994] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26994] *** End of error message ***
--------------------------------------------------------------------------
mpiexec noticed that process rank 5 with PID 26979 on node cp0233 exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
[cp0233:26973] 23 more processes have sent help message help-mpi-runtime.txt / mpi_init:warn-fork
[cp0233:26973] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
Attached Files
File Type: txt logfile.txt (62.1 KB, 3 views)
ehsan_am86 is offline   Reply With Quote

Old   May 24, 2016, 03:37
Post Foam::error::printStack(Foam::Ostream&) at ??:?
  #32
Member
 
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 6
AJAY BHANDARI is on a distinguished road
HI all,

I think my post best fits here. I am getting the same error as above posts. My solver is compiling with no error but when i am solving my case with the solver this error comes..

#0 Foam::error:rintStack(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 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<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 ??:?
#6 ? at ??:?
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8 ? at ??:?
Floating point exception (core dumped)

THe equation that i am solving is


solve
(
fvm::ddt(C)
+ (1/por)*fvm::div(phi, C)
- fvm::laplacian(D, C)
+ fvm::Sp((1/por)*(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))/((Foam::exp((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl)/ktrans))-1)), C)
+ fvm::Sp((lfc/por)*(p-lp), C)
+ fvm::Sp((krel/por), C)
==
(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))*Cp) + (Cp*(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))/((Foam::exp((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl)/ktrans))-1)))

);
I know that sigFpe error comes because of 0/0 form but i have checked all my variables.
I am not able to find error. Any help will be appreciated. Any further information needed kindly tell.

Regards
Ajay
AJAY BHANDARI is offline   Reply With Quote

Old   May 24, 2016, 10:52
Default
  #33
New Member
 
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 29
Rep Power: 11
ehsan_am86 is on a distinguished road
Hi AJAY,

Do you have same error in serial mode or just in parallel mode?

Quote:
Originally Posted by AJAY BHANDARI View Post
HI all,

I think my post best fits here. I am getting the same error as above posts. My solver is compiling with no error but when i am solving my case with the solver this error comes..

#0 Foam::error:rintStack(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 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<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 ??:?
#6 ? at ??:?
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8 ? at ??:?
Floating point exception (core dumped)

THe equation that i am solving is


solve
(
fvm::ddt(C)
+ (1/por)*fvm::div(phi, C)
- fvm::laplacian(D, C)
+ fvm::Sp((1/por)*(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))/((Foam::exp((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl)/ktrans))-1)), C)
+ fvm::Sp((lfc/por)*(p-lp), C)
+ fvm::Sp((krel/por), C)
==
(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))*Cp) + (Cp*(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))/((Foam::exp((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl)/ktrans))-1)))

);
I know that sigFpe error comes because of 0/0 form but i have checked all my variables.
I am not able to find error. Any help will be appreciated. Any further information needed kindly tell.

Regards
Ajay
ehsan_am86 is offline   Reply With Quote

Old   May 24, 2016, 13:14
Smile
  #34
Member
 
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 6
AJAY BHANDARI is on a distinguished road
Thanks ehsan for your quick reply. But i was able to solve it today.

Actually in my code the variable orl value was wrongly input by me as 1 which made the denominator term zero. thats why sigFpe error was coming.

But i corrected it and solver ran successfully. But thanks for your reply...
AJAY BHANDARI is offline   Reply With Quote

Old   May 24, 2016, 13:30
Default
  #35
New Member
 
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 29
Rep Power: 11
ehsan_am86 is on a distinguished road
You are welcome,

So it means that your code was in serial mode?

I asked if it is in serial or parallel mode because I have the same bug as u had.

But the strange thing for this is the fact that, my costume solver works properly in serial mode but it does not work in parallel mode (please see my last post above) and after few iterations it is stopped.



Quote:
Originally Posted by AJAY BHANDARI View Post
Thanks ehsan for your quick reply. But i was able to solve it today.

Actually in my code the variable orl value was wrongly input by me as 1 which made the denominator term zero. thats why sigFpe error was coming.

But i corrected it and solver ran successfully. But thanks for your reply...
ehsan_am86 is offline   Reply With Quote

Old   April 29, 2018, 14:06
Default The costume code works in serial mode but not in parallel
  #36
gu1
Senior Member
 
Guilherme
Join Date: Apr 2017
Posts: 155
Rep Power: 4
gu1 is on a distinguished road
"The costume code works in serial mode but not in parallel"

I'm having the same problem to run problems in parallel. Would anyone know the source of this error ?!

Error:
Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 5.x-197d9d3bf20a
Exec   : simpleFoam -parallel
Date   : Apr 29 2018
Time   : 14:00:07
Host   : "user"
PID    : 5944
I/O    : uncollated
Case   : /home/user/RUN/mesh_RANS/teste
nProcs : 6
Slaves : 
5
(
"user.5945"
"user.5946"
"user.5947"
"user.5948"
"user.5949"
)

Pstream initialized with:
    floatTransfer      : 0
    nProcsSimpleSum    : 0
    commsType          : nonBlocking
    polling iterations : 0
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


SIMPLE: convergence criteria
    field p	 tolerance 1e-08
    field U	 tolerance 1e-07
    field k	 tolerance 1e-07

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kOmegaSST
Selecting patchDistMethod meshWave
RAS
{
    RASModel        kOmegaSST;
    turbulence      on;
    printCoeffs     on;
    alphaK1         0.85;
    alphaK2         1;
    alphaOmega1     0.5;
    alphaOmega2     0.856;
    gamma1          0.555556;
    gamma2          0.44;
    beta1           0.075;
    beta2           0.0828;
    betaStar        0.09;
    a1              0.31;
    b1              1;
    c1              10;
    F3              false;
}

No MRF models present

Creating finite volume options from "constant/fvOptions"

Selecting finite volume options model type meanVelocityForce
    Source: momentumSource
    - selecting all cells
    - selected 37485 cell(s) with volume 6.39912e-06
    Initial pressure gradient = 0


Starting time loop

[0] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[0] #1  Foam::sigFpe::sigHandler(int) at ??:?
[0] #2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #3  Foam::polyMeshTetDecomposition::findSharedBasePoint(Foam::polyMesh const&, int, Foam::Vector<double> const&, double, bool) at ??:?
[0] #4  Foam::polyMeshTetDecomposition::findFaceBasePts(Foam::polyMesh const&, double, bool) at ??:?
[0] #5  Foam::polyMesh::tetBasePtIs() const at ??:?
[0] #6  Foam::polyMesh::findCell(Foam::Vector<double> const&, Foam::polyMesh::cellDecomposition) const at ??:?
[0] #7  Foam::probes::findElements(Foam::fvMesh const&) at ??:?
[0] #8  Foam::probes::read(Foam::dictionary const&) at ??:?
[0] #9  Foam::probes::probes(Foam::word const&, Foam::Time const&, Foam::dictionary const&) at ??:?
[0] #10  Foam::functionObject::adddictionaryConstructorToTable<Foam::probes>::New(Foam::word const&, Foam::Time const&, Foam::dictionary const&) at ??:?
[0] #11  Foam::functionObject::New(Foam::word const&, Foam::Time const&, Foam::dictionary const&) at ??:?
[0] #12  Foam::functionObjects::timeControl::timeControl(Foam::word const&, Foam::Time const&, Foam::dictionary const&) at ??:?
[0] #13  Foam::functionObjectList::read() at ??:?
[0] #14  Foam::Time::loop() at ??:?
[0] #15  Foam::simpleControl::loop() at ??:?
[0] #16  ? at ??:?
[0] #17  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #18  ? at ??:?
[user:05944] *** Process received signal ***
[user:05944] Signal: Floating point exception (8)
[user:05944] Signal code:  (-6)
[user:05944] Failing at address: 0x3e800001738
[user:05944] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7f6d861584b0]
[user:05944] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f6d86158428]
[user:05944] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7f6d861584b0]
[user:05944] [ 3] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam24polyMeshTetDecomposition19findSharedBasePointERKNS_8polyMeshEiRKNS_6VectorIdEEdb+0x193)[0x7f6d875763d3]
[user:05944] [ 4] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam24polyMeshTetDecomposition15findFaceBasePtsERKNS_8polyMeshEdb+0x36b)[0x7f6d8757918b]
[user:05944] [ 5] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam8polyMesh11tetBasePtIsEv+0x109)[0x7f6d875947f9]
[user:05944] [ 6] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam8polyMesh8findCellERKNS_6VectorIdEENS0_17cellDecompositionE+0xd5)[0x7f6d875954d5]
[user:05944] [ 7] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libsampling.so(_ZN4Foam6probes12findElementsERKNS_6fvMeshE+0x100)[0x7f6d87bd1660]
[user:05944] [ 8] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libsampling.so(_ZN4Foam6probes4readERKNS_10dictionaryE+0x182)[0x7f6d87bd3062]
[user:05944] [ 9] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libsampling.so(_ZN4Foam6probesC2ERKNS_4wordERKNS_4TimeERKNS_10dictionaryE+0x343)[0x7f6d87bd39f3]
[user:05944] [10] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libsampling.so(_ZN4Foam14functionObject31adddictionaryConstructorToTableINS_6probesEE3NewERKNS_4wordERKNS_4TimeERKNS_10dictionaryE+0x32)[0x7f6d87beb522]
[user:05944] [11] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam14functionObject3NewERKNS_4wordERKNS_4TimeERKNS_10dictionaryE+0x52c)[0x7f6d873b85cc]
[user:05944] [12] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam15functionObjects11timeControlC1ERKNS_4wordERKNS_4TimeERKNS_10dictionaryE+0x24a)[0x7f6d873cbfba]
[user:05944] [13] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam18functionObjectList4readEv+0xab6)[0x7f6d873bbcd6]
[user:05944] [14] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam4Time4loopEv+0x115)[0x7f6d873d0625]
[user:05944] [15] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam13simpleControl4loopEv+0x14d)[0x7f6d89bb3afd]
[user:05944] [16] simpleFoam[0x423a26]
[user:05944] [17] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f6d86143830]
[user:05944] [18] simpleFoam[0x426fe9]
[user:05944] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 5944 on node user exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
Attached Files
File Type: txt checkMesh.txt (3.7 KB, 5 views)
File Type: txt decomposePar.txt (4.0 KB, 5 views)

Last edited by wyldckat; April 30, 2018 at 08:56. Reason: Replaced Ubuntu Pastebin for actual output
gu1 is offline   Reply With Quote

Old   April 30, 2018, 08:59
Default
  #37
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,957
Blog Entries: 43
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: My guess is that the "probes" entry in "controlDict" has positions in the wrong places. Notice that checkMesh has reported that the overall domain has around 6 mm of length in each direction.
lucb-cfd likes this.
__________________
wyldckat is offline   Reply With Quote

Old   June 3, 2018, 13:54
Default Help please
  #38
New Member
 
Join Date: Jun 2018
Posts: 1
Rep Power: 0
Abuzar Ghaffari is on a distinguished road
Hello!
I am trying to run my code and this is the error coming:
0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam:ICPreconditioner::calcReciprocalD(Foam::Fie ld<double>&, Foam::lduMatrix const&) at ??:?
#4 Foam:ICPreconditioner:ICPreconditioner(Foam::l duMatrix::solver const&, Foam::dictionary const&) at ??:?
#5 Foam::lduMatrix:reconditioner::addsymMatrixConst ructorToTable<Foam:ICPreconditioner>::New(Foam:: lduMatrix::solver const&, Foam::dictionary const&) at ??:?
#6 Foam::lduMatrix:reconditioner::New(Foam::lduMatr ix::solver const&, Foam::dictionary const&) at ??:?
#7 Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#8 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
#9 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
#10 ? at ??:?
#11 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#12 ? at ??:?
Floating point exception

can you please guide me if i send you my code?
Abuzar Ghaffari is offline   Reply With Quote

Old   August 10, 2018, 08:05
Default
  #39
New Member
 
Maheandar
Join Date: Oct 2017
Posts: 11
Rep Power: 4
Mahe512 is on a distinguished road
Hallo,

I am doing simulation in openfoam as xifoam solver. I got the same error, how I clear this error.


Thanks and expecting your favourable reply.

Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) at ??:?
#4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::sqrt<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&) at ??:?
#5 ? at ??:?
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7 ? at ??:?
<double>&, Foam::UList<double> const&) at ??:?
bash: syntax error near unexpected token `Foam::Field'
[1]+ Floating point exception(core dumped) XiFoam > Result
Mahe512 is offline   Reply With Quote

Old   August 10, 2018, 09:22
Post
  #40
Member
 
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 6
AJAY BHANDARI is on a distinguished road
Hi mahendra,


As you can see in first line terminal is showing sigFpe error.


This type of error comes when openFOAM is encountring 0/0 form somewhere in the calculations.


You need to check your variable values which you might have created in the createfields.H file. (Check there values in 0 folder).



Also, this type of error can also come when your boundary conditions are not correct. So check your BC as well on the patches.


Best
Ajay
purnp2 likes this.
AJAY BHANDARI is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SimpleFoam run in Parallel jayrup OpenFOAM 9 July 26, 2019 01:00
Script to Run Parallel Jobs in Rocks Cluster asaha OpenFOAM Running, Solving & CFD 12 July 4, 2012 23:51
Error running simpleFoam in parallel skabilan OpenFOAM Running, Solving & CFD 2 August 29, 2008 10:42
Own boundary condition modified simpleFoam erorr in parallel execution sponiar OpenFOAM Running, Solving & CFD 1 August 27, 2008 10:16
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 13:00


All times are GMT -4. The time now is 09:43.