|
[Sponsors] |
#0 Foam::error::printStack(Foam::Ostream&) at ??:? pimpleFoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Aarib Irfan
Join Date: Mar 2020
Posts: 18
Rep Power: 6 ![]() |
Hello everyone. I'm new to OpenFoam and I only started using it a few weeks ago. I am trying to run a simulation for propeller using pimpleFoam. I have created the mesh in snappyHexMesh however I'm getting this error when I try to run the simulation. I have tried with serial and parallel MPI and it's still giving the same error. I have attached the error code and boundary files.
Code:
PIMPLE: iteration 1 AMI: Creating addressing and weights between 151562 source faces and 150866 target faces AMI: Patch source sum(weights) min:0.950588 max:1.866 average:1.00208 AMI: Patch target sum(weights) min:0 max:1.48315 average:0.99781 smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0667175, No Iterations 1 smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 1.99836e-06, No Iterations 1 smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0680637, No Iterations 1 [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::divide(Foam::Field<double>&, double const&, Foam::UList<double> const&) at ??:? [0] #4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::dimensioned<double> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) at ??:? [0] #5 ? at ??:? [0] #6 ? in /lib/x86_64-linux-gnu/libc.so.6 [0] #7 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 [0] #8 ? at ??:? [Laptop:00875] *** Process received signal *** [Laptop:00875] Signal: Floating point exception (8) [Laptop:00875] Signal code: (-6) [Laptop:00875] Failing at address: 0x3e80000036b [Laptop:00875] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f4777e1a520] [Laptop:00875] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f4777e6e9fc] [Laptop:00875] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f4777e1a476] [Laptop:00875] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f4777e1a520] [Laptop:00875] [ 4] /opt/OpenFOAM/OpenFOAM-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKdRKNS_5UListIdEE+0xf4)[0x7f4778fc3834] [Laptop:00875] [ 5] pimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7volMeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKNS_11dimensionedIdEERKS8_+0x239)[0x4687b9] [Laptop:00875] [ 6] pimpleFoam[0x423fd1] [Laptop:00875] [ 7] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f4777e01d90] [Laptop:00875] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f4777e01e40] [Laptop:00875] [ 9] pimpleFoam[0x428e7b] [Laptop:00875] *** End of error message *** -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. Code:
6 ( walls { type wall; //inGroups 1(wall); nFaces 10000; startFace 11895687; } inlet { type patch; nFaces 2500; startFace 11905687; } outlet { type patch; nFaces 2500; startFace 11908187; } propellerTip { type wall; inGroups 1(wall); nFaces 87067; startFace 11910687; } AMI1 { type cyclicAMI; inGroups 1(cyclicAMI); nFaces 151562; startFace 11997754; matchTolerance 0.0001; transform noOrdering; neighbourPatch AMI2; AMIMethod faceAreaWeightAMI; restartUncoveredSourceFace 1; } AMI2 { type cyclicAMI; inGroups 1(cyclicAMI); nFaces 150866; startFace 12149316; matchTolerance 0.0001; transform noOrdering; neighbourPatch AMI1; AMIMethod faceAreaWeightAMI; restartUncoveredSourceFace 1; } ) |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: May 2019
Posts: 16
Rep Power: 7 ![]() |
Hi
![]() the error is a floating point exception, caused by division by 0. So most likely, somewhere in your case, there is a 0 where it shouldn't be. |
|
![]() |
![]() |
![]() |
Tags |
pimplefoam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
pimpleFoam runs slower than rhoPimpleFoam | Kosuke Seto | OpenFOAM Running, Solving & CFD | 3 | May 27, 2023 14:12 |
pimpleFoam compilation error | marcinm | OpenFOAM | 2 | February 10, 2023 09:37 |
Running pimpleFoam in steady state | trailer | OpenFOAM Running, Solving & CFD | 6 | January 24, 2023 03:07 |
pimpleFoam compilation error | marcinm | OpenFOAM | 0 | June 1, 2022 06:00 |
pisoFoam and pimpleFoam are unstable in foam-extend 4.0/4.1 (misunderstanding ?) | Kombinator | OpenFOAM Running, Solving & CFD | 4 | January 14, 2021 04:10 |